import type { ProbedRecord } from "../../logsViewer/session/registry.js"; import type { EventEnvelope } from "../../logsViewer/types.js"; import type { QueryDeps } from "./shared.js"; export declare const FIXTURE_NOW: number; export type FixtureTrace = { traceId: string; /** When the trace starts, as minutes before `FIXTURE_NOW`. */ minutesAgo: number; /** Add an error event, so the trace has `hasError`. */ error?: boolean; /** The trace's events; `loopEvents()` when left out. */ events?: EventEnvelope[]; }; /** The events of one fixture trace, renamed and moved in time. */ export declare function traceEventsFor(trace: FixtureTrace): EventEnvelope[]; /** A log of the traces with their lines interleaved one by one, the way * concurrent runs write them, in the order the traces are given. */ export declare function writeLog(dir: string, name: string, traces: FixtureTrace[]): string; export declare function queryDir(): string; /** Deps over the real files in `cwd`, with no viewer open and no config. */ export declare function queryDeps(cwd: string, overrides?: Partial): QueryDeps; /** A probed viewer that answers, open on `logPath` at `traceId`. */ export declare function liveViewer(logPath: string, traceId: string): ProbedRecord;