import type { InputHTMLAttributes, PropType, TextareaHTMLAttributes, VNode, VNodeChild } from 'vue'; import type { ScrollbarInst } from '../../_internal'; import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils'; import type { FormValidationStatus } from '../../form/src/interface'; import type { InputSize, OnUpdateValue } from './interface'; import { h } from 'vue'; export declare const inputProps: { bordered: { type: PropType; default: undefined; }; type: { type: PropType<"text" | "textarea" | "password">; default: string; }; placeholder: PropType; defaultValue: { type: PropType; default: null; }; value: PropType; disabled: { type: PropType; default: undefined; }; size: PropType; rows: { type: PropType; default: number; }; round: BooleanConstructor; minlength: PropType; maxlength: PropType; clearable: BooleanConstructor; autosize: { type: PropType; default: boolean; }; pair: BooleanConstructor; separator: StringConstructor; autocomplete: { type: BooleanConstructor; default: boolean; }; copyable: BooleanConstructor; uppercase: BooleanConstructor; debounceMs: NumberConstructor; readonly: { type: (StringConstructor | BooleanConstructor)[]; default: boolean; }; passivelyActivated: BooleanConstructor; showPasswordOn: PropType<"mousedown" | "click">; stateful: { type: BooleanConstructor; default: boolean; }; autofocus: BooleanConstructor; inputProps: PropType; resizable: { type: BooleanConstructor; default: boolean; }; showCount: BooleanConstructor; loading: { type: BooleanConstructor; default: undefined; }; loadingSkeleton: BooleanConstructor; formatter: PropType<(value: string) => string>; allowInput: PropType<(value: string) => boolean>; renderCount: PropType<(props: { value: string; }) => VNodeChild>; onMousedown: PropType<(e: MouseEvent) => void>; onKeydown: PropType<(e: KeyboardEvent) => void>; onKeyup: PropType void>>; onInput: PropType; onDebouncedInput: PropType; onFocus: PropType void>>; onBlur: PropType void>>; onClick: PropType void>>; onChange: PropType; onClear: PropType void>>; copyButtonCallback: PropType<(value: string) => void>; countGraphemes: PropType<(value: string) => number>; status: PropType; 'onUpdate:value': PropType>; onUpdateValue: PropType>; /** private */ textDecoration: PropType; attrSize: { type: NumberConstructor; default: number; }; onInputBlur: PropType void>>; onInputFocus: PropType void>>; onDeactivate: PropType void>>; onActivate: PropType void>>; onWrapperFocus: PropType void>>; onWrapperBlur: PropType void>>; internalDeactivateOnEnter: BooleanConstructor; internalForceFocus: BooleanConstructor; internalLoadingBeforeSuffix: { type: BooleanConstructor; default: boolean; }; /** deprecated */ showPasswordToggle: BooleanConstructor; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }; export type InputProps = ExtractPublicPropTypes; export interface InputSlots { 'clear-icon'?: () => VNode[]; count?: (props: { value: string; }) => VNode[]; 'password-invisible-icon'?: () => VNode[]; 'password-visible-icon'?: () => VNode[]; prefix?: () => VNode[]; separator?: () => VNode[]; suffix?: () => VNode[]; } declare const _default: import("vue").DefineComponent; default: undefined; }; type: { type: PropType<"text" | "textarea" | "password">; default: string; }; placeholder: PropType; defaultValue: { type: PropType; default: null; }; value: PropType; disabled: { type: PropType; default: undefined; }; size: PropType; rows: { type: PropType; default: number; }; round: BooleanConstructor; minlength: PropType; maxlength: PropType; clearable: BooleanConstructor; autosize: { type: PropType; default: boolean; }; pair: BooleanConstructor; separator: StringConstructor; autocomplete: { type: BooleanConstructor; default: boolean; }; copyable: BooleanConstructor; uppercase: BooleanConstructor; debounceMs: NumberConstructor; readonly: { type: (StringConstructor | BooleanConstructor)[]; default: boolean; }; passivelyActivated: BooleanConstructor; showPasswordOn: PropType<"mousedown" | "click">; stateful: { type: BooleanConstructor; default: boolean; }; autofocus: BooleanConstructor; inputProps: PropType; resizable: { type: BooleanConstructor; default: boolean; }; showCount: BooleanConstructor; loading: { type: BooleanConstructor; default: undefined; }; loadingSkeleton: BooleanConstructor; formatter: PropType<(value: string) => string>; allowInput: PropType<(value: string) => boolean>; renderCount: PropType<(props: { value: string; }) => VNodeChild>; onMousedown: PropType<(e: MouseEvent) => void>; onKeydown: PropType<(e: KeyboardEvent) => void>; onKeyup: PropType void>>; onInput: PropType; onDebouncedInput: PropType; onFocus: PropType void>>; onBlur: PropType void>>; onClick: PropType void>>; onChange: PropType; onClear: PropType void>>; copyButtonCallback: PropType<(value: string) => void>; countGraphemes: PropType<(value: string) => number>; status: PropType; 'onUpdate:value': PropType>; onUpdateValue: PropType>; /** private */ textDecoration: PropType; attrSize: { type: NumberConstructor; default: number; }; onInputBlur: PropType void>>; onInputFocus: PropType void>>; onDeactivate: PropType void>>; onActivate: PropType void>>; onWrapperFocus: PropType void>>; onWrapperBlur: PropType void>>; internalDeactivateOnEnter: BooleanConstructor; internalForceFocus: BooleanConstructor; internalLoadingBeforeSuffix: { type: BooleanConstructor; default: boolean; }; /** deprecated */ showPasswordToggle: BooleanConstructor; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }>, { wrapperElRef: import("vue").Ref; inputElRef: import("vue").Ref; inputMirrorElRef: import("vue").Ref; inputEl2Ref: import("vue").Ref; textareaElRef: import("vue").Ref; textareaMirrorElRef: import("vue").Ref; textareaScrollbarInstRef: import("vue").Ref<{ $el: HTMLElement; containerRef: HTMLElement | null; contentRef: HTMLElement | null; containerScrollTop: number; syncUnifiedContainer: () => void; scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo; scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy; sync: () => void; handleMouseEnterWrapper: () => void; handleMouseLeaveWrapper: () => void; } | null, ScrollbarInst | { $el: HTMLElement; containerRef: HTMLElement | null; contentRef: HTMLElement | null; containerScrollTop: number; syncUnifiedContainer: () => void; scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo; scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy; sync: () => void; handleMouseEnterWrapper: () => void; handleMouseLeaveWrapper: () => void; } | null>; rtlEnabled: import("vue").Ref | undefined; uncontrolledValue: import("vue").Ref; mergedValue: import("vue").ComputedRef; passwordVisible: import("vue").Ref; mergedPlaceholder: import("vue").ComputedRef<[string] | [string, string]>; showPlaceholder1: import("vue").ComputedRef; showPlaceholder2: import("vue").ComputedRef; mergedFocus: import("vue").ComputedRef; isComposing: import("vue").Ref; activated: import("vue").Ref; showClearButton: import("vue").ComputedRef; mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny" | "huge">; mergedDisabled: import("vue").ComputedRef; textDecorationStyle: import("vue").ComputedRef; mergedClsPrefix: import("vue").Ref; mergedBordered: import("vue").ComputedRef; mergedShowPasswordOn: import("vue").ComputedRef<"click" | "mousedown" | undefined>; placeholderStyle: import("vue").Ref<{ top: string; }, { top: string; } | { top: string; }>; mergedStatus: import("vue").ComputedRef; textAreaScrollContainerWidth: import("vue").Ref; inputProps: import("vue").ComputedRef; renderCopyButton: (cb?: (value: string | [string, string] | null) => void) => ReturnType; handleTextAreaScroll: (e: Event) => void; handleCompositionStart: () => void; handleCompositionEnd: (e: CompositionEvent) => void; handleInput: (e: InputEvent | CompositionEvent | Event, index?: 0 | 1, event?: string) => void; handleInputBlur: (e: FocusEvent) => void; handleInputFocus: (e: FocusEvent, index: number) => void; handleWrapperBlur: (e: FocusEvent) => void; handleWrapperFocus: (e: FocusEvent) => void; handleMouseEnter: () => void; handleMouseLeave: () => void; handleMouseDown: (e: MouseEvent) => void; handleChange: (e: Event, index?: 0 | 1) => void; handleClick: (e: MouseEvent) => void; handleClear: (e: MouseEvent) => void; handlePasswordToggleClick: () => void; handlePasswordToggleMousedown: (e: MouseEvent) => void; handleWrapperKeydown: (e: KeyboardEvent) => void; handleWrapperKeyup: (e: KeyboardEvent) => void; handleTextAreaMirrorResize: () => void; getTextareaScrollContainer: () => HTMLTextAreaElement | null; mergedTheme: import("vue").ComputedRef<{ common: import("../..").ThemeCommonVars; self: { paddingTiny: string; paddingSmall: string; paddingMedium: string; paddingLarge: string; paddingHuge: string; clearSize: string; countTextColorDisabled: string; countTextColor: string; heightTiny: string; heightSmall: string; heightMedium: string; heightLarge: string; heightHuge: string; fontSizeTiny: string; fontSizeSmall: string; fontSizeMedium: string; fontSizeLarge: string; fontSizeHuge: string; lineHeight: string; lineHeightTextarea: string; borderRadius: string; iconSize: string; groupLabelTextColor: string; textColor: string; textColorDisabled: string; textDecorationColor: string; caretColor: string; placeholderColor: string; placeholderColorDisabled: string; color: string; colorDisabled: string; colorFocus: string; groupLabelBorder: string; border: string; borderHover: string; borderDisabled: string; borderFocus: string; boxShadowFocus: string; loadingColor: string; loadingColorSuccess: string; borderSuccess: string; borderHoverSuccess: string; colorFocusSuccess: string; borderFocusSuccess: string; boxShadowFocusSuccess: string; caretColorSuccess: string; loadingColorWarning: string; borderWarning: string; borderHoverWarning: string; colorFocusWarning: string; borderFocusWarning: string; boxShadowFocusWarning: string; caretColorWarning: string; loadingColorError: string; borderError: string; borderHoverError: string; colorFocusError: string; borderFocusError: string; boxShadowFocusError: string; caretColorError: string; clearColor: string; clearColorHover: string; clearColorPressed: string; iconColor: string; iconColorDisabled: string; iconColorHover: string; iconColorPressed: string; suffixTextColor: string; selectionColor: string; }; peers: any; peerOverrides: { [x: string]: any; }; }>; cssVars: import("vue").ComputedRef<{ '--u-bezier': string; '--u-count-text-color': string; '--u-count-text-color-disabled': string; '--u-color': string; '--u-selection-color': string; '--u-font-size': string; '--u-font-weight': string; '--u-font-weight-strong': string; '--u-border-radius': string; '--u-height': string; '--u-padding-left': string; '--u-padding-right': string; '--u-text-color': string; '--u-caret-color': string; '--u-text-decoration-color': string; '--u-border': string; '--u-border-disabled': string; '--u-border-hover': string; '--u-border-focus': string; '--u-placeholder-color': string; '--u-placeholder-color-disabled': string; '--u-icon-size': string; '--u-line-height-textarea': string; '--u-color-disabled': string; '--u-color-focus': string; '--u-text-color-disabled': string; '--u-box-shadow-focus': string; '--u-loading-color': string; '--u-caret-color-success': string; '--u-color-focus-success': string; '--u-box-shadow-focus-success': string; '--u-border-success': string; '--u-border-focus-success': string; '--u-border-hover-success': string; '--u-loading-color-success': string; '--u-caret-color-warning': string; '--u-color-focus-warning': string; '--u-box-shadow-focus-warning': string; '--u-border-warning': string; '--u-border-focus-warning': string; '--u-border-hover-warning': string; '--u-loading-color-warning': string; '--u-caret-color-error': string; '--u-color-focus-error': string; '--u-box-shadow-focus-error': string; '--u-border-error': string; '--u-border-focus-error': string; '--u-border-hover-error': string; '--u-loading-color-error': string; '--u-clear-color': string; '--u-clear-size': string; '--u-clear-color-hover': string; '--u-clear-color-pressed': string; '--u-icon-color': string; '--u-icon-color-hover': string; '--u-icon-color-pressed': string; '--u-icon-color-disabled': string; '--u-suffix-text-color': string; }> | undefined; themeClass: import("vue").Ref | undefined; onRender: (() => void) | undefined; isCompositing: import("vue").Ref; blur: () => void; clear: () => void; focus: () => void; select: () => void; activate: () => void; deactivate: () => void; scrollTo: (options: ScrollToOptions) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; default: undefined; }; type: { type: PropType<"text" | "textarea" | "password">; default: string; }; placeholder: PropType; defaultValue: { type: PropType; default: null; }; value: PropType; disabled: { type: PropType; default: undefined; }; size: PropType; rows: { type: PropType; default: number; }; round: BooleanConstructor; minlength: PropType; maxlength: PropType; clearable: BooleanConstructor; autosize: { type: PropType; default: boolean; }; pair: BooleanConstructor; separator: StringConstructor; autocomplete: { type: BooleanConstructor; default: boolean; }; copyable: BooleanConstructor; uppercase: BooleanConstructor; debounceMs: NumberConstructor; readonly: { type: (StringConstructor | BooleanConstructor)[]; default: boolean; }; passivelyActivated: BooleanConstructor; showPasswordOn: PropType<"mousedown" | "click">; stateful: { type: BooleanConstructor; default: boolean; }; autofocus: BooleanConstructor; inputProps: PropType; resizable: { type: BooleanConstructor; default: boolean; }; showCount: BooleanConstructor; loading: { type: BooleanConstructor; default: undefined; }; loadingSkeleton: BooleanConstructor; formatter: PropType<(value: string) => string>; allowInput: PropType<(value: string) => boolean>; renderCount: PropType<(props: { value: string; }) => VNodeChild>; onMousedown: PropType<(e: MouseEvent) => void>; onKeydown: PropType<(e: KeyboardEvent) => void>; onKeyup: PropType void>>; onInput: PropType; onDebouncedInput: PropType; onFocus: PropType void>>; onBlur: PropType void>>; onClick: PropType void>>; onChange: PropType; onClear: PropType void>>; copyButtonCallback: PropType<(value: string) => void>; countGraphemes: PropType<(value: string) => number>; status: PropType; 'onUpdate:value': PropType>; onUpdateValue: PropType>; /** private */ textDecoration: PropType; attrSize: { type: NumberConstructor; default: number; }; onInputBlur: PropType void>>; onInputFocus: PropType void>>; onDeactivate: PropType void>>; onActivate: PropType void>>; onWrapperFocus: PropType void>>; onWrapperBlur: PropType void>>; internalDeactivateOnEnter: BooleanConstructor; internalForceFocus: BooleanConstructor; internalLoadingBeforeSuffix: { type: BooleanConstructor; default: boolean; }; /** deprecated */ showPasswordToggle: BooleanConstructor; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }>> & Readonly<{}>, { bordered: boolean | undefined; disabled: boolean | undefined; type: "textarea" | "text" | "password"; loading: boolean; clearable: boolean; defaultValue: string | [string, string] | null; round: boolean; loadingSkeleton: boolean; rows: string | number; stateful: boolean; resizable: boolean; pair: boolean; autosize: boolean | { minRows?: number; maxRows?: number; }; autocomplete: boolean; copyable: boolean; uppercase: boolean; readonly: string | boolean; passivelyActivated: boolean; autofocus: boolean; showCount: boolean; attrSize: number; internalDeactivateOnEnter: boolean; internalForceFocus: boolean; internalLoadingBeforeSuffix: boolean; showPasswordToggle: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;