wpt-api-client
Version:
Unofficial Node.js client for the WebPageTest REST API
12 lines • 527 B
TypeScript
export declare const genericErrorMessage: (id: string) => string;
export declare const cannotCancelTestIdErrorMessage: (id: string) => string;
export declare type CancelTestById = (id: string) => Promise<string>;
declare type MakeCancelTestById = (apiKey?: string, wptServer?: string) => CancelTestById;
/**
* Create function to call the /cancelTest.php endpoint.
*
* https://webpagetest.org/cancelTest.php
*/
export declare const makeCancelTestById: MakeCancelTestById;
export {};
//# sourceMappingURL=cancel-test.d.ts.map