2022-06-30 20:13:15 +00:00
|
|
|
import { Page } from "puppeteer";
|
2022-07-20 18:06:18 +00:00
|
|
|
import { errTuple } from "libskynet";
|
2023-03-31 19:42:33 +00:00
|
|
|
export declare function generateSeedPhrase(): Uint8Array;
|
|
|
|
export declare function login(page: Page, seed?: Uint8Array): Promise<void>;
|
2022-06-30 20:13:15 +00:00
|
|
|
export declare function loadTester(page: Page, port?: number): Promise<void>;
|
|
|
|
declare class Tester {
|
|
|
|
private page;
|
|
|
|
constructor(page: Page);
|
|
|
|
callModule(id: string, method: string, data?: {}): Promise<errTuple>;
|
|
|
|
}
|
|
|
|
export declare const tester: (page: Page) => Tester;
|
|
|
|
export {};
|