import type { ClassName, SizeEnum, TNode } from '../common';
export interface TdInputProps {
    align?: 'left' | 'center' | 'right';
    allowInputOverMax?: boolean;
    autoWidth?: boolean;
    autocomplete?: string;
    autofocus?: boolean;
    clearable?: boolean;
    disabled?: boolean;
    format?: InputFormatType;
    inputClass?: ClassName;
    label?: string | TNode;
    maxcharacter?: number;
    maxlength?: number;
    name?: string;
    placeholder?: string;
    prefixIcon?: TNode;
    readonly?: boolean;
    showClearIconOnEmpty?: boolean;
    showLimitNumber?: boolean;
    size?: SizeEnum;
    status?: 'default' | 'success' | 'warning' | 'error';
    suffix?: string | TNode;
    suffixIcon?: TNode;
    tips?: string | TNode;
    type?: 'text' | 'number' | 'url' | 'tel' | 'password' | 'search' | 'submit' | 'hidden';
    value?: InputValue;
    defaultValue?: InputValue;
    modelValue?: InputValue;
    onBlur?: (value: InputValue, context: {
        e: FocusEvent;
    }) => void;
    onChange?: (value: InputValue, context?: {
        e?: InputEvent | MouseEvent | CompositionEvent;
        trigger: 'input' | 'initial' | 'clear';
    }) => void;
    onClear?: (context: {
        e: MouseEvent;
    }) => void;
    onClick?: (context: {
        e: MouseEvent;
    }) => void;
    onCompositionend?: (value: InputValue, context: {
        e: CompositionEvent;
    }) => void;
    onCompositionstart?: (value: InputValue, context: {
        e: CompositionEvent;
    }) => void;
    onEnter?: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    onFocus?: (value: InputValue, context: {
        e: FocusEvent;
    }) => void;
    onKeydown?: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    onKeypress?: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    onKeyup?: (value: InputValue, context: {
        e: KeyboardEvent;
    }) => void;
    onMouseenter?: (context: {
        e: MouseEvent;
    }) => void;
    onMouseleave?: (context: {
        e: MouseEvent;
    }) => void;
    onPaste?: (context: {
        e: ClipboardEvent;
        pasteValue: string;
    }) => void;
    onValidate?: (context: {
        error?: 'exceed-maximum' | 'below-minimum';
    }) => void;
    onWheel?: (context: {
        e: WheelEvent;
    }) => void;
}
export interface TdInputGroupProps {
    separate?: boolean;
}
export declare type InputFormatType = (value: InputValue) => string;
export declare type InputValue = string;
