import { PropType } from "vue"; import "./styles/index.css"; import { ExtractPublicPropTypes } from "../../util/extract-public-props"; declare const inputProps: { hasStyle: { type: BooleanConstructor; default: boolean; }; type: { type: PropType<"input" | "textarea" | "password">; default: string; }; placeholder: StringConstructor; size: { type: PropType<"small" | "medium">; default: string; }; autofocus: BooleanConstructor; value: StringConstructor; "onUpdate:value": PropType<(value: string) => void>; onUpdateValue: PropType<(value: string) => void>; /**失焦 */ onFocus: PropType<(e: FocusEvent) => void>; onBlur: PropType<(e: FocusEvent) => void>; onInput: PropType<(e: Event) => void>; }; export declare type InputProps = ExtractPublicPropTypes; declare const _default: import("vue").DefineComponent<{ hasStyle: { type: BooleanConstructor; default: boolean; }; type: { type: PropType<"input" | "textarea" | "password">; default: string; }; placeholder: StringConstructor; size: { type: PropType<"small" | "medium">; default: string; }; autofocus: BooleanConstructor; value: StringConstructor; "onUpdate:value": PropType<(value: string) => void>; onUpdateValue: PropType<(value: string) => void>; /**失焦 */ onFocus: PropType<(e: FocusEvent) => void>; onBlur: PropType<(e: FocusEvent) => void>; onInput: PropType<(e: Event) => void>; }, { focus: () => void; textareaElementRef: import("vue").Ref; inputElementRef: import("vue").Ref; focuseRef: import("vue").Ref; hasStyle: import("vue").Ref; handleInput: (e: InputEvent | Event) => void; handleWrapperBlur: () => void; handleWrapperFocus: (e: FocusEvent) => void; handleWrapperClick: () => void; handleInputBlur: (e: FocusEvent) => void; handleInputFocus: (e: FocusEvent) => void; cssVars: import("vue").ComputedRef<{ "--height": string; "--line-height": string; "--border-color": string; "--border-color-error": string; "--background-color": string; "--font-color": string; "--border-color-hover": string; } | undefined>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; default: string; }; placeholder: StringConstructor; size: { type: PropType<"small" | "medium">; default: string; }; autofocus: BooleanConstructor; value: StringConstructor; "onUpdate:value": PropType<(value: string) => void>; onUpdateValue: PropType<(value: string) => void>; /**失焦 */ onFocus: PropType<(e: FocusEvent) => void>; onBlur: PropType<(e: FocusEvent) => void>; onInput: PropType<(e: Event) => void>; }>>, { type: "input" | "textarea" | "password"; size: "small" | "medium"; hasStyle: boolean; autofocus: boolean; }>; export default _default;