import type { AgentTraceFileSystem } from "../../agent-traces/dist/index.js"; import { type RenderTraceHtmlOptions } from "./render-html.js"; import type { TraceTreeNode } from "./types.js"; export interface WriteTraceHtmlOptions { fs: AgentTraceFileSystem; outPath?: string; tmpDir?: string; renderOptions?: RenderTraceHtmlOptions; } export declare function writeTraceHtml(tree: TraceTreeNode, options: WriteTraceHtmlOptions): Promise<{ path: string; bytes: number; }>;