import { type DragEvent, type ReactElement, type ReactNode } from 'react'; import type { TFunction } from 'i18next'; export interface AnamnesisReorderGroupProps { /** Number of rows in the group — bounds keyboard moves and gives the * announcement its "of {{total}}". */ count: number; /** Move a row from `from` to `to` — both DISPLAY indices of the group. */ onReorder: (from: number, to: number) => void; t: TFunction; children: ReactNode; } /** One reorderable list. Renders its children untouched plus a visually * hidden polite live region the rows announce their moves into. Nesting is * fine — a row binds to its NEAREST group, and a drag never crosses groups * (each group tracks its own drag source). */ export declare function AnamnesisReorderGroup({ count, onReorder, t, children, }: AnamnesisReorderGroupProps): import("react/jsx-runtime").JSX.Element; export interface AnamnesisReorderRowRender { /** Spread onto the element that drags as one unit (the `