import { FieldSectionType } from '../../models/dateSection'; import { PickerDateType } from '../../models/pickers'; /** * Enhanced hook for calculating section boundaries with better edge case handling * Centralized implementation that replaces duplicate logic in other files */ export declare function useSectionBoundaries(): { getSectionBoundaries: (sectionType: FieldSectionType, format: string, referenceDate: PickerDateType | null) => { minimum: number; maximum: number; }; getSectionPlaceholder: (sectionType: FieldSectionType, format: string) => string; localeData: { firstDayOfYear: import("dayjs").Dayjs; lastDayOfMonth: import("dayjs").Dayjs; fullDayFormat: string; shortMonthFormat: string; longMonthFormat: string; shortWeekdayFormat: string; longWeekdayFormat: string; use24HourFormat: boolean; }; findSectionAtPosition: (sections: Array, position: number) => { section: any; sectionIndex: number; } | null; getSectionSelection: (section: any) => { startPosition: any; endPosition: any; }; }; export default useSectionBoundaries;