import type { ControlInteractionOptions } from './control-interaction.js'; export interface FormGroupContextValue { /** Stable id for the field control; matches the FormGroup label's `for`. */ inputId: string; /** Space-joined ids of the visible hint/error text, or undefined if none. */ describedBy: string | undefined; /** Whether the field is currently showing an error. */ invalid: boolean; /** Human-readable label and description for interaction adapters. */ label: string; description?: string; required: boolean; error?: string; interaction?: ControlInteractionOptions | false; } export declare function setFormGroupContext(get: () => FormGroupContextValue): void; export declare function tryGetFormGroupContext(): (() => FormGroupContextValue) | undefined; /** Deterministic, collision-resistant id for a FormGroup that wasn't given one. */ export declare function nextFieldId(): string; //# sourceMappingURL=form-group-context.d.ts.map