import * as React from 'react';
import { FormContextType, FormField } from "../types.js";
export declare const FormContext: React.Context<FormContextType | null>;
interface FormProviderProps {
    children: React.ReactNode;
    formFields: FormField[];
    onChange?: (fields: FormField[]) => void;
}
export declare const FormProvider: ({ children, formFields, onChange }: FormProviderProps) => import("react/jsx-runtime").JSX.Element;
export declare const useFormContext: () => FormContextType;
export {};
