import * as React from 'react'; import { FormGroupProps } from '..'; import { InfoTipSubComponentProps } from '../Tip/InfoTip/type-utils'; import { ConnectedField, FieldProps, SubmitContextProps } from './types'; export interface ConnectedFormGroupBaseProps extends Omit { customError?: string; errorType?: 'initial' | 'absolute'; hideLabel?: boolean; name: string; label: React.ReactNode; required?: boolean; /** * InfoTip to display next to the field label. The InfoTip button is * automatically labelled by the field label. To override this behavior, * provide `ariaLabel` or `ariaLabelledby`. */ infotip?: InfoTipSubComponentProps; } export interface ConnectedFormGroupProps extends SubmitContextProps, ConnectedFormGroupBaseProps { /** * An object consisting of a `component` key to specify what ConnectedFormInput to render - the remaining key/value pairs are that components desired props. */ field: Omit, 'name' | 'disabled'> & FieldProps; } export declare function ConnectedFormGroup({ customError, children, disabled, errorType, field, hideLabel, id, label, name, labelSize, spacing, isSoloField, infotip, }: ConnectedFormGroupProps): import("react/jsx-runtime").JSX.Element;