'use client'; import { useTranslations } from 'next-intl'; import { Badge } from '@/components/ui/shared/Badge'; import { formatToothList, prosthesisTypeBadgeStyleFromCatalog } from '@/components/treatment/prosthesisTypeDisplay'; import type { ProsthesisTaskGroup } from '@/components/lab/taskListGrouping'; import type { ProsthesisCatalogEntry } from '@/types/treatment-catalog'; interface TaskProsthesisGroupHeaderProps { group: ProsthesisTaskGroup; prosthesisCatalog: readonly ProsthesisCatalogEntry[]; } export function TaskProsthesisGroupHeader({ group, prosthesisCatalog, }: TaskProsthesisGroupHeaderProps) { const t = useTranslations('tasks'); return (