/// <reference types="react" />
export declare function useNestedForm({ value, onSubmit }: any, marshall?: Function, unmarshall?: Function): {
    Form: ({ customChildren, ...props }: any) => JSX.Element;
    form: {
        errors: {
            _: any;
        } | {
            _?: undefined;
        };
        color: import("../types").box_color;
        rhf: import("react-hook-form").UseFormReturn<{}>;
    };
    field: {
        register: import("react-hook-form").UseFormRegister<{}>;
        control: import("react-hook-form").Control<{}>;
        errors: {};
        defaultValues: {};
        disabled: boolean;
    };
    t: import("react-i18next").TFunction<"translation">;
    tf: (k: string | string[], ...args: any[]) => any;
    color: import("../types").box_color;
    SubmitButton: ({ className, overridenClassName, ...props }: any) => JSX.Element;
};
export default useNestedForm;
//# sourceMappingURL=useNestedForm.d.ts.map