import React from 'react';
import { CSetter } from '../Setters/type';
export type ContextState = Record<string, any>;
export type CFormContextData = {
    formName: string;
    formState: ContextState;
    conditionConfig: Record<string, (state: ContextState) => boolean>;
    customSetterMap?: Record<string, CSetter>;
    updateContext: (newState: ContextState) => void;
    updateConditionConfig: (name: string, cb: (state: ContextState) => boolean) => void;
};
export declare const CFormContext: React.Context<CFormContextData>;
