import { Instance } from 'mobx-state-tree'; import { GlobalVariableItem, GlobalVariableState, GlobalVariableItemFull } from '../globalVar'; export declare const RootStore: 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]>; pristineRaw: import("mobx-state-tree").IOptionalIType, [undefined]>; upStreamData: import("mobx-state-tree").IOptionalIType, [undefined]>; action: import("mobx-state-tree").IOptionalIType, [undefined]>; dialogSchema: import("mobx-state-tree").IType; dialogOpen: import("mobx-state-tree").IType; dialogData: import("mobx-state-tree").IOptionalIType, [undefined]>; drawerSchema: import("mobx-state-tree").IType; drawerOpen: import("mobx-state-tree").IType; drawerData: import("mobx-state-tree").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; } & { runtimeError: import("mobx-state-tree").IType; runtimeErrorStack: import("mobx-state-tree").IType; query: import("mobx-state-tree").IType; ready: import("mobx-state-tree").IType; globalVarTempStates: import("mobx-state-tree").IOptionalIType>, [undefined]>; globalVarStates: import("mobx-state-tree").IOptionalIType>, [undefined]>; }, { readonly parentStore: any; readonly __: any; readonly hasChildren: boolean; readonly children: any[]; } & { onChildStoreDispose(child: any): void; syncProps(props: any, prevProps: any, list?: string[]): void; dispose: (callback?: (() => void) | undefined) => void; addChildId: (id: string) => void; removeChildId: (id: string) => void; } & { getValueByName(name: string, canAccessSuper?: boolean): any; getPristineValueByName(name: string): any; readonly pristineDiff: any; } & { setTopStore(value: any): void; initData(data?: object, skipSetPristine?: boolean, changeReason?: import("..").DataChangeReason | undefined): void; temporaryUpdateGlobalVars(globalVar: any): void; unDoTemporaryUpdateGlobalVars(): void; reset(): void; updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined, changeReason?: import("..").DataChangeReason | undefined): void; changeValue(name: string, value: any, changePristine?: boolean | undefined, force?: boolean | undefined, otherModifier?: ((data: Object) => void) | undefined, changeReason?: import("..").DataChangeReason | undefined): void; setCurrentAction(action: any, resolveDefinitions?: ((schema: any) => any) | undefined): void; openDialog(ctx: any, additonal?: object | undefined, callback?: ((confirmed: boolean, values: any) => void) | undefined, scoped?: import("..").IScopedContext | undefined): void; closeDialog(confirmed?: any, data?: any): void; openDrawer(ctx: any, additonal?: object | undefined, callback?: ((confirmed: boolean, ret: any) => void) | undefined, scoped?: import("..").IScopedContext | undefined): void; closeDrawer(confirmed?: any, data?: any): void; getDialogScoped(): import("..").IScopedContext | null; getDrawerScoped(): import("..").IScopedContext | null; } & { readonly loading: boolean; } & { markFetching: (fetching?: boolean) => void; markSaving: (saving?: boolean) => void; markBusying: (busying?: boolean) => void; fetchInitData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise; fetchData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise; reInitData: (data: object | undefined, replace?: boolean, concatFields?: string | string[] | undefined) => void; updateMessage: (msg?: string | undefined, error?: boolean) => void; clearMessage: () => void; setHasRemoteData: () => void; saveRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise; fetchSchema: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise; checkRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise; } & { context: any; legacyGlobalTempContext: any; globalVars: GlobalVariableItemFull[]; globalData: any; } & { readonly nextGlobalData: any; readonly downStream: any; } & { updateContextBySetter(context: any): void; updateContext(context: any, isInit?: boolean): void; updateGlobalVarState(key: string, state: Partial): void; setGlobalVars: (vars?: Array) => Promise; updateGlobalVarValue: (key: string, value: any) => void; modifyGlobalVarValue: (key: string, options: { op: 'set' | 'merge' | 'push' | 'unshift' | 'remove' | 'toggle' | 'empty' | 'sort' | 'reverse' | 'refresh'; value: any; }) => void; saveGlobalVarValues: import("lodash").DebouncedFunc<(key?: string) => Promise>; setRuntimeError(error: any, errorStack: any): void; updateLocation(location?: any, parseFn?: Function): void; init: (schema: any) => Promise; syncGlobalVarStates: () => void; syncLegacyGlobalVarStates: () => void; addSyncGlobalVarStatePendingTask: (fn: (callback: () => void) => void, callback?: () => void) => void; afterCreate(): void; afterDestroy(): void; }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>; export type IRootStore = Instance;