import type { Instance } from 'flatpickr/dist/types/instance'; import type { Hook } from 'flatpickr/dist/types/options'; /** * - offset: gap between input and calendar * - minViewportMargin: padding from viewport edges * - preferTop: bias toward opening upward when space is tight */ type FixedOverlayPositionOpts = { offset?: number; minViewportMargin?: number; preferTop?: boolean; }; type FPPlugin = (fp: Instance) => { onReady?: Hook; }; /** * Flatpickr plugin that positions the calendar using viewport-fixed coordinates. * - detects modal/overlay contexts * - tracks scroll/resize sources (including shadow DOM hosts) and repositions. * - flips above the input when space below is insufficient. */ export declare function fixedOverlayPositionPlugin(opts?: FixedOverlayPositionOpts): FPPlugin; export {}; //# sourceMappingURL=overlay.d.ts.map