/** * Wait for a given amount of time expressed in milliseconds. * @param timeMs The time to wait in milliseconds. * @returns A promise that resolves after the given amount of time. */ export declare function waitMs(timeMs: number): Promise; /** * Wait until a given predicate returns true. * @param predicate Defines the predicate to wait for. */ export declare function waitUntil(predicate: () => any): Promise; /** * Clones the given JavaScript object. This function does not handle cyclic references. * @param source defines the reference to the JavaScript object to clone. */ export declare function cloneJSObject(source: T): T;