pagespeed-quest
Version:
A framework for efficient web front-end speed improvement
19 lines (18 loc) • 693 B
TypeScript
import { DependencyInterface } from './types.js';
export interface ExecWebshotCaptureInput {
url: string;
proxyPort: number;
preset?: 'desktop' | 'mobile';
output: string;
timeout: number;
}
export interface ExecWebshotCompareInput {
baseline: string;
current: string;
output: string;
digestTxt: string;
baselineLabel?: string;
currentLabel?: string;
}
export declare function execWebshotCapture(input: ExecWebshotCaptureInput, dependency: Pick<DependencyInterface, 'executeWebshot'>): Promise<void>;
export declare function execWebshotCompare(input: ExecWebshotCompareInput, dependency: Pick<DependencyInterface, 'executeWebshot'>): Promise<void>;