wpt-api-client
Version:
Unofficial Node.js client for the WebPageTest REST API
17 lines • 582 B
TypeScript
import { CancelTestById } from './cancel-test';
import { Locations } from './locations';
import { RunTest } from './run-test';
import { TestStatus } from './test-status';
export declare const DEFAULT_WPT_SERVER = "www.webpagetest.org";
declare type MakeWptClient = (wptServer: string | undefined, apiKey: string) => {
locations: Locations;
cancelTestById: CancelTestById;
runTest: RunTest;
testStatus: TestStatus;
};
/**
* Create a client for the WepPageTest API.
*/
export declare const makeWptClient: MakeWptClient;
export {};
//# sourceMappingURL=index.d.ts.map