import { ReactNode } from 'react'; import { type SubmissionStore } from '../../core/forms/controller.js'; /** The underlying store, for `FormWrapper`, which writes to it rather than reading it. */ export declare function useFormSubmissionStore(): SubmissionStore; export declare function useFormSubmission(): { setStatus: (status: import("../../core/forms/controller.js").FormStatus, error?: unknown) => void; status: import("../../core/forms/controller.js").FormStatus; error: unknown; errorMessage: string | undefined; formSuccess: boolean; formError: boolean; isSubmitting: boolean; }; type FormSubmissionProviderProps = { children: ReactNode; }; export declare function FormSubmissionProvider({ children }: FormSubmissionProviderProps): import("react").JSX.Element; export {};