import type { Instance } from 'mobx-state-tree'; import type { Schema } from 'jamis-core'; import type { IPlayNode } from './types'; export declare const PlayStore: import("mobx-state-tree").IModelType<{ id: import("mobx-state-tree").ISimpleType; path: import("mobx-state-tree").IType; storeType: import("mobx-state-tree").ISimpleType; disposed: import("mobx-state-tree").IType; parentId: import("mobx-state-tree").IType; childrenIds: import("mobx-state-tree").IOptionalIType>, [undefined]>; } & { hasRemoteData: import("mobx-state-tree").IOptionalIType, [undefined]>; data: import("mobx-state-tree").IOptionalIType, [undefined]>; initedAt: import("mobx-state-tree").IType; updatedAt: import("mobx-state-tree").IType; pristine: import("mobx-state-tree").IOptionalIType, [undefined]>; action: import("mobx-state-tree").IOptionalIType, [undefined]>; dialogOpen: import("mobx-state-tree").IType; dialogData: import("mobx-state-tree").IOptionalIType, [undefined]>; drawerOpen: import("mobx-state-tree").IType; drawerData: import("mobx-state-tree").IOptionalIType, [undefined]>; rendererProxy: import("mobx-state-tree" /** * 更新节点, 如果newSchema是空对象或者null, 代表删除 */).IOptionalIType, [undefined]>; } & { msg: import("mobx-state-tree").IType; error: import("mobx-state-tree").IType; fetching: import("mobx-state-tree").IType; saving: import("mobx-state-tree").IType; busying: import("mobx-state-tree").IType; checking: import("mobx-state-tree").IType; initializing: import("mobx-state-tree").IType; schema: import("mobx-state-tree").IOptionalIType, [undefined]>; schemaKey: import("mobx-state-tree").IType; } & { folded: import("mobx-state-tree").IType; originSchema: import("mobx-state-tree").IOptionalIType, [undefined]>; }, { readonly parentStore: any; readonly __: any; readonly hasChildren: boolean; readonly children: any[]; readonly isAlive: boolean; } & { onChildStoreDispose(child: any): void; syncProps(props: any, prevProps: any, list?: Array): void; syncProp(key: string, propValue: any, prevPropValue: any): void; dispose: (callback?: () => void) => void; addChildId: (id: string) => void; removeChildId: (id: string) => void; } & { getValueByName(name: string, canAccessSuper?: boolean): any; getPristineValueByName(name: string): any; } & { initData(data?: Record, skipSetPristine?: boolean): void; reset(): void; updateData(data?: object, tag?: object, replace?: boolean): void; changeValue(name: string, value: any, changePristine?: boolean, force?: boolean, otherModifier?: (data: Object) => void): void; setCurrentAction(action: object): void; openDialog(ctx?: any, additonal?: object, callback?: (ret: any) => void): void; closeDialog(result?: any): void; openDrawer(ctx: any, additonal?: object, callback?: (ret: any) => void): void; closeDrawer(result?: any): void; updateRendererProxy(proxy: import("jamis-core").RendererProxy): void; } & { readonly loading: boolean; } & { markFetching: (fetching?: boolean) => void; markSaving: (saving?: boolean) => void; markBusying: (busying?: boolean) => void; markInitializing: (initializing?: boolean) => void; fetchInitData: (api: import("jamis-core").Api, data?: object, options?: import("jamis-core").fetchOptions) => Promise; fetchData: (api: import("jamis-core").Api, data?: object, options?: import("jamis-core").fetchOptions) => Promise; reInitData: (data: object | undefined, replace?: boolean) => void; updateMessage: (msg?: string, error?: boolean) => void; clearMessage: () => void; setHasRemoteData: () => void; saveRemote: (api: import("jamis-core").Api, data?: object, options?: import("jamis-core").fetchOptions) => Promise; fetchSchema: (api: import("jamis-core").Api, data?: object, options?: import("jamis-core").fetchOptions & { syncInitializing?: boolean; syncSchema?: boolean; }) => Promise<{ shema?: Schema; schemaData?: Record; }>; checkRemote: (api: import("jamis-core").Api, data?: object, options?: import("jamis-core").fetchOptions) => Promise; runSchemaProvider: (schemaProvider: () => Promise, replaceData: boolean) => Promise; updateSchema: (schema: any, key: string) => void; } & { loadSchema: (schema: string | Record) => void; addChild: (parentId: string, slot: string, newItemSchema: Schema) => void; /** * 更新节点, 如果newSchema是空对象或者null, 代表删除 */ updateNode: (id: string, newValue: Schema) => IPlayNode | null; pipeOut: any; toString: any; getById: (pgid: string) => IPlayNode | undefined; getRootNode: () => IPlayNode; toggleFoled: (forceFolded?: boolean) => void; }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>; export type IPlayStore = Instance;