export interface LibraryHistory { latestRunId: string | null; runs: Array<{ runId: string; createdAt: string | null; mode: string | null; href: string; status: string; /** Current contained status-record observation, separate from the evidence verdict. */ runtimeState?: "running" | "finished" | "interrupted" | "unknown"; streamCount: number; /** Labeled run-total cost ESTIMATE (null when the run carries no cost summary). */ estimatedCostUsd: number | null; costRatesAsOf: string | null; costPlaceholder: boolean; }>; } export interface LibraryRenderOptions { mode: "loopback" | "exposed" | "share-safe-open"; safe: boolean; capabilities: { actions: boolean; }; } export declare function renderLibraryHtml(history: LibraryHistory, opts: LibraryRenderOptions): string;