import { Dayjs } from "dayjs"; type Props = { date: Dayjs | null; format?: string; onDateChange?: (date: Dayjs) => void; }; /** * 指定された format で日付を表示・操作するための hooks * 左右キーでセクション移動、上下キーで選択中のセクションの値を増減する * 直接キーボード入力することもできる * */ export declare const useDateField: ({ date, format, onDateChange, }: Props) => { ref: import("react").RefObject; value: string | undefined; onFocus: () => void; onBlur: () => void; onKeyDown: (event: React.KeyboardEvent) => void; onMouseDown: () => void; onPaste: (event: React.ClipboardEvent) => void; }; export {};