import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { ReactNode, ElementType } from 'react'; interface FieldContextType { disabled?: boolean; fluid?: boolean; hasLabel?: boolean; hasMessage?: boolean; id?: string; inputClassName?: string; inputId?: string; isGroup?: boolean; labelClassName?: string; labelId?: string; messageClassName?: string; messageId?: string; required?: boolean; validationState?: "valid" | "invalid"; } declare const FieldContext: react.Context; declare function useFieldContext(): [FieldContextType, boolean]; interface ClearFieldContextProps { children?: ReactNode; } declare function ClearFieldContext({ children }: ClearFieldContextProps): react_jsx_runtime.JSX.Element; interface UseFieldLabelProps { as?: ElementType; } interface UseFieldLabelPropsReturn { as?: ElementType; className?: string; htmlFor?: string; id?: string; required?: boolean; } declare function useFieldLabelProps({ as: asProp }: UseFieldLabelProps): [UseFieldLabelPropsReturn, boolean]; interface UseFieldInputPropsReturn { "aria-describedby"?: string; "aria-labelledby"?: string; className?: string; disabled?: boolean; fluid?: boolean; id?: string; required?: boolean; validationState?: "valid" | "invalid"; } declare function useFieldInputProps(): [UseFieldInputPropsReturn, boolean]; interface UseFieldMessagePropsReturn { "aria-live"?: "polite"; className?: string; fluid?: boolean; id?: string; validationState?: "valid" | "invalid"; } declare function useFieldMessageProps(): [UseFieldMessagePropsReturn, boolean]; export { ClearFieldContext, type ClearFieldContextProps, FieldContext, type FieldContextType, type UseFieldInputPropsReturn, type UseFieldLabelProps, type UseFieldLabelPropsReturn, type UseFieldMessagePropsReturn, useFieldContext, useFieldInputProps, useFieldLabelProps, useFieldMessageProps };