import React from "react"; import type { FactoryArg } from "imask"; import type { DatePickerProps } from "./types"; export type DatePickerInputProps = Omit & { /** IMask options (built by root from format/maskBlocks). */ maskOptions: FactoryArg; /** Internal wiring between input and calendar button/popover. */ calendarMeta: { /** Ref for the calendar trigger button (injected by DatePicker when composing with DatePickerPopover). */ buttonRef?: React.RefObject; /** Whether the calendar popover is open (for aria-label on the button). */ isOpen: boolean; /** Id of the calendar region, used for aria-controls from the trigger button. */ id: string; }; }; export declare const DatePickerInput: React.ForwardRefExoticComponent & { /** IMask options (built by root from format/maskBlocks). */ maskOptions: FactoryArg; /** Internal wiring between input and calendar button/popover. */ calendarMeta: { /** Ref for the calendar trigger button (injected by DatePicker when composing with DatePickerPopover). */ buttonRef?: React.RefObject; /** Whether the calendar popover is open (for aria-label on the button). */ isOpen: boolean; /** Id of the calendar region, used for aria-controls from the trigger button. */ id: string; }; } & React.RefAttributes>;