import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; import { Ref } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { autocomplete: string; type: string; modelValue: string; value: null; placeholder: undefined; }>>, { inputEl: Ref; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:model-value": (v: string | number) => void; change: (v: string | number) => void; focus: (evt: Event) => void; blur: (evt: Event) => void; }, string, PublicProps, Readonly, { autocomplete: string; type: string; modelValue: string; value: null; placeholder: undefined; }>>> & Readonly<{ onBlur?: ((evt: Event) => any) | undefined; onChange?: ((v: string | number) => any) | undefined; onFocus?: ((evt: Event) => any) | undefined; "onUpdate:model-value"?: ((v: string | number) => any) | undefined; }>, { type: string; placeholder: string; modelValue: string | number; value: string | number | null; autocomplete: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { prepend?(_: {}): any; append?(_: {}): any; hint?(_: {}): any; }>; export default _default; declare interface FieldProps { /** * Adds spacing under the field that is consistent whether hint/error text is displayed. */ addBottomSpace?: boolean; /** * Error text to display. Replaces `hintText` (if provided) & adds error styling. */ errorText?: string; /** * Displays text below the input; hidden when the isReadOnly prop is truthy. */ hintText?: string; /** * ID for the Label and Input; must be unique */ id?: string; /** * ID for the error text element; useful for aria-errormessage */ errorId?: string; /** * Whether it's a readonly field. */ isReadOnly?: boolean; /** * Whether the field is required. */ isRequired?: boolean; /** * Label to render above the input. */ label?: string; /** * Show "(optional)" to the right of the label text */ showOptionalInLabel?: boolean; /** * Indicates whether the label should be visually hidden (screen reader only). */ isLabelSrOnly?: boolean; /** * Indicates wheter the field is a fieldset or not */ fieldset?: boolean; /** * Indicates whether the field is disabled. */ isDisabled?: boolean; /** * Indicates whether the field is disabled. * * @deprecated Use `isDisabled` instead. */ disabled?: boolean; } export declare interface InputProps extends FieldProps { /** * Autocomplete takes in a string of off or on */ autocomplete?: string; /** * Value for the input element. */ modelValue?: string | number; /** * @deprecated Use :model-value or v-model instead of :value. */ value?: string | number | null; /** * Input type. Excludes certain types that have a dedicated component. * * Note: For distinguishing between text & number internally, passing `number` * will still render an input with a type of `text` (for localization). */ type?: string extends 'button' | 'checkbox' | 'radio' | 'submit' ? never : string; /** * Placeholder text for the input. * **Note:** placeholders should be used to display examples; they should not be used as labels because they are not accessible as labels. If a real label cannot be used, use the `aria-label` attribute. */ placeholder?: string; } export { }