type FormFieldIds = { fieldId: string; labelId: string; errorId: string; hintId: string; descriptionId: string; }; type FormFieldAria = { 'aria-describedby'?: string; 'aria-invalid'?: boolean; 'aria-errormessage'?: string; id: string; }; type UseFormFieldOptions = { id?: string; hasError?: boolean; hasHint?: boolean; }; type UseFormFieldReturn = { ids: FormFieldIds; labelProps: { htmlFor: string; id: string; }; fieldProps: FormFieldAria; errorProps: { id: string; role: 'alert'; }; hintProps: { id: string; }; }; declare function useFormField(options?: UseFormFieldOptions): UseFormFieldReturn; export { useFormField }; export type { UseFormFieldReturn, UseFormFieldOptions, FormFieldIds };