import type { InputProps } from '../input';
import type { PopupProps } from '../popup';
import type { RangeInputProps } from '../range-input';
import type { TNode } from '../common';
export interface TdTimePickerProps {
    allowInput?: boolean;
    clearable?: boolean;
    disableTime?: (h: number, m: number, s: number) => Partial<{
        hour: Array<number>;
        minute: Array<number>;
        second: Array<number>;
    }>;
    disabled?: boolean;
    format?: string;
    hideDisabledTime?: boolean;
    inputProps?: InputProps;
    placeholder?: string;
    popupProps?: PopupProps;
    presets?: PresetTime;
    size?: 'small' | 'medium' | 'large';
    status?: 'default' | 'success' | 'warning' | 'error';
    steps?: Array<string | number>;
    tips?: string | TNode;
    value?: TimePickerValue;
    defaultValue?: TimePickerValue;
    modelValue?: TimePickerValue;
    onBlur?: (context: {
        value: TimePickerValue;
        e: FocusEvent;
    }) => void;
    onChange?: (value: TimePickerValue) => void;
    onClose?: (context: {
        e: MouseEvent;
    }) => void;
    onFocus?: (context: {
        value: TimePickerValue;
        e: FocusEvent;
    }) => void;
    onInput?: (context: {
        value: TimePickerValue;
        e: InputEvent;
    }) => void;
    onOpen?: (context: {
        e: MouseEvent;
    }) => void;
    onPick?: (value: TimePickerValue, context: {
        e: MouseEvent;
    }) => void;
}
export interface TdTimeRangePickerProps {
    allowInput?: boolean;
    clearable?: boolean;
    disableTime?: (h: number, m: number, s: number, context: {
        partial: TimeRangePickerPartial;
    }) => Partial<{
        hour: Array<number>;
        minute: Array<number>;
        second: Array<number>;
    }>;
    disabled?: boolean | Array<boolean>;
    format?: string;
    hideDisabledTime?: boolean;
    placeholder?: string | Array<string>;
    popupProps?: PopupProps;
    presets?: PresetTimeRange;
    rangeInputProps?: RangeInputProps;
    size?: 'small' | 'medium' | 'large';
    status?: 'default' | 'success' | 'warning' | 'error';
    steps?: Array<string | number>;
    tips?: string | TNode;
    value?: TimeRangeValue;
    defaultValue?: TimeRangeValue;
    modelValue?: TimeRangeValue;
    onBlur?: (context: {
        value: TimeRangeValue;
        e?: FocusEvent;
        position?: TimeRangePickerPartial;
    }) => void;
    onChange?: (value: TimeRangeValue) => void;
    onFocus?: (context?: {
        value: TimeRangeValue;
        e?: FocusEvent;
        position?: TimeRangePickerPartial;
    }) => void;
    onInput?: (context: {
        value: TimeRangeValue;
        e?: InputEvent;
        position?: TimeRangePickerPartial;
    }) => void;
    onPick?: (value: TimeRangeValue, context: {
        e: MouseEvent;
        position?: TimeRangePickerPartial;
    }) => void;
}
export interface PresetTime {
    [presetName: string]: TimePickerValue | (() => TimePickerValue);
}
export declare type TimePickerValue = string;
export declare type TimeRangePickerPartial = 'start' | 'end';
export interface PresetTimeRange {
    [presetRageName: string]: TimeRangeValue | (() => TimeRangeValue);
}
export declare type TimeRangeValue = Array<string>;
