/**
 * HTML export of session traces after each query.
 *
 * Exports the main session JSONL and any subagent JSONLs to HTML after
 * each agent_end event. The /trace command opens them in the browser.
 */
import type { AgentSession } from '../../app/agent-session.js';
export interface TraceShareArtifact {
    fileName: string;
    htmlPath: string;
    jsonlPath: string | null;
    isRoot: boolean;
}
/**
 * Export root + subagent traces and return structured artifact metadata.
 */
export declare function exportTraceArtifacts(session: AgentSession): Promise<TraceShareArtifact[]>;
/**
 * Export main + subagent session JSONLs to HTML.
 * Returns all exported HTML paths, or empty array if nothing was exported.
 */
export declare function exportDevTraces(session: AgentSession): Promise<string[]>;
//# sourceMappingURL=trace-export.d.ts.map