import type { KeyboardEvent } from 'react'; import type { Dayjs } from 'dayjs'; export declare function checkDayjsObj(props: Record, propName: string, componentName: string): Error | undefined; export declare function checkDateValue(props: Record, propName: string, componentName: string): Error | null; /** * 监听键盘事件,操作时间 * @param e - 键盘事件 * @param param1 - Object * @param type - second hour minute */ export declare function onTimeKeydown(e: KeyboardEvent, { format, timeInputStr, steps, value, }: { format: string; timeInputStr: string; steps: Record; value: Dayjs; }, type: 'second' | 'hour' | 'minute'): string | undefined;