import type { SourceState } from './stream-renderer-source.js'; import type { SubagentCtx } from './stream-renderer-subagent.js'; export declare function extractLatestThinkingClause(buffer: string, maxChars: number): string; export declare function emitSubagentTextLines(text: string, ctx: SubagentCtx): void; export declare function formatSubagentTextLines(text: string): string[]; export declare function synthesizeAgentEntry(sourceId: string, source: SourceState, ctx: SubagentCtx, agentContext?: string): void;