import { FieldValues, UseFormStateProps } from 'react-hook-form'; import { UseComposeClassNameProps, UseComposeHelperTextProps, UseComposeModifierStateProps, UseComposeStyleProps } from './internals'; import type * as React from 'react'; /** * Defines the properties for the `useFormStateAdapter` hook, including component-specific props. */ export interface UseFormStateAdapterProps extends UseFormStateProps, Omit, Omit, Omit, Omit, 'fieldError' | 'name'> { } /** * Hook for create a form state adapter. * * @param props - The properties for the form state adapter hook. * @param [ref] - A ref to be forwarded to the component. * @returns The adapted props object for the component. */ export declare function useFormStateAdapter(props: UseFormStateAdapterProps, ref?: React.Ref): { className: string | undefined; disabled: boolean; error: boolean; helperText: React.ReactNode; name: import('react-hook-form').Path | import('react-hook-form').Path[] | readonly import('react-hook-form').Path[] | undefined; ref: React.Ref | undefined; style: React.CSSProperties | undefined; };