/** * * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc.. * * This source code is licensed under the Apache license. * See LICENSE file in the project root for license information. * */ import type { Moment } from 'moment'; import * as React from 'react'; import type { PickerTimeProps, RangePickerTimeProps } from '../../date-picker/component/generatePicker'; import type { InputStatus } from '../../_util/statusUtils'; export interface TimePickerLocale { placeholder?: string; rangePlaceholder?: [string, string]; } export interface TimeRangePickerProps extends Omit, 'picker'> { dropdownClassName?: string; popupClassName?: string; } declare const RangePicker: React.ForwardRefExoticComponent>; export interface TimePickerProps extends Omit, 'picker'> { addon?: () => React.ReactNode; popupClassName?: string; dropdownClassName?: string; status?: InputStatus; } declare const TimePicker: React.ForwardRefExoticComponent>; declare type MergedTimePicker = typeof TimePicker & { RangePicker: typeof RangePicker; }; declare const _default: MergedTimePicker; export default _default;