import type { FieldContextValue } from '../types'; export declare const FieldContext: import("react").Context; /** * Read the nearest Field context. Throws when used outside a ``. * For compound children that **require** a Field ancestor (Label, Description, ErrorMessage). */ export declare const useFieldContext: () => FieldContextValue; /** * Optionally read the nearest Field context. Returns `null` when no Field * ancestor is present, allowing form controls (Switch, Checkbox, etc.) to * work both standalone and inside a Field. */ export declare const useOptionalFieldContext: () => FieldContextValue | null;