export interface LighthouseAudit { readonly id: string; readonly title: string; readonly description: string; readonly score: number | null; readonly displayValue: string | null; readonly numericValue: number | null; readonly numericUnit: string | null; } export interface LighthouseScores { readonly performance: number | null; readonly accessibility: number | null; readonly bestPractices: number | null; readonly seo: number | null; } export interface LighthouseResult { readonly scores: LighthouseScores; readonly audits: readonly LighthouseAudit[]; readonly url: string; readonly timestamp: string; readonly lighthouseVersion: string; readonly runWarnings: readonly string[]; } /** * Run a Lighthouse audit against the given URL. * * Spawns the Lighthouse CLI in a separate process so it manages its * own Chrome instance, avoiding conflicts with the puppeteer browser * used by other tools. */ export declare function runLighthouse(url: string, options?: { readonly chromePath?: string; }): Promise; /** * Run Lighthouse and return the FULL raw JSON result (LHR). * * Unlike `runLighthouse`, which extracts only key scores and audits, * this returns the entire Lighthouse result object for deep analysis * by the lighthouse-deep extraction functions. */ export declare function runLighthouseDeep(url: string, options?: { readonly chromePath?: string; }): Promise>; /** * Format a Lighthouse result into a human-readable Markdown report. */ export declare function formatLighthouseReport(result: LighthouseResult): string; //# sourceMappingURL=lighthouse.d.ts.map