import { FC, ReactNode } from 'react'; import { DeepPartial } from '../../types/types'; import { InputProps, InputTheme } from '../Input'; import { DatepickerViewsDaysTheme } from './Views/Days'; import { DatepickerViewsDecadesTheme } from './Views/Decades'; import { DatepickerViewsMonthsTheme } from './Views/Months'; import { DatepickerViewsYearsTheme } from './Views/Years'; import { WeekStart } from './helpers'; export interface DatepickerTheme { root: { base: string; input?: InputTheme; }; popup: DatepickerPopupTheme; views: { days: DatepickerViewsDaysTheme; months: DatepickerViewsMonthsTheme; years: DatepickerViewsYearsTheme; decades: DatepickerViewsDecadesTheme; }; } export interface DatepickerPopupTheme { root: { base: string; inline: string; inner: string; }; header: { base: string; title: string; selectors: { base: string; button: { base: string; prev: string; next: string; view: string; }; }; }; view: { base: string; }; footer: { base: string; button: { base: string; today: string; clear: string; }; }; } export interface DatepickerProps extends Omit { open?: boolean; inline?: boolean; autoHide?: boolean; showClearButton?: boolean; labelClearButton?: string; clearIcon?: ReactNode; showTodayButton?: boolean; todayIcon?: ReactNode; labelTodayButton?: string; defaultDate?: Date; minDate?: Date; maxDate?: Date; language?: string; weekStart?: WeekStart; theme?: DeepPartial; onSelectedDateChanged?: (date: Date) => void; } /** * * @name Datepicker * * @description The Datepicker component is used to select a date, it can be used as a popup or inline. You can also set the default date, min and max date, and the language. * * @param {boolean} props.open - The open state of the datepicker * * @param {boolean} props.inline - The inline state of the datepicker * * @param {boolean} props.autoHide - The autoHide state of the datepicker * * @param {boolean} props.showClearButton - The showClearButton state of the datepicker * * @param {string} props.labelClearButton - The labelClearButton state of the datepicker * * @param {ReactNode} props.clearIcon - The clearIcon state of the datepicker * * @param {boolean} props.showTodayButton - The showTodayButton state of the datepicker * * @param {ReactNode} props.todayIcon - The todayIcon state of the datepicker * * @param {string} props.labelTodayButton - The labelTodayButton state of the datepicker * * @param {Date} props.defaultDate - The defaultDate state of the datepicker * * @param {Date} props.minDate - The minDate state of the datepicker * * @param {Date} props.maxDate - The maxDate state of the datepicker * * @returns React.FC */ export declare const Datepicker: FC; //# sourceMappingURL=Datepicker.d.ts.map