import type { OrchestratorCtx } from './stream-renderer-orchestrator.js'; import type { SubagentCtx } from './stream-renderer-subagent.js'; import type { ProgressEvent } from '../../agent/types.js'; import type { TerminalCompositor } from '../terminal-compositor.js'; import type { OverlayComposer } from './overlay-composer.js'; import type { ToolLane } from '../commands/interactive/tool-lane.js'; import type { ThinkingLane } from '../commands/interactive/thinking-lane.js'; import type { StreamingMarkdownRenderer } from '../markdown-stream.js'; import type { Writer } from '../slash/types.js'; import type { StageTrackerState } from '../commands/interactive/loop-stage.js'; import type { CommitCoordinator } from './commit-coordinator.js'; import type { SourceState } from './stream-renderer-source.js'; import type { ChildActivityTracker } from './child-activity-select.js'; export declare function makeOrchestratorCtx(args: { out: Writer; isTTY: boolean; compositor: TerminalCompositor | null; overlayComposer: OverlayComposer | null; toolLane: ToolLane; thinkingLane: ThinkingLane; thinkingMode: 'off' | 'summary' | 'live' | 'digest'; streamingMarkdown: { current: StreamingMarkdownRenderer | null; }; coordinator: CommitCoordinator; stageTracker?: StageTrackerState; activeSkillName?: string; lastProgressByTask: Map; sources?: ReadonlyMap; childActivity?: ChildActivityTracker; }): OrchestratorCtx; export declare function makeSubagentCtx(args: { isTTY: boolean; compositor: TerminalCompositor | null; toolLane: ToolLane; out: Writer; streamingMarkdown: Map; thinkingMode: 'off' | 'summary' | 'live' | 'digest'; orchestratorCtx: OrchestratorCtx; }): SubagentCtx; export declare function resolveParentSyntheticId(args: { parentId: string | undefined; sources: Map; toolLane: ToolLane; sourceId: string; }): string | undefined;