import { type ComponentPropsWithoutRef, type ReactNode } from "react";
export type DatePickerSize = "sm" | "md" | "lg";
export interface DatePickerProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
    label?: ReactNode;
    value: Date | null;
    onChange?: (value: Date | null) => void;
    placeholder?: string;
    format?: (d: Date) => string;
    size?: DatePickerSize;
    disabled?: boolean;
    error?: ReactNode;
    helperText?: ReactNode;
    minDate?: Date;
    maxDate?: Date;
    /** Locale tag forwarded to the inner Calendar (Intl formatting). */
    locale?: string;
    /** Form integration — renders a hidden input so the picker participates
     * in native form submission. */
    name?: string;
    /** Form attribute for the hidden input. */
    form?: string;
    /** Mark as required for native form validation. */
    required?: boolean;
    /** Close the popover when Escape is pressed (default true). */
    closeOnEsc?: boolean;
    /** Accessible label for the popover dialog. */
    popoverAriaLabel?: string;
}
export declare const DatePicker: import("react").ForwardRefExoticComponent<DatePickerProps & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=DatePicker.d.ts.map