import { CSSProperties, StyleValue, DefineComponent, ComputedRef, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { InputAutoSize, InputProps, InputType, InputModelModifiers } from './input.js';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
type InputValue = string | number;
declare function clear(): void;
declare function focus(): void;
declare function blur(): void;
declare function select(): void;
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: {
        prepend?(_: {}): any;
        prefix?(_: {}): any;
        suffix?(_: {}): any;
        'password-icon'?(_: {
            visible: boolean;
        }): any;
        append?(_: {}): any;
    };
    refs: {
        wrapperRef: HTMLDivElement;
        inputRef: HTMLInputElement;
        textareaRef: HTMLTextAreaElement;
    };
    rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<InputProps, {
    ref: ComputedRef<HTMLInputElement | HTMLTextAreaElement | null>;
    input: ShallowRef<HTMLInputElement | null, HTMLInputElement | null>;
    textarea: ShallowRef<HTMLTextAreaElement | null, HTMLTextAreaElement | null>;
    focus: typeof focus;
    blur: typeof blur;
    select: typeof select;
    clear: typeof clear;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    clear: () => any;
    blur: (event: FocusEvent) => any;
    change: (value: InputValue) => any;
    focus: (event: FocusEvent) => any;
    input: (value: InputValue) => any;
    "update:modelValue": (value: InputValue) => any;
}, string, PublicProps, Readonly<InputProps> & Readonly<{
    onClear?: (() => any) | undefined;
    onBlur?: ((event: FocusEvent) => any) | undefined;
    onChange?: ((value: InputValue) => any) | undefined;
    onFocus?: ((event: FocusEvent) => any) | undefined;
    onInput?: ((value: InputValue) => any) | undefined;
    "onUpdate:modelValue"?: ((value: InputValue) => any) | undefined;
}>, {
    size: ComponentSize;
    id: string;
    modelValue: string | number | null;
    resize: "none" | "both" | "horizontal" | "vertical";
    name: string;
    form: string;
    disabled: boolean;
    type: InputType;
    placeholder: string;
    autofocus: boolean;
    tabindex: string | number;
    inputmode: "search" | "text" | "none" | "numeric" | "email" | "decimal" | "tel" | "url";
    readonly: boolean;
    validateEvent: boolean;
    ariaLabel: string;
    inputStyle: string | false | CSSProperties | StyleValue[] | null;
    modelModifiers: InputModelModifiers;
    maxlength: string | number;
    minlength: string | number;
    autosize: InputAutoSize;
    autocomplete: string;
    formatter: (value: string) => string;
    parser: (value: string) => string;
    clearable: boolean;
    clearIcon: string;
    showPassword: boolean;
    showWordLimit: boolean;
    wordLimitPosition: "inside" | "outside";
    suffixIcon: string;
    prefixIcon: string;
    containerRole: string;
    rows: number;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    wrapperRef: HTMLDivElement;
    inputRef: HTMLInputElement;
    textareaRef: HTMLTextAreaElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
