import * as React from 'react'; import type { DisabledTimes, IntRange, PanelSharedProps } from '../../interface'; import type { TimeBodyProps } from './TimeBody'; export type SharedTimeProps = { format?: string; showNow?: boolean; showHour?: boolean; showMinute?: boolean; showSecond?: boolean; use12Hours?: boolean; hourStep?: IntRange<1, 23>; minuteStep?: IntRange<1, 59>; secondStep?: IntRange<1, 59>; hideDisabledOptions?: boolean; defaultValue?: DateType; /** @deprecated Please use `disabledTime` instead. */ disabledHours?: DisabledTimes['disabledHours']; /** @deprecated Please use `disabledTime` instead. */ disabledMinutes?: DisabledTimes['disabledMinutes']; /** @deprecated Please use `disabledTime` instead. */ disabledSeconds?: DisabledTimes['disabledSeconds']; disabledTime?: (date: DateType) => DisabledTimes; }; export type TimePanelProps = { format?: string; active?: boolean; } & PanelSharedProps & SharedTimeProps & Pick, 'cellRender'>; declare function TimePanel(props: TimePanelProps): React.JSX.Element; export default TimePanel;