import * as vue from 'vue'; import { ComponentPropsOptions, ExtractPropTypes, VNodeChild, VNode, JSXComponent, PropType, ComputedRef, Ref } from 'vue'; type SlotsToProps> = { $children?: (VNodeChild | (T extends { default: infer V; } ? V : {}) | { [K in keyof T]?: T[K]; }); 'v-slots'?: { [K in keyof T]?: T[K] | false; }; } & { [K in keyof T as `v-slot:${K & string}`]?: T[K] | false; }; type RawSlots = Record; type Slot = [T] extends [never] ? () => VNodeChild : (arg: T) => VNodeChild; type VueSlot = [T] extends [never] ? () => VNode[] : (arg: T) => VNode[]; type MakeInternalSlots = { [K in keyof T]: Slot; }; type MakeSlots = { [K in keyof T]: VueSlot; }; type GenericProps> = { $props: Props & SlotsToProps; $slots: MakeSlots; }; interface FilterPropsOptions, Props = ExtractPropTypes> { filterProps, U extends Exclude>>(props: T): Partial>; } type Density = null | 'default' | 'comfortable' | 'compact'; type ValidationResult = string | boolean; type ValidationRule = ValidationResult | PromiseLike | ((value: any) => ValidationResult) | ((value: any) => PromiseLike); type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent; declare const IconValue: PropType; type VMessageSlot = { message: string; }; interface VInputSlot { id: ComputedRef; messagesId: ComputedRef; isDirty: ComputedRef; isDisabled: ComputedRef; isReadonly: ComputedRef; isPristine: Ref; isValid: ComputedRef; isValidating: Ref; reset: () => void; resetValidation: () => void; validate: () => void; } type VInputSlots = { default: VInputSlot; prepend: VInputSlot; append: VInputSlot; details: VInputSlot; message: VMessageSlot; }; declare const VInput: { new (...args: any[]): vue.CreateComponentPublicInstance<{ error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { id?: string | undefined; name?: string | undefined; label?: string | undefined; class?: any; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined; 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined; 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined; validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined; validationValue?: any; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { reset: () => void; resetValidation: () => void; validate: (silent?: boolean) => Promise; isValid: ComputedRef; errorMessages: ComputedRef; }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{ 'update:modelValue': (value: any) => true; }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:message" | "v-slot:details">, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & { error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { id?: string | undefined; name?: string | undefined; label?: string | undefined; class?: any; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined; 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined; 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined; validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined; validationValue?: any; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; }, true, {}, vue.SlotsType vue.VNode[]; prepend: (arg: VInputSlot) => vue.VNode[]; append: (arg: VInputSlot) => vue.VNode[]; details: (arg: VInputSlot) => vue.VNode[]; message: (arg: VMessageSlot) => vue.VNode[]; }>>, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, { error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { id?: string | undefined; name?: string | undefined; label?: string | undefined; class?: any; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined; 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined; 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined; validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined; validationValue?: any; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { reset: () => void; resetValidation: () => void; validate: (silent?: boolean) => Promise; isValid: ComputedRef; errorMessages: ComputedRef; }, {}, {}, {}, { error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & vue.ComponentOptionsBase<{ error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; } & { id?: string | undefined; name?: string | undefined; label?: string | undefined; class?: any; prependIcon?: IconValue | undefined; appendIcon?: IconValue | undefined; 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined; 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined; 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined; validateOn?: "lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined; validationValue?: any; hint?: string | undefined; hideDetails?: boolean | "auto" | undefined; } & {}, { reset: () => void; resetValidation: () => void; validate: (silent?: boolean) => Promise; isValid: ComputedRef; errorMessages: ComputedRef; }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, Omit<{ 'update:modelValue': (value: any) => true; }, "$children" | "v-slot:default" | "v-slots" | "v-slot:append" | "v-slot:prepend" | "modelValue" | "update:modelValue" | "v-slot:message" | "v-slot:details">, string, { error: boolean; direction: "horizontal" | "vertical"; style: vue.StyleValue; disabled: boolean | null; readonly: boolean | null; messages: string | readonly string[]; density: Density; focused: boolean; errorMessages: string | readonly string[] | null; maxErrors: string | number; rules: readonly ValidationRule[]; centerAffix: boolean; hideSpinButtons: boolean; persistentHint: boolean; }, {}, string, vue.SlotsType vue.VNode[]; prepend: (arg: VInputSlot) => vue.VNode[]; append: (arg: VInputSlot) => vue.VNode[]; details: (arg: VInputSlot) => vue.VNode[]; message: (arg: VMessageSlot) => vue.VNode[]; }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & (new (props: { modelValue?: T | null | undefined; 'onUpdate:modelValue'?: ((value: T | null) => void) | undefined; }, slots: VInputSlots) => GenericProps<{ modelValue?: T | null | undefined; 'onUpdate:modelValue'?: ((value: T | null) => void) | undefined; }, VInputSlots>) & FilterPropsOptions<{ focused: BooleanConstructor; 'onUpdate:focused': PropType<(args_0: boolean) => void>; disabled: { type: PropType; default: null; }; error: BooleanConstructor; errorMessages: { type: PropType; default: () => never[]; }; maxErrors: { type: (StringConstructor | NumberConstructor)[]; default: number; }; name: StringConstructor; label: StringConstructor; readonly: { type: PropType; default: null; }; rules: { type: PropType; default: () => never[]; }; modelValue: null; validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>; validationValue: null; density: { type: PropType; default: string; validator: (v: any) => boolean; }; class: PropType; style: { type: PropType; default: null; }; id: StringConstructor; appendIcon: PropType; centerAffix: { type: BooleanConstructor; default: boolean; }; prependIcon: PropType; hideDetails: PropType; hideSpinButtons: BooleanConstructor; hint: StringConstructor; persistentHint: BooleanConstructor; messages: { type: PropType; default: () => never[]; }; direction: { type: PropType<"horizontal" | "vertical">; default: string; validator: (v: any) => boolean; }; 'onClick:prepend': PropType<(args_0: MouseEvent) => void>; 'onClick:append': PropType<(args_0: MouseEvent) => void>; }, vue.ExtractPropTypes<{ focused: BooleanConstructor; 'onUpdate:focused': PropType<(args_0: boolean) => void>; disabled: { type: PropType; default: null; }; error: BooleanConstructor; errorMessages: { type: PropType; default: () => never[]; }; maxErrors: { type: (StringConstructor | NumberConstructor)[]; default: number; }; name: StringConstructor; label: StringConstructor; readonly: { type: PropType; default: null; }; rules: { type: PropType; default: () => never[]; }; modelValue: null; validateOn: PropType<"lazy" | ("input" | "blur" | "submit") | "input lazy" | "blur lazy" | "submit lazy" | "lazy input" | "lazy blur" | "lazy submit" | undefined>; validationValue: null; density: { type: PropType; default: string; validator: (v: any) => boolean; }; class: PropType; style: { type: PropType; default: null; }; id: StringConstructor; appendIcon: PropType; centerAffix: { type: BooleanConstructor; default: boolean; }; prependIcon: PropType; hideDetails: PropType; hideSpinButtons: BooleanConstructor; hint: StringConstructor; persistentHint: BooleanConstructor; messages: { type: PropType; default: () => never[]; }; direction: { type: PropType<"horizontal" | "vertical">; default: string; validator: (v: any) => boolean; }; 'onClick:prepend': PropType<(args_0: MouseEvent) => void>; 'onClick:append': PropType<(args_0: MouseEvent) => void>; }>>; type VInput = InstanceType; export { VInput };