import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } 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, { addBottomSpace: boolean; errorText: undefined; hintText: undefined; id: undefined; errorId: undefined; isRequired: boolean; label: undefined; showOptionalInLabel: boolean; isLabelSrOnly: boolean; fieldset: boolean; isDisabled: boolean; disabled: boolean; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly, { addBottomSpace: boolean; errorText: undefined; hintText: undefined; id: undefined; errorId: undefined; isRequired: boolean; label: undefined; showOptionalInLabel: boolean; isLabelSrOnly: boolean; fieldset: boolean; isDisabled: boolean; disabled: boolean; }>>> & Readonly<{}>, { disabled: boolean; fieldset: boolean; label: string; id: string; isRequired: boolean; isDisabled: boolean; addBottomSpace: boolean; errorText: string; hintText: string; errorId: string; showOptionalInLabel: boolean; isLabelSrOnly: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: { fieldId: string; fieldErrorId: string; hasError: boolean; isRequired: boolean; isReadOnly: boolean; disabled: boolean; labelId: string; showOptionalInLabel: boolean; }): any; hint?(_: {}): any; }>; export default _default; export 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 { }