import { CalendarInputDateProps } from '../CalendarInputDate/types'; import { CalendarInputTimeProps } from '../CalendarInputTime/types'; import { FromToRange } from '../commonTypes'; import { ExtractPropTypes, PropType } from 'vue'; import { InitialDate } from '../../composables/useSelectedDates'; import { Nullable } from '../../utils/helpers'; import { DatesAvailabilityConfig } from '../../composables/useCalendarDateUtil'; export type HelperButtonShape = Readonly<{ name: string; } & FromToRange>; export type CalendarDialogInputTimeProps = Partial>; export type CalendarDialogInputDateProps = Partial & { labelStarts: string; labelEnds: string; }>; export declare const calendarDialogProps: { language: { type: PropType; default: string; }; disabledDates: { type: PropType; validator: (value: DatesAvailabilityConfig | undefined | null) => boolean; default: () => Partial<{ dates: Array; ranges: Array>; custom: import('../../composables/useCalendarDateUtil').DisableDateCheckFunction; } & FromToRange>; }; availableDates: { type: PropType; validator: (value: DatesAvailabilityConfig | undefined | null) => boolean; default: () => Partial<{ dates: Array; ranges: Array>; custom: import('../../composables/useCalendarDateUtil').DisableDateCheckFunction; } & FromToRange>; }; isMondayFirst: { type: PropType; default: boolean; }; initialDates: { type: PropType; validator: (value: InitialDate | undefined | null) => boolean; default: () => InitialDate; }; inline: { type: PropType; default: boolean; }; showHelperButtons: { type: PropType; default: boolean; }; helperButtons: { type: PropType>; validator: (value: Array | undefined | null) => boolean; default: () => Array; }; timeInput: { type: PropType; default: () => Partial>; }; dateInput: { type: PropType; default: () => Partial & { labelStarts: string; labelEnds: string; }>; }; switchButtonLabel: { type: PropType; default: string; }; switchButtonInitial: { type: PropType; default: boolean; }; applyButtonLabel: { type: PropType; default: string; }; resetButtonLabel: { type: PropType; default: string; }; }; export type CalendarDialogProps = ExtractPropTypes; export declare const calendarDialogEmits: import('../../utils/helpers').InferRecord<{ "on-apply": (_startDate: Date, _endDate: Date) => boolean; "on-reset": (_e: Event) => boolean; "select-date": (_startDate: Nullable, _endDate: Nullable) => boolean; "select-disabled-date": (_date: Date) => boolean; "on-prev-calendar": (_e: Event) => boolean; "on-next-calendar": (_e: Event) => boolean; }>; export type CalendarDialogEmits = typeof calendarDialogEmits;