import { type SaasflareComponentProps } from "../../providers"; /** Props for the DatePicker component. */ export interface DatePickerProps extends SaasflareComponentProps { /** Controlled value. Pass `null` for a controlled-but-empty picker. */ value?: Date | null; /** Uncontrolled default value. */ defaultValue?: Date; /** Called when the user picks a date (`undefined` on deselect — writing it back to state keeps the picker controlled and clears it). */ onChange?: (date: Date | undefined) => void; /** Placeholder shown when no date is set. */ placeholder?: string; /** Earliest pickable date. */ minDate?: Date; /** Latest pickable date. */ maxDate?: Date; /** Disable the trigger. */ disabled?: boolean; /** Format function for the trigger label. Default: locale-aware. */ formatDate?: (date: Date) => string; /** Additional class names on the trigger. */ className?: string; } /** * Single-date input + popover calendar. Composes Button + Popover + Calendar. * * @component * @layer core */ export declare function DatePicker({ value, defaultValue, onChange, placeholder, minDate, maxDate, disabled, formatDate, className, surface, radius, animated, iconWeight, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;