import type { AgentSession } from "@earendil-works/pi-coding-agent"; export type FormatDcpStatsOptions = { /** Must contain the complete ACTIVE branch, never a presentation cursor. */ branch?: readonly unknown[]; }; /** On-demand TUI path: read the full branch asynchronously without hydrating * the lazy presentation manager or blocking terminal input. ACP supplies a * complete branch directly to the synchronous formatter instead. */ export declare function loadDcpStatsToast(session: AgentSession): Promise; /** TUI and ACP use the same passive report as /dcp stats. Opening this view * never re-runs pruning, mutates history, or launches a model. */ export declare function formatDcpStatsToast(session: AgentSession, options?: FormatDcpStatsOptions): string;