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