import type { InputProps, InputValue } from '../input';
import type { PopupProps, PopupVisibleChangeContext } from '../popup';
import type { TagInputChangeContext, TagInputProps, TagInputValue } from '../tag-input';
import type { TagProps } from '../tag';
import type { TNode } from '../common';
export interface TdSelectInputProps {
    allowInput?: boolean;
    autoWidth?: boolean;
    autofocus?: boolean;
    borderless?: boolean;
    clearable?: boolean;
    collapsedItems?: TNode<{
        value: SelectInputValue;
        collapsedTags: SelectInputValue;
        count: number;
    }>;
    disabled?: boolean;
    inputProps?: InputProps;
    inputValue?: InputValue;
    defaultInputValue?: InputValue;
    keys?: SelectInputKeys;
    label?: string | TNode;
    loading?: boolean;
    minCollapsedNum?: number;
    multiple?: boolean;
    panel?: string | TNode;
    placeholder?: string;
    popupProps?: PopupProps;
    popupVisible?: boolean;
    defaultPopupVisible?: boolean;
    readonly?: boolean;
    status?: 'default' | 'success' | 'warning' | 'error';
    suffix?: string | TNode;
    suffixIcon?: TNode;
    tag?: string | TNode<{
        value: string | number;
    }>;
    tagInputProps?: TagInputProps;
    tagProps?: TagProps;
    tips?: string | TNode;
    value?: SelectInputValue;
    valueDisplay?: string | TNode<{
        value: TagInputValue;
        onClose: (index: number, item?: any) => void;
    }>;
    onBlur?: (value: SelectInputValue, context: SelectInputBlurContext) => void;
    onClear?: (context: {
        e: MouseEvent;
    }) => void;
    onEnter?: (value: SelectInputValue, context: {
        e: KeyboardEvent;
        inputValue: InputValue;
        tagInputValue?: TagInputValue;
    }) => void;
    onFocus?: (value: SelectInputValue, context: SelectInputFocusContext) => void;
    onInputChange?: (value: InputValue, context?: SelectInputValueChangeContext) => void;
    onMouseenter?: (context: {
        e: MouseEvent;
    }) => void;
    onMouseleave?: (context: {
        e: MouseEvent;
    }) => void;
    onPaste?: (context: {
        e: ClipboardEvent;
        pasteValue: string;
    }) => void;
    onPopupVisibleChange?: (visible: boolean, context: PopupVisibleChangeContext) => void;
    onTagChange?: (value: TagInputValue, context: SelectInputChangeContext) => void;
}
export interface SelectInputKeys {
    label?: string;
    value?: string;
    children?: string;
}
export declare type SelectInputValue = string | number | boolean | Date | Object | Array<any> | Array<SelectInputValue>;
export declare type SelectInputBlurContext = PopupVisibleChangeContext & {
    inputValue: string;
    tagInputValue?: TagInputValue;
};
export interface SelectInputFocusContext {
    inputValue: InputValue;
    tagInputValue?: TagInputValue;
    e: FocusEvent;
}
export interface SelectInputValueChangeContext {
    e?: Event | InputEvent | MouseEvent | FocusEvent | KeyboardEvent | CompositionEvent;
    trigger: 'input' | 'clear' | 'blur' | 'focus' | 'initial' | 'change';
}
export declare type SelectInputChangeContext = TagInputChangeContext;
