UNPKG

pagespeed-quest

Version:

A framework for efficient web front-end speed improvement

14 lines (13 loc) 472 B
import { DependencyInterface, DeviceType } from './types.js'; export interface ExecLighthouseInput { url: string; proxyPort: number; deviceType?: DeviceType; cpuMultiplier?: string; noThrottling?: boolean; view?: boolean; artifactsDir?: string; headless: boolean; timeout: number; } export declare function execLighthouse(opts: ExecLighthouseInput, dependency: Pick<DependencyInterface, 'mkdirp' | 'executeLighthouse'>): Promise<void>;