import type { SingleResult } from "@oh-my-pi/pi-tui/tools/task"; /** * Largest output inlined whole. A cut output costs the parent a * `read agent://` turn plus the preview it then holds twice, which parents * pay for most outputs past ~8k chars. A background task result arrives as an * async follow-up, which cuts anything over {@link ASYNC_INLINE_RESULT_MAX_CHARS}; * an envelope whose `` or `` would push it over falls back * to the preview instead. */ export declare const INLINE_OUTPUT_CHARS: number; /** * Preview text for a child result. Falls back to "(no output)" — annotated * with the request count when the child actually did work, so the parent can * tell a no-op child from one that burned requests before being cancelled. */ export declare function formatResultOutputFallback(result: Pick): string; /** Render the `` envelope for a settled run. */ export declare function formatTaskResultSummary(result: SingleResult, options: { totalDurationMs: number; mergeSummary?: string; }): string;