import { ExtractPropTypes, PropType } from 'vue';
import { ChangeEventHandler, CompositionEventHandler, FocusEventHandler, KeyboardEventHandler, MouseEventHandler } from '../_util/EventInterface';
import { InputStatus } from '../_util/statusUtils';
import { VueNode } from '../_util/type';
import { SizeType } from '../config-provider';
import { InputFocusOptions } from './utils/commonUtils';
import { VueTypeValidableDef } from 'vue-types';
export declare const inputDefaultValue: string;
export declare const commonInputProps: () => {
    addonBefore: VueTypeValidableDef<any>;
    addonAfter: VueTypeValidableDef<any>;
    prefix: VueTypeValidableDef<any>;
    suffix: VueTypeValidableDef<any>;
    clearIcon: VueTypeValidableDef<any>;
    affixWrapperClassName: StringConstructor;
    groupClassName: StringConstructor;
    wrapperClassName: StringConstructor;
    inputClassName: StringConstructor;
    allowClear: {
        type: BooleanConstructor;
        default: undefined;
    };
};
export declare const baseInputProps: () => {
    value: {
        type: PropType<string | number>;
        default: undefined;
    };
    defaultValue: {
        type: PropType<string | number>;
        default: undefined;
    };
    inputElement: VueTypeValidableDef<any>;
    prefixCls: StringConstructor;
    disabled: {
        type: BooleanConstructor;
        default: undefined;
    };
    focused: {
        type: BooleanConstructor;
        default: undefined;
    };
    triggerFocus: PropType<() => void>;
    readonly: {
        type: BooleanConstructor;
        default: undefined;
    };
    handleReset: PropType<MouseEventHandler>;
    hidden: {
        type: BooleanConstructor;
        default: undefined;
    };
    addonBefore: VueTypeValidableDef<any>;
    addonAfter: VueTypeValidableDef<any>;
    prefix: VueTypeValidableDef<any>;
    suffix: VueTypeValidableDef<any>;
    clearIcon: VueTypeValidableDef<any>;
    affixWrapperClassName: StringConstructor;
    groupClassName: StringConstructor;
    wrapperClassName: StringConstructor;
    inputClassName: StringConstructor;
    allowClear: {
        type: BooleanConstructor;
        default: undefined;
    };
};
export declare const inputProps: () => {
    id: StringConstructor;
    placeholder: {
        type: PropType<string | number>;
    };
    autocomplete: StringConstructor;
    type: {
        type: PropType<"number" | "button" | "search" | "time" | "image" | "text" | "hidden" | "color" | "checkbox" | "radio" | "reset" | "range" | "date" | "url" | "email" | "week" | "month" | "submit" | "tel" | "datetime-local" | "file" | "password">;
        default: "number" | "button" | "search" | "time" | "image" | "text" | "hidden" | "color" | "checkbox" | "radio" | "reset" | "range" | "date" | "url" | "email" | "week" | "month" | "submit" | "tel" | "datetime-local" | "file" | "password";
    };
    name: StringConstructor;
    size: {
        type: PropType<SizeType>;
    };
    autofocus: {
        type: BooleanConstructor;
        default: undefined;
    };
    lazy: {
        type: BooleanConstructor;
        default: boolean;
    };
    maxlength: NumberConstructor;
    loading: {
        type: BooleanConstructor;
        default: undefined;
    };
    bordered: {
        type: BooleanConstructor;
        default: undefined;
    };
    showCount: {
        type: PropType<boolean | ShowCountProps>;
    };
    htmlSize: NumberConstructor;
    onPressEnter: PropType<KeyboardEventHandler>;
    onKeydown: PropType<KeyboardEventHandler>;
    onKeyup: PropType<KeyboardEventHandler>;
    onFocus: PropType<FocusEventHandler>;
    onBlur: PropType<FocusEventHandler>;
    onChange: PropType<ChangeEventHandler>;
    onInput: PropType<ChangeEventHandler>;
    'onUpdate:value': PropType<(val: string) => void>;
    onCompositionstart: PropType<CompositionEventHandler>;
    onCompositionend: PropType<CompositionEventHandler>;
    valueModifiers: ObjectConstructor;
    hidden: {
        type: BooleanConstructor;
        default: undefined;
    };
    status: PropType<InputStatus>;
    value: {
        type: PropType<string | number>;
        default: undefined;
    };
    defaultValue: {
        type: PropType<string | number>;
        default: undefined;
    };
    inputElement: VueTypeValidableDef<any>;
    prefixCls: StringConstructor;
    disabled: {
        type: BooleanConstructor;
        default: undefined;
    };
    focused: {
        type: BooleanConstructor;
        default: undefined;
    };
    triggerFocus: PropType<() => void>;
    readonly: {
        type: BooleanConstructor;
        default: undefined;
    };
    handleReset: PropType<MouseEventHandler>;
    addonBefore: VueTypeValidableDef<any>;
    addonAfter: VueTypeValidableDef<any>;
    prefix: VueTypeValidableDef<any>;
    suffix: VueTypeValidableDef<any>;
    clearIcon: VueTypeValidableDef<any>;
    affixWrapperClassName: StringConstructor;
    groupClassName: StringConstructor;
    wrapperClassName: StringConstructor;
    inputClassName: StringConstructor;
    allowClear: {
        type: BooleanConstructor;
        default: undefined;
    };
};
export type InputProps = Partial<ExtractPropTypes<ReturnType<typeof inputProps>>>;
export interface ShowCountProps {
    formatter: (args: {
        count: number;
        maxlength?: number;
        value?: string;
    }) => VueNode;
}
export interface InputRef {
    focus: (options?: InputFocusOptions) => void;
    blur: () => void;
    setSelectionRange: (start: number, end: number, direction?: 'forward' | 'backward' | 'none') => void;
    select: () => void;
    input: HTMLInputElement | null;
}
