import type { AuditReport, ImpactLevel, LighthouseResultLike } from "./types.js"; /** * How many detail items to keep per issue, by impact. * * A raw Lighthouse result is megabytes; an agent needs the failures and enough * examples to act on them. Critical issues keep everything because that is * what the user is going to fix first. */ export declare const DETAIL_LIMITS: Record; /** * Reshapes a Lighthouse result into something an agent can read: the failures, * ordered by weight, with bounded supporting detail. */ export declare function extractAuditReport(lhr: LighthouseResultLike, url: string, category: string, device?: string): AuditReport;