import type { SessionTrajectory } from './trajectory.js';
import type { TrajectoryComparison } from './trajectory-compare.js';
import type { SessionLineage } from './trajectory-lineage.js';
export interface RenderTrajectoryTextOptions {
    /** Collapse to error steps and their immediate neighbours. */
    errorsOnly?: boolean;
    /** Cap on the step lines emitted; the remainder is collapsed with a count. */
    maxSteps?: number;
}
/** Render one session's trajectory as compact, ANSI-free text. */
export declare function renderTrajectoryText(model: SessionTrajectory, options?: RenderTrajectoryTextOptions): string;
export interface RenderTrajectoryCompareTextOptions {
    /** Cap on step lines listed per diff column; the remainder is collapsed with a count. Default 15. */
    maxDiffLines?: number;
}
/**
 * Render a two-session {@link TrajectoryComparison} as compact, ANSI-free text —
 * both sessions' headline stats, the first divergence point, and the step-level
 * diff (only-in-first / only-in-second), each capped so a triaging agent pays a
 * bounded token cost regardless of how far the two runs diverge.
 */
export declare function renderTrajectoryCompareText(cmp: TrajectoryComparison, options?: RenderTrajectoryCompareTextOptions): string;
/**
 * Render a {@link SessionLineage} as a tree — the `--tree` text rendering an
 * agent reads when it asks "what did this orchestrator spawn, and where did the
 * fan-out go?".
 *
 * Drawn from the EDGES, not from each node's depth. Indenting by depth alone
 * puts every depth-2 node under whichever depth-1 node happened to print last,
 * so a nested teammate reads as a child of its aunt and its real parent is
 * unrecoverable from the output — a lie an agent has no way to detect.
 *
 * One line per session: its handle/short id, harness, role, indexed tool count,
 * span, recency and PR when it opened one. No per-step detail — lineage answers
 * the shape of the fan-out; `agents sessions trace <child>` answers one child.
 */
export declare function renderLineageText(lineage: SessionLineage): string;
