/** * Allow spying on MobX when not in production mode. */ import { Lambda } from 'mobx'; /** * Function to spy on all MobX events. When not in production, a function of the * same name is exposed in the `window` object with the following signature: * `spyOnMobX(shouldSpy: boolean, persist?: boolean): void`. * @returns Disposer function to stop spying on MobX. */ export declare function spyOnMobX(): Lambda; /** * When in development mode, this functions adds a function to the global scope * which allows developers to spy on MobX. The state of the spying may persist * (being kept in session storage) if specified. * * Furthermore, adds a global function to allow changing the MobX's * configuration on the fly. */ export declare function setUpSpyOnMobX(): void;