import React from "react"; import dayjs from "dayjs"; import { CalendarProps } from "../Calendar/Calendar"; export declare const useCalendar: ({ initialDate: config, min, max, }?: { initialDate?: dayjs.ConfigType; min?: dayjs.ConfigType; max?: dayjs.ConfigType; }) => { date: dayjs.Dayjs; increment: () => void; decrement: () => void; reset: () => void; disabledNext: boolean; disabledPrev: boolean; set: (d?: dayjs.ConfigType) => void; controllerProps: { readonly unit: "month"; readonly set: (d?: dayjs.ConfigType) => void; readonly increment: () => void; readonly decrement: () => void; readonly disabledNext: boolean; readonly disabledPrev: boolean; }; }; export interface CalendarUIProps extends CalendarProps { /** * 元々かなり大きいコンポーネントのため、`"large"`サイズはサポートしません。 * @default "medium" */ size?: "small" | "medium"; } export declare const CalendarUI: (props: CalendarUIProps & { ref?: React.Ref; }) => React.JSX.Element;