import * as React from 'react'; export interface FormGroupProps extends React.HTMLAttributes { /** * @children required */ children: React.ReactNode; /** * Style properties for the component container element */ containerStyle?: React.CSSProperties; /** * Content of the error message. If a value is provided, the form fields will be styled to show an error state */ errorMessage?: React.ReactNode; /** * Content of the helper message */ helperMessage?: React.ReactNode; isInverse?: boolean; /** * If true, label text for the form group will be hidden visually, but will still be read by assistive technology * @default false */ isTextVisuallyHidden?: boolean; /** * ID of the element that labels the form group, used in the aria-labelledby attribute for the group. Alternatively, the labelText prop can be used */ labelledById?: string; /** * Style properties for the label of the form group */ labelStyle?: React.CSSProperties; /** * Content of label for form group; can be a node or a string. Alternatively, the labelledById prop can be used */ labelText?: React.ReactNode; /** * @internal */ testId?: string; } export interface FormGroupContextInterface { descriptionId?: string; hasError?: boolean; } export declare const FormGroupContext: React.Context; export declare const FormGroup: React.ForwardRefExoticComponent>;