import React from 'react';
import type { Message } from '../types/core.js';
/**
 * Convert a persisted session's message history into a list of components that
 * replay the conversation in scrollback when a session is resumed.
 *
 * Replay is deliberately faithful-but-light: user prompts and assistant text
 * render in full (so the session is recognizable), reasoning renders collapsed,
 * and tool calls render as compact one-liners paired with their result status.
 * Tool formatters are intentionally NOT invoked (they can have side effects and
 * dump large output). Only the trailing `MAX_REPLAYED_MESSAGES` are replayed;
 * the rest are summarized with a leading note.
 *
 * @param messages - The full persisted message array.
 * @param model - The model label to show on assistant messages.
 */
export declare function buildSessionHistoryComponents(messages: Message[], model: string): React.ReactNode[];
//# sourceMappingURL=session-history-renderer.d.ts.map