import { default as React, Ref } from 'react';
import { CustomSchemaFormInstance } from './index';
import { CPluginCtx } from '../../core/pluginManager';
import { CForm } from './components/Form';
import { CFormContextData } from './components/Form/context';
export type ContextState = Record<string, any>;
export type CCustomSchemaFormContextData = {
    onSetterChange: (keyPaths: string[], setterName: string) => void;
    /** 存储 field 默认的 setter 类型*/
    defaultSetterConfig: Record<string, {
        name: string;
        setter: string;
    }>;
    /** schema 中的全局 setter map 配置*/
    customSetterMap: CFormContextData['customSetterMap'];
    formRef?: Ref<CustomSchemaFormInstance | CForm>;
    pluginCtx?: CPluginCtx;
    /** 当前编辑节点的 id */
    nodeId?: string;
};
export declare const CCustomSchemaFormContext: React.Context<CCustomSchemaFormContextData>;
