export interface HistoryFormatOptions {
    /** Optional H1 prepended to the transcript. */
    title?: string;
    /** Render assistant thinking blocks (default: elided). */
    includeThinking?: boolean;
    /** Render tool intent comment before tool call lines. */
    includeToolIntent?: boolean;
    /** Render watched-session roles as inline `**agent**:` / `**user**:` labels (collapsing consecutive same-role messages) instead of `## ` headings, so a primary transcript embedded inside an advisor turn stays visually distinct. */
    watchedRoles?: boolean;
}
/**
 * Format a session's message array as a concise markdown transcript.
 *
 * `messages` is the session's in-memory message array (or the read-only
 * equivalent loaded from a session file) — the same shapes
 * `session-dump-format.ts` consumes.
 */
export declare function formatSessionHistoryMarkdown(messages: unknown[], opts?: HistoryFormatOptions): string;
