import React, { Dispatch, HTMLAttributes } from "react"; import { InputAttributesWithoutDispatch } from "../../hooks/value"; import { InputHook } from "../../utils/input"; export declare type TimeBoxHook = InputHook & { showPicker: () => void; }; export declare type TimeBoxAttributes = HTMLAttributes & InputAttributesWithoutDispatch & { $hook?: TimeBoxHook; $mode?: "hms" | "hm" | "h" | "ms"; $dataType?: "number" | "string"; $unit?: "hour" | "minute" | "second" | "millisecond"; $keydownIncrement?: boolean; $hourInterval?: number; $minuteInterval?: number; $secondInterval?: number; $hidePickerButton?: boolean; $hideClearButton?: boolean; $notInputText?: boolean; $dispatch?: Dispatch | Dispatch | Dispatch; }; declare const TimeBox: React.ForwardRefExoticComponent & InputAttributesWithoutDispatch & { $hook?: TimeBoxHook; $mode?: "hms" | "hm" | "h" | "ms"; $dataType?: "number" | "string"; $unit?: "hour" | "minute" | "second" | "millisecond"; $keydownIncrement?: boolean; $hourInterval?: number; $minuteInterval?: number; $secondInterval?: number; $hidePickerButton?: boolean; $hideClearButton?: boolean; $notInputText?: boolean; $dispatch?: Dispatch | Dispatch | Dispatch; } & React.RefAttributes>; export declare const useTimeBox: () => TimeBoxHook; export default TimeBox;