import { type ReactNode } from 'react'; import type { PatientFieldSection } from './patient-fields'; export interface FieldVisibilityCogProps { /** The sectioned field catalogue. */ sections: PatientFieldSection[]; /** Current ordered visible field ids. */ visible: string[]; /** Show / hide a single field. */ onToggleField: (fieldId: string) => void; /** Show / hide every field in a section. */ onToggleSection: (sectionId: string, show: boolean) => void; /** Move a field onto another field's slot within its section. */ onMoveFieldOnto: (fromId: string, toId: string) => void; /** Reset to the default field set / order. */ onReset: () => void; /** Override the cog trigger's accessible name. */ label?: string; } export declare function FieldVisibilityCog({ sections, visible, onToggleField, onToggleSection, onMoveFieldOnto, onReset, label, }: FieldVisibilityCogProps): ReactNode; //# sourceMappingURL=field-visibility-cog.d.ts.map