import type { AgentTraceFileSystem, AgentTraceSource } from "../../agent-traces/dist/index.js"; export interface RunTraceViewerOptions { cwd: string; homeDir: string; fs: AgentTraceFileSystem; assumeYes?: boolean; sources?: AgentTraceSource[]; allWorkspaces?: boolean; since?: Date; limit?: number; json?: boolean; fullTitles?: boolean; path?: string; open?: boolean; htmlOut?: string; openExternal?: (target: string) => Promise; tmpDir?: string; output?: WritableOutput; indexDir?: string; rebuildIndex?: boolean; } interface WritableOutput { write(chunk: string | Uint8Array): unknown; } export declare function runTraceViewer(options: RunTraceViewerOptions): Promise; export {};