import type { WorkerSamples } from "./worker.js"; import type { LoadReport, ScenarioSpec } from "./types.js"; export interface BuildLoadReportInput { baseUrl: string; startTime: number; endTime: number; durationMs: number; plannedDurationMs: number; rampUpMs: number; planned: ReadonlyArray<{ workerIndex: number; spec: ScenarioSpec; }>; samples: ReadonlyArray; /** Default 1000ms. Values <= 0 disable the timeline (returned empty). */ timelineBucketMs?: number; /** * Per-fault-rule wall-clock firing timestamps. Keys appear in the * `faults` map of every TimelineBucket (zero for buckets where the * rule didn't fire) so consumers can read row × column. */ faultFirings?: Record>; } export declare function buildLoadReport(input: BuildLoadReportInput): LoadReport; /** Render a `LoadReport` as a compact ASCII summary for terminals / CI logs. */ export declare function formatLoadReport(report: LoadReport): string; /** * Map an array of counts to a unicode sparkline. Empty / all-zero * input → an empty string. Scales linearly so 0 always maps to "▁" * and the max maps to "█". */ export declare function sparkline(values: ReadonlyArray): string; //# sourceMappingURL=report.d.ts.map