import { DateValue } from '@internationalized/date'; import { Ref } from 'vue'; import { Grid, Matcher, WeekDayFormat } from '../date'; import { CalendarIncrement } from '../shared/date'; export type UseCalendarProps = { locale: Ref; placeholder: Ref; weekStartsOn: Ref<0 | 1 | 2 | 3 | 4 | 5 | 6>; fixedWeeks: Ref; numberOfMonths: Ref; minValue: Ref; maxValue: Ref; disabled: Ref; weekdayFormat: Ref; pagedNavigation: Ref; isDateDisabled?: Matcher; isDateUnavailable?: Matcher; calendarLabel: Ref; nextPage: Ref<((placeholder: DateValue) => DateValue) | undefined>; prevPage: Ref<((placeholder: DateValue) => DateValue) | undefined>; }; export type UseCalendarStateProps = { isDateDisabled: Matcher; isDateUnavailable: Matcher; date: Ref; }; export declare function useCalendarState(props: UseCalendarStateProps): { isDateSelected: (dateObj: DateValue) => boolean; isInvalid: import('vue').ComputedRef; }; export declare function useCalendar(props: UseCalendarProps): { isDateDisabled: (dateObj: DateValue) => boolean; isDateUnavailable: (date: DateValue) => boolean; isNextButtonDisabled: (step?: CalendarIncrement, nextPageFunc?: ((date: DateValue) => DateValue) | undefined) => boolean; isPrevButtonDisabled: (step?: CalendarIncrement, prevPageFunc?: ((date: DateValue) => DateValue) | undefined) => boolean; grid: Ref[]>; weekdays: import('vue').ComputedRef; visibleView: import('vue').ComputedRef; isOutsideVisibleView: (date: DateValue) => boolean; formatter: import('../shared').Formatter; nextPage: (step?: CalendarIncrement, nextPageFunc?: ((date: DateValue) => DateValue) | undefined) => void; prevPage: (step?: CalendarIncrement, prevPageFunc?: ((date: DateValue) => DateValue) | undefined) => void; headingValue: import('vue').ComputedRef; fullCalendarLabel: import('vue').ComputedRef; };