import { ReactElement } from 'react';
import { DateTime } from 'luxon';
import { FieldComponentProps } from '@cezembre/forms';
import { IconName } from './icon';
export type DisabledDay = DateTime | string;
export interface DatePickerProps extends FieldComponentProps<DateTime | string | null> {
    label?: string;
    placeholder?: string;
    format?: string | ((value?: DateTime | string | null) => string);
    expanded?: boolean;
    buttonIcon?: IconName;
    disablePast?: boolean;
    disableBefore?: DateTime;
    disableFuture?: boolean;
    disableAfter?: DateTime;
    disableToday?: boolean;
    disabledDays?: DisabledDay[];
    disabledPeriods?: DisabledDay[][];
}
export declare function DatePicker({ label, name, value, onChange, expanded, buttonIcon, placeholder, format, disablePast, disableToday, disableFuture, disableBefore, disableAfter, disabledDays, disabledPeriods, }: DatePickerProps): ReactElement;
