import { BrowserInterface, LooseObject } from '../../../src/typings'; export interface RequestHandler { type( selector: string, text: string, options?: { delay: number; }, ): Promise; waitForResponse( urlOrPredicate: | string | ((res: BrowserInterface.HTTPResponse) => boolean | Promise), options?: { timeout?: number; }, ): Promise; }