import { type SkPicture } from 'react-native-skia'; import { type CalendarMode, type DateString, type EventIndex, type FirstDayOfWeek, type GridLayoutMetrics, type ResolvedCalendarTheme } from '../core'; import type { CalendarFonts } from './fonts'; export interface PaneInput { unit: CalendarMode; baseMonth: DateString; baseWeek: DateString; weekAnchor: { week: DateString; month: DateString; }; anchorWeekStart: DateString; metrics: GridLayoutMetrics; theme: ResolvedCalendarTheme; fonts: CalendarFonts; index: EventIndex; selectedDate: DateString | null; today: DateString; firstDayOfWeek: FirstDayOfWeek; } export interface Pane { page: number; matrix: DateString[][]; picture: SkPicture; anchorRow: number; } export declare function usePaneCache(input: PaneInput): (page: number) => Pane; //# sourceMappingURL=usePaneCache.d.ts.map