import { AnnotationsMap, CreateObservableOptions } from "mobx"; import type { IAutorunOptions, IReactionDisposer, IReactionPublic, globalState } from "mobx/dist/internal.js"; export declare let _reactModule: any; export declare function ProvideReactModule(reactModule: any): void; declare type NoInfer = [T][T extends any ? 0 : never]; export declare function makeObservable_safe(target: T, annotations?: AnnotationsMap>, options?: CreateObservableOptions): T; export declare function MobX_GetGlobalState(): typeof globalState; export declare function RunInAction(name: string, action: () => any, afterActionFunc?: (actionErrored: boolean) => any): any; export declare function MobX_AllowStateChanges(): boolean; /** * Directly runs the passed-func, if in a computation-safe context (ie. if in a `runAction(...)` block); else, schedules it for running in one, using `RunInNextTick_BundledInOneAction(...)`. * Returns true if was able to run immediately; else, returns false. * */ export declare function RunInAction_WhenAble(actionName: string, funcThatChangesObservables: () => any, afterActionFunc?: () => any): boolean; export declare const RunInNextTick_BundledInOneAction_funcs: Function[]; export declare function RunInNextTick_BundledInOneAction(func: Function, afterActionFunc?: () => any): void; export declare function AutoRun_HandleBail(view: (r: IReactionPublic) => any, opts?: IAutorunOptions): IReactionDisposer; export {};