///
import { GlobalVariableItem } from 'amis-core';
import { Instance } from 'mobx-state-tree';
import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm, DeleteEventContext, BaseEventContext, IGlobalEvent } from '../plugin';
import type { Schema } from 'amis';
import { EditorNodeType } from './node';
import type { DialogSchema } from 'amis/lib/renderers/Dialog';
import type { DrawerSchema } from 'amis/lib/renderers/Drawer';
export interface SchemaHistory {
versionId: number;
schema: any;
}
export type SubEditorContext = {
title: string;
value: any;
onChange?: (value: any, diff: any) => void;
slot?: any;
data?: any;
validate?: (value: any) => void | string | Promise;
onDefinitionsChange?: (definitions: any, originDefinitions: any, value: any) => any;
canUndo?: boolean;
canRedo?: boolean;
typeMutable?: boolean;
memberImmutable?: boolean | Array;
props?: any;
hostNode?: EditorNodeType;
};
export type PatchItem = {
op: 'update' | 'replace';
target: string;
value: any;
} | {
op: 'delete';
target: string;
} | {
op: 'push';
target: string;
key: string;
value: any;
} | {
op: 'splice';
target: string;
key: string;
args: Array;
};
export interface ScaffoldFormContext extends ScaffoldForm {
value: any;
callback: (value: any) => void;
}
export interface PopOverFormContext extends PopOverForm {
target: () => HTMLElement;
value: any;
callback: (value: any, diff: any) => void;
node?: EditorNodeType;
}
export interface ModalFormContext extends PopOverForm {
mode?: 'dialog' | 'drawer';
size?: string;
postion?: string;
value: any;
callback: (value: any, diff: any) => void;
}
/**
* 搜集的 name 信息
*/
export interface TargetName {
type: string;
name: string;
editorId: string;
}
export type EditorModalBody = (DialogSchema | DrawerSchema) & {
$$id?: string;
$$ref?: string;
$$originId?: string;
actionType?: string;
};
export declare const MainStore: import("mobx-state-tree").IModelType<{
ready: import("mobx-state-tree").IType;
isMobile: import("mobx-state-tree").IType;
isSubEditor: import("mobx-state-tree").IType;
amisDocHost: import("mobx-state-tree").IOptionalIType, [undefined]>;
root: import("mobx-state-tree").IOptionalIType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & {
getClosestParentByType: (type: string) => void | ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>);
getParentNodeByCB: (callback: (node: import("mobx-state-tree").ModelCreationType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}>>) => Boolean) => {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
updateIsCommonConfig: (value: boolean) => void;
updateIsFormConfig: (value: boolean) => void;
addChild(props: {
id: string;
type: string;
label: string;
path: string;
isCommonConfig?: boolean | undefined;
isFormConfig?: boolean | undefined;
info?: RendererInfo | undefined;
region?: string | undefined;
getData?: (() => any) | undefined;
preferTag?: string | undefined;
schemaPath?: string | undefined;
dialogTitle?: string | undefined;
dialogType?: string | undefined;
regionInfo?: import("../plugin").RegionConfig | undefined;
widthMutable?: boolean | undefined;
memberIndex?: number | undefined;
}): any;
removeChild(child: any): void;
toggleFold(e: import("react").MouseEvent): void;
patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map | undefined): void;
updateSchema(value: any): void;
updateSchemaStyle(value: any): void;
setComponent(value: any): void;
getComponent(): any;
getTarget(): HTMLElement | HTMLElement[] | null;
calculateHighlightBox(root?: any): void;
resetHighlightBox(root: any): void;
updateState(state: any, replace?: boolean): void;
setWidthMutable(value: any): void;
setHeightMutable(value: any): void;
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
theme: import("mobx-state-tree").IType;
toolbarMode: import("mobx-state-tree").IType;
noDialog: import("mobx-state-tree").IType;
hoverId: import("mobx-state-tree").IType;
hoverRegion: import("mobx-state-tree").IType;
activeId: import("mobx-state-tree").IType;
activeRegion: import("mobx-state-tree").IType;
activeElement: import("mobx-state-tree").IType;
selections: import("mobx-state-tree").IOptionalIType, [undefined]>;
contextId: import("mobx-state-tree").IType;
dragMode: import("mobx-state-tree").IType;
dragId: import("mobx-state-tree").IType;
dragType: import("mobx-state-tree").IType;
dragSchema: import("mobx-state-tree").IType;
dropId: import("mobx-state-tree").IType;
dropRegion: import("mobx-state-tree").IType;
planDropId: import("mobx-state-tree").IType;
planDropRegion: import("mobx-state-tree").IType;
insertId: import("mobx-state-tree").IType;
insertRegion: import("mobx-state-tree").IType;
insertRenderers: import("mobx-state-tree").IOptionalIType, [undefined]>;
insertRenderersKeywords: import("mobx-state-tree").IType;
insertTag: import("mobx-state-tree").IType;
insertSelected: import("mobx-state-tree").IType;
insertMode: import("mobx-state-tree").IType;
insertOrigId: import("mobx-state-tree").IType;
insertBeforeId: import("mobx-state-tree").IType;
showInsertRenderer: import("mobx-state-tree").IType;
schema: import("mobx-state-tree").IType;
versionId: import("mobx-state-tree").IType;
schemaHistory: import("mobx-state-tree").IOptionalIType>, [undefined]>;
toolbars: import("mobx-state-tree").IOptionalIType, [undefined]>;
panels: import("mobx-state-tree").IOptionalIType, [undefined]>;
showCustomRenderersPanel: import("mobx-state-tree").IType;
renderersTabsKey: import("mobx-state-tree").IType;
outlineTabsKey: import("mobx-state-tree").IType;
subRenderers: import("mobx-state-tree").IOptionalIType, [undefined]>;
subRenderersKeywords: import("mobx-state-tree").IType;
subRenderersTag: import("mobx-state-tree").IType;
subRendererRegion: import("mobx-state-tree").IType;
customRenderersKeywords: import("mobx-state-tree").IType;
customRenderersTag: import("mobx-state-tree").IType;
panelKey: import("mobx-state-tree").IType;
leftPanelKey: import("mobx-state-tree").IType;
leftPanelOpenStatus: import("mobx-state-tree").IType;
jsonSchemaUri: import("mobx-state-tree").IType;
scaffoldForm: import("mobx-state-tree").IMaybe>;
scaffoldFormStep: import("mobx-state-tree").IType;
scaffoldStepManipulated: import("mobx-state-tree").IType;
scaffoldFormBuzy: import("mobx-state-tree").IType;
scaffoldError: import("mobx-state-tree").IType;
popOverForm: import("mobx-state-tree").IMaybe>;
modalForm: import("mobx-state-tree").IMaybe>;
modalMode: import("mobx-state-tree").IType;
modalFormBuzy: import("mobx-state-tree").IType;
modalFormError: import("mobx-state-tree").IType;
subEditorContext: import("mobx-state-tree").IMaybe>;
superEditorData: import("mobx-state-tree").IMaybe>;
calculateStarted: import("mobx-state-tree").IType;
targetNames: import("mobx-state-tree").IOptionalIType>, [undefined]>;
ctx: import("mobx-state-tree").IType;
i18nEnabled: import("mobx-state-tree").IOptionalIType, [undefined]>;
appLocale: import("mobx-state-tree").IOptionalIType, [undefined]>;
appCorpusData: import("mobx-state-tree").IOptionalIType, [undefined]>;
appLocaleState: import("mobx-state-tree").IOptionalIType, [undefined]>;
globalEvents: import("mobx-state-tree").IOptionalIType, [undefined]>;
globalVariables: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
readonly filteredSchema: any;
readonly filteredSchemaForPreview: any;
isRootSchema(id: string): boolean;
readonly rootId: any;
getRootId(): any;
isHoved(id: string): boolean | "";
isActive(id: string): boolean | "";
isContextOn(id: string): boolean | "";
readonly activeContainerId: string;
isRegionHighlighted(id: string, region: string): boolean;
isRegionActive(id: string, region: string): boolean;
isRegionDragEnter(id: string, region: string): boolean;
readonly highlightNodes: ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & {
getClosestParentByType: (type: string) => void | ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>);
getParentNodeByCB: (callback: (node: import("mobx-state-tree").ModelCreationType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}>>) => Boolean) => {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType