import { FieldSectionData } from '../../models/dateSection'; /** * Hook to handle synchronization of DOM selection state with field sections * Improved to handle year sections properly */ export declare const useFieldSelection: () => { findActiveSectionByPosition: (sections: FieldSectionData[], clickPosition: number) => number; getSectionFromSelection: (sections: FieldSectionData[], selStart: number, selEnd: number | null) => number; getSelectionForSection: (sections: FieldSectionData[], sectionIndex: number) => { start: any; end: any; }; }; export default useFieldSelection;