/** * The `docs_slowest_tests` answer as text. Per suite it reads as a story: which * record this is, whose and how old, then the cases closest to their limit, * the slowest files, and the slowest cases, each under a first line that names * the scope it applied. Asked for cases over a time, the question is about * cases, so the files stand aside. */ import type { DurationScope, RecordedDurations, RecordOrigin } from '@variance-authority/sense'; /** A duration as a reader compares them: milliseconds under a second, seconds to a tenth above. */ export declare function spent(milliseconds: number): string; /** The answer, from what each suite's recording said, read at `now`; `over` is the time asked for, in milliseconds. */ export declare function formatSlowest(suites: readonly RecordedDurations[], scope: DurationScope, over: number | undefined, now: number): string; /** What an answer holds of the record it read, or why it read none. */ type RecordRead = { readonly suite?: string; readonly recording: string; readonly origin: RecordOrigin; readonly commit?: string; readonly landed?: string; } | { readonly unread: string; }; /** Which record this suite's answer read: whose run, at which commit, how old. An unread one says why where it is listed. */ export declare function recordLine(suite: RecordRead, now: number): string[]; /** One answer per suite: the record it read, then what `told` says of it under `title` and the suite's name. */ export declare function eachSuite(suites: readonly S[], now: number, title: string, told: (suite: S, named: string) => string[]): string; export {}; //# sourceMappingURL=slowest-format.d.ts.map