import { DayFlag, SelectionState } from "../UI.js"; import { MonthCaption, type MonthCaptionProps } from "../components/MonthCaption.js"; import { Week, type WeekProps } from "../components/Week.js"; import { labelDayButton, labelNext, labelWeekday, labelWeekNumber } from "../labels/index.js"; import { useDayPicker } from "../useDayPicker.js"; import type { PropsMulti, PropsRange, PropsSingle } from "./props.js"; import type { Mode, DayEventHandler } from "./shared.js"; /** * @deprecated This type will be removed. * @protected */ export type RootProvider = any; /** * @deprecated This type will be removed. * @protected */ export type RootProviderProps = any; /** * @deprecated This component has been renamed. Use `MonthCaption` instead. * @protected * @group Components * @see https://daypicker.dev/guides/custom-components */ export declare const Caption: typeof MonthCaption; /** * @deprecated This type has been renamed. Use `MonthCaptionProps` instead. * @protected */ export type CaptionProps = MonthCaptionProps; /** * @deprecated This component has been removed. * @protected * @group Components * @see https://daypicker.dev/guides/custom-components */ export type HeadRow = any; /** * @deprecated This component has been renamed. Use `Week` instead. * @protected * @group Components * @see https://daypicker.dev/guides/custom-components */ export declare const Row: typeof Week; /** * @deprecated This type has been removed. Use `WeekProps` instead. * @protected */ export type RowProps = WeekProps; /** * @deprecated This type has been renamed. Use `PropsSingle` instead. * @protected */ export type DayPickerSingleProps = PropsSingle; /** * @deprecated This type has been renamed. Use `PropsMulti` instead. * @protected */ export type DayPickerMultipleProps = PropsMulti; /** * @deprecated This type has been renamed. Use `PropsRange` instead. * @protected */ export type DayPickerRangeProps = PropsRange; /** * @deprecated This type will be removed. Use `NonNullable` instead * @protected */ export type DayPickerDefaultProps = NonNullable; /** * @deprecated This type has been renamed. Use `Mode` instead. * @protected */ export type DaySelectionMode = Mode; /** * @deprecated This type will be removed. Use `string` instead; * @protected */ export type Modifier = string; /** * @deprecated This type will be removed. Use {@link DayFlag} or * {@link SelectionState} instead. * @protected */ export type InternalModifier = DayFlag.disabled | DayFlag.hidden | DayFlag.focused | SelectionState.range_end | SelectionState.range_middle | SelectionState.range_start | SelectionState.selected; /** * @deprecated This type will be removed. Use `SelectHandler<"single">` instead. * @protected */ export type SelectSingleEventHandler = PropsSingle["onSelect"]; /** * @deprecated This type will be removed. Use `SelectHandler<"multiple">` * instead. * @protected */ export type SelectMultipleEventHandler = PropsMulti["onSelect"]; /** * @deprecated This type will be removed. Use `SelectHandler<"range">` instead. * @protected */ export type SelectRangeEventHandler = PropsRange["onSelect"]; /** * @deprecated This type is not used anymore. * @protected */ export type DayPickerProviderProps = any; /** * @deprecated This type has been removed to `useDayPicker`. * @protected * @group Hooks */ export declare const useNavigation: typeof useDayPicker; /** * @deprecated This hook has been removed. Use a custom `Day` component instead. * @protected * @group Hooks * @see https://daypicker.dev/guides/custom-components */ export type useDayRender = any; /** * @deprecated This type is not used anymore. * @protected */ export type ContextProvidersProps = any; /** * @deprecated Use `typeof labelDayButton` instead. * @protected */ export type DayLabel = typeof labelDayButton; /** * @deprecated Use `typeof labelNext` or `typeof labelPrevious` instead. * @protected */ export type NavButtonLabel = typeof labelNext; /** * @deprecated Use `typeof labelWeekday` instead. * @protected */ export type WeekdayLabel = typeof labelWeekday; /** * @deprecated Use `typeof labelWeekNumber` instead. * @protected */ export type WeekNumberLabel = typeof labelWeekNumber; /** * @deprecated Use {@link DayMouseEventHandler} instead. * @protected */ export type DayClickEventHandler = DayEventHandler; /** * @deprecated This type will be removed. Use `DayEventHandler` instead. * @protected */ export type DayFocusEventHandler = DayEventHandler; /** * @deprecated This type will be removed. Use * `DayEventHandler` instead. * @protected */ export type DayKeyboardEventHandler = DayEventHandler; /** * @deprecated This type will be removed. Use * `DayEventHandler` instead. * @protected */ export type DayMouseEventHandler = DayEventHandler; /** * @deprecated This type will be removed. Use * `DayEventHandler` instead. * @protected */ export type DayPointerEventHandler = DayEventHandler; /** * @deprecated This type will be removed. Use * `DayEventHandler` instead. * @protected */ export type DayTouchEventHandler = DayEventHandler;