import { type FormControlState } from "./FormControlContext.js"; type FormControlStateKey = keyof FormControlState; type FormControlStateResult = { [State in States[number]]: State extends keyof Props ? Props[State] | FormControlState[State] : FormControlState[State] }; export default function useFormControl(): FormControlState | undefined; export declare function useFormControlState({ props, states }: { props: Props; states: States; }): [FormControlStateResult, FormControlState | undefined]; export {};