import * as React from "react";
//#region src/Field.d.ts
interface FieldControlState {
  id: string;
  invalid: boolean;
  required?: boolean;
  describedBy?: string;
}
declare const FieldContext: React.Context<FieldControlState | null>;
declare function useFieldControl(): FieldControlState | null;
interface FieldProps {
  label: string;
  htmlFor?: string;
  hint?: string;
  error?: string;
  required?: boolean;
  children: React.ReactNode;
}
declare function Field({ label, htmlFor, hint, error, required, children }: FieldProps): React.JSX.Element;
//#endregion
export { Field, FieldContext, FieldControlState, FieldProps, useFieldControl };