import { type FieldMessageState } from "./fieldMessageStyles"; export type FieldIds = { inputId: string; labelId: string; helperId: string; errorId: string; describedBy: string | undefined; /** Spread onto the focusable control: `id`, `aria-invalid`, `aria-describedby`. */ controlProps: { id: string; "aria-invalid": true | undefined; "aria-describedby": string | undefined; }; }; /** Stable ids for a field and its message row; `describedBy` points at whichever message is shown. */ export declare const useFieldIds: (id?: string, state?: FieldMessageState) => FieldIds;