/**
 * Trace hooks — HTML export of session traces after each query.
 *
 * Always active (not dev-gated). The composition root (main.ts) calls
 * getTraceHooks() once and wires the returned hooks into the mode options.
 */
import type { AgentSession } from '../../app/agent-session.js';
interface TraceHooks {
    onAgentEnd: () => void;
    onCommand: (command: string, showStatus: (msg: string) => void) => boolean;
}
/** Build the trace hooks (post-turn export and `/trace` command handler) used by the shell layer. */
export declare function getTraceHooks(session: AgentSession, options?: {
    getAccessToken?: () => string | undefined;
    shareBaseUrl?: string;
}): TraceHooks;
export {};
//# sourceMappingURL=index.d.ts.map