import { AllColorsVariant, ColorVariant } from '../../types/ColorVariants'; import { SizeVariant } from '../../types/SizeVariants'; import { PropType, ExtractPropTypes, Ref } from 'vue'; import { UseModelProps } from '../model'; export declare const StaticUseInputProps: { isFocused: { type: PropType; default: boolean; }; onFocus: { type: PropType<(e?: Event | undefined) => void>; required: false; }; onBlur: { type: PropType<(e?: Event | undefined) => void>; required: false; }; focusOnMount: { type: PropType; default: boolean; }; isDisabled: { type: PropType; required: boolean; default: boolean; }; isReadonly: { type: PropType; required: boolean; default: boolean; }; disableIfReadonly: { type: PropType; required: boolean; default: boolean; }; useNativeValidation: { type: PropType; default: boolean; }; isValid: { type: PropType; default: boolean; }; 'onUpdate:isValid': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; variant: { type: PropType; default: ""; }; type: { type: PropType; }; autocomplete: { type: PropType; }; placeholder: { type: PropType; }; size: { type: PropType; default: SizeVariant; }; isRequired: { type: BooleanConstructor; default: boolean; }; isExpanded: { type: PropType; default: boolean; }; isLoading: { type: PropType; default: boolean; }; isRounded: { type: PropType; default: boolean; }; maxlength: { type: PropType; }; icon: null; usePasswordReveal: { type: PropType; default: undefined; }; }; declare type StaticInputProps = ExtractPropTypes; export declare function getUseInputPropsDefinition(): { isFocused: { type: PropType; default: boolean; }; onFocus: { type: PropType<(e?: Event | undefined) => void>; required: false; }; onBlur: { type: PropType<(e?: Event | undefined) => void>; required: false; }; focusOnMount: { type: PropType; default: boolean; }; isDisabled: { type: PropType; required: boolean; default: boolean; }; isReadonly: { type: PropType; required: boolean; default: boolean; }; disableIfReadonly: { type: PropType; required: boolean; default: boolean; }; useNativeValidation: { type: PropType; default: boolean; }; isValid: { type: PropType; default: boolean; }; 'onUpdate:isValid': { type: PropType>; default: import("fp-ts/lib/function").Lazy<() => void>; }; variant: { type: PropType; default: ""; }; type: { type: PropType; }; autocomplete: { type: PropType; }; placeholder: { type: PropType; }; size: { type: PropType; default: SizeVariant; }; isRequired: { type: BooleanConstructor; default: boolean; }; isExpanded: { type: PropType; default: boolean; }; isLoading: { type: PropType; default: boolean; }; isRounded: { type: PropType; default: boolean; }; maxlength: { type: PropType; }; icon: null; usePasswordReveal: { type: PropType; default: undefined; }; modelValue: { type: PropType; required: false; }; 'onUpdate:modelValue': { type: PropType>; default: import("fp-ts/lib/function").Lazy>; }; }; export declare type UseInputProps = UseModelProps & StaticInputProps; export declare function useInput(props: UseInputProps, ref: Ref): { iconSize: import("vue").ComputedRef<"" | "is-small">; type: Ref; passwordToggle: { isOn: import("vue").WritableComputedRef; isOff: import("vue").ComputedRef; attrs: import("vue").ComputedRef<{ 'aria-haspopup'?: boolean; tabindex: number; role: string; type: string; 'aria-pressed': boolean; 'aria-expanded': boolean; }>; listeners: { onClick: import("fp-ts/lib/IO").IO; onKeydown: (e: KeyboardEvent) => void; }; props: import("vue").ComputedRef<{ onClick: import("fp-ts/lib/IO").IO; onKeydown: (e: KeyboardEvent) => void; 'aria-haspopup'?: boolean; tabindex: number; role: string; type: string; 'aria-pressed': boolean; 'aria-expanded': boolean; }>; setOn: (e?: Event | undefined) => void; setOff: (e?: Event | undefined) => void; toggle: (e?: Event | undefined) => void; }; usePasswordReveal: import("vue").ComputedRef; isDisabled: Ref; isValid: Ref; validate: () => void; isFocused: Ref; focus: (e?: Event | undefined) => void; onFocus: (e?: Event | undefined) => void; onBlur: (e?: Event | undefined) => void; set: import("fp-ts/lib/function").FunctionN<[T], void>; modelValue: Ref; onNativeInput: import("fp-ts/lib/function").FunctionN<[Event], void>; isExpanded: import("vue").ComputedRef; isFullwidth: import("vue").ComputedRef; messageVariant: import("vue").ComputedRef; setters: import("../fieldData").FieldDataListeners; onNewMessage: import("fp-ts/lib/function").FunctionN<[string | { [K: string]: boolean; } | (string | { [K: string]: boolean; })[]], void>; onNewVariant: import("fp-ts/lib/function").FunctionN<[AllColorsVariant], void>; label: Ref; message: Ref; id: Ref; labelId: Ref; "onUpdate:modelValue": Ref>; variant: Ref; size: Ref; isRounded: Ref; isLoading: Ref; focusOnMount: Ref; isReadonly: Ref; disableIfReadonly: Ref; useNativeValidation: Ref; "onUpdate:isValid": Ref>; isRequired: Ref; icon?: Ref | undefined; autocomplete?: Ref | undefined; placeholder?: Ref | undefined; maxlength?: Ref | undefined; }; export declare type Input = ReturnType; export {};