import type { Finding } from "../schema"; import { type NormalizedProfile } from "./aggregator"; export type FindingDraft = Omit; export interface ProfilerAnalyzer { readonly id: string; /** Lowest profiler detail level that provides enough data for this analyzer. */ readonly minLevel: 1 | 2 | 3; analyze(profile: NormalizedProfile): FindingDraft[]; } export declare const runAnalyzers: (profile: NormalizedProfile, analyzers?: ProfilerAnalyzer[]) => Finding[];