/** * Checks whether we're in the Node.js or Browser environment * * @returns Answer to given question */ export declare function isNodeEnv(): boolean; /** * Safely get global scope object * * @returns Global scope object */ export declare function getGlobalObject(): any; /** * A promise-based way to sleep for x millseconds, then queue ourselves back to the * JS event loop. * * @param milliseconds The number of milliseconds to wait for */ export declare function asyncSleep(milliseconds: number): Promise; //# sourceMappingURL=misc.d.ts.map