import { type FieldsetHTMLAttributes } from 'vue'; import { type OUIAProps } from '../../helpers/ouia'; import PfHelperTextItem from '../HelperText/HelperTextItem.vue'; import type { InputValidateState } from '../../input'; import type { ComponentProps } from 'vue-component-type-helpers'; interface Props extends OUIAProps, /* @vue-ignore */ FieldsetHTMLAttributes { fieldset?: boolean; /** Label text before the field. */ label?: string; /** Additional label information displayed after the label. */ labelInfo?: string; /** Sets the FormGroup required. */ required?: boolean; /** * Sets the FormGroup validated. If you set to success, text color of helper text will be modified to indicate valid state. * If set to error, text color of helper text will be modified to indicate error state. * If set to warning, text color of helper text will be modified to indicate warning state. */ validated?: InputValidateState; inline?: boolean; /** Sets the FormGroupControl to be stacked */ stack?: boolean; /** Removes top spacer from label. */ noPaddingTop?: boolean; /** Sets the FormGroup action modifier. Used to contain form action buttons. */ actionGroup?: boolean; /** Helper text regarding the field. */ helperText?: string; /** Helper text variant. */ helperTextVariant?: ComponentProps['variant']; /** Flag to position the helper text before the field. False by default */ helperTextBeforeField?: boolean; /** Helper text after the field when the field is invalid. */ helperTextInvalid?: string; /** ID of an individual field or a group of multiple fields. Generated when not set. * With a label, the label is linked to the first field set up in the group that has no label of its own: * that field gets this id unless it has its own. When it is unmounted, the next eligible field gets linked. */ fieldId?: string; /** Sets the role of the form group. Pass in "radiogroup" when the form group contains multiple * radio inputs, or pass in "group" when the form group contains multiple of any other input type. */ role?: string; } type __VLS_Slots = { default: (props?: Record) => any; label?: (props?: Record) => any; /** A help button for the label, like a pf-form-group-label-help wrapped in a pf-popover */ 'label-help'?: (props?: Record) => any; 'label-info'?: (props?: Record) => any; 'helper-text-invalid'?: (props?: Record) => any; 'helper-text'?: (props?: Record) => any; }; declare const __VLS_base: import("vue").DefineComponent & Readonly<{}>, { ouiaSafe: boolean; helperTextVariant: "success" | "error" | "warning" | "default" | "indeterminate"; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //# sourceMappingURL=FormGroup.vue.d.ts.map