UNPKG

pagespeed-quest

Version:

A framework for efficient web front-end speed improvement

16 lines (15 loc) 563 B
import { Resource } from './inventory.js'; import { DependencyInterface, DeviceType } from './types.js'; export interface ExecLighthouseInput { url: string; proxyPort: number; deviceType?: DeviceType; view?: boolean; artifactsDir?: string; headless: boolean; timeout: number; captureScoreAndMetrics?: boolean; inventoryDir?: string; resources?: Resource[]; } export declare function execLighthouse(opts: ExecLighthouseInput, dependency: Pick<DependencyInterface, 'mkdirp' | 'executeLighthouse' | 'logger'>): Promise<void>;