import * as React from 'react'; import type { PickerRef } from '@rc-component/picker'; import type { SemanticName } from '@rc-component/picker/interface'; import type { Dayjs } from 'dayjs'; import type { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from '../_util/hooks'; import type { InputStatus } from '../_util/statusUtils'; import type { AnyObject } from '../_util/type'; import type { GenericTimePickerProps, PickerPropsWithMultiple, RangePickerProps } from '../date-picker/generatePicker/interface'; export type PanelSemanticName = 'root' | 'content' | 'item' | 'footer' | 'container'; export type TimePickerClassNames = SemanticClassNamesType; }>; export type TimePickerStyles = SemanticStylesType; }>; export type PickerTimeProps = PickerPropsWithMultiple>; export type RangePickerTimeProps = Omit, 'showTime' | 'picker'>; export interface TimePickerLocale { placeholder?: string; rangePlaceholder?: [string, string]; } export interface TimeRangePickerProps extends Omit, 'picker'> { /** @deprecated Please use `classNames.popup` instead */ popupClassName?: string; /** @deprecated Please use `styles.popup` instead */ popupStyle?: React.CSSProperties; } declare const RangePicker: React.ForwardRefExoticComponent>; export interface TimePickerProps extends Omit, 'picker' | 'classNames' | 'styles'> { addon?: () => React.ReactNode; status?: InputStatus; /** @deprecated Please use `classNames.popup` instead */ popupClassName?: string; /** @deprecated Please use `styles.popup` instead */ popupStyle?: React.CSSProperties; rootClassName?: string; classNames?: TimePickerClassNames; styles?: TimePickerStyles; } declare const TimePicker: React.ForwardRefExoticComponent & React.RefAttributes>; declare const PurePanel: (props: AnyObject) => React.JSX.Element; type MergedTimePicker = typeof TimePicker & { RangePicker: typeof RangePicker; _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel; }; declare const _default: MergedTimePicker; export default _default;