/**
* [WHO]: Provides exportSessionHtml(), getLastAssistantText()
* [FROM]: Depends on agent-core/ai public message types, export-html, ExtensionRunner, SessionManager, Theme
* [TO]: Consumed by core/runtime/agent-session.ts facade methods
* [HERE]: core/runtime/export-bridge.ts - HTML export bridge extracted from AgentSession
*
* Extracted from AgentSession (P4.6). This module owns HTML export wiring and last-assistant
* text extraction. AgentSession remains the public facade and injects the optional Theme.
*/
import type { AgentMessage, AgentState } from "@catui/agent-core";
import type { ExtensionRunner } from "../extensions-host/index.js";
import type { SessionManager } from "../session/session-manager.js";
import type { Theme } from "../theme-contract.js";
export interface ExportSessionHtmlOptions {
sessionManager: SessionManager;
state: AgentState;
outputPath?: string;
themeName?: string;
extensionRunner?: ExtensionRunner;
theme?: Theme;
}
export declare function exportSessionHtml(options: ExportSessionHtmlOptions): Promise;
export declare function getLastAssistantText(messages: ReadonlyArray): string | undefined;