import { default as React } from 'react';
import { FormStatus } from './Form';
type ConfigWithInternal<T> = T & any;
interface FormConfigContextType<T = any> {
    formConfig: ConfigWithInternal<T> | null;
    parentOnChange?: (status: FormStatus<T>) => void;
}
interface FormConfigProviderProps<T = any> {
    children: React.ReactNode;
    formConfig: ConfigWithInternal<T> | null;
    parentOnChange?: (status: FormStatus<T>) => void;
}
export declare const FormConfigProvider: <T>({ children, formConfig, parentOnChange }: FormConfigProviderProps<T>) => import("react/jsx-runtime").JSX.Element;
export declare const useFormConfigContext: <T = any>() => FormConfigContextType<T> | null;
export {};
