import { ScoreIndicatorSubject } from '../ScoreIndicator'; export type DataListSize = 'sm' | 'md'; export interface DataListItem { /** Unique identifier for the row */ id: string; date: string; subject: string; /** Score/grade shown in the ScoreIndicator */ score: string; /** Determines the ScoreIndicator background colour. Defaults to "OT" (other/neutral). */ scoreSubject?: ScoreIndicatorSubject; /** Shown under the subject on the "md" size, e.g. "Recorded by Marco Baunacke" */ recordedBy?: string; onEdit?: () => void; onDelete?: () => void; } export interface DataListProps { /** Section label shown above the list */ title: string; items: DataListItem[]; /** * Desktop row size — "sm" shows a single subject line, "md" also shows the * `recordedBy` line and scales up the ScoreIndicator. Mobile layout is unaffected. */ size?: DataListSize; /** Label for the add action button */ addLabel?: string; onAdd?: () => void; /** Placeholder text shown when items is empty */ emptyStateText?: string; /** Accessible label for each row's edit action */ editLabel?: string; /** Accessible label for each row's delete action */ deleteLabel?: string; /** Accessible label for each row's mobile kebab menu trigger */ moreActionsLabel?: string; className?: string; } export declare function DataList({ title, items, size, addLabel, onAdd, emptyStateText, editLabel, deleteLabel, moreActionsLabel, className, }: DataListProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=DataList.d.ts.map