import { type ReactNode } from "react"; import type { FormContextValue } from "../core/types"; export declare function useForm(): FormContextValue | null; interface FormProviderProps { submitAction: string; onSubmit: (action: string, values: Record) => void | Promise; children: ReactNode; } export declare function FormProvider({ submitAction, onSubmit, children }: FormProviderProps): import("react").JSX.Element; export {};