import type { HarnessRegistry } from "#src/harness/registry"; import type { LifecycleRegistry } from "#src/lifecycle-controller"; import type { SpawnQueue } from "#src/spawn-queue"; import type { TmuxManager } from "#src/tmux-manager"; import type { SubagentTracker } from "#src/tracker"; /** * Pi wrapper for the subagent tool: `defineTool` + pi-tui rendering around * the host-neutral core execute logic (design D3), plus the pi-specific * parent-context extraction (design D7). * * @param parentSessionLabel - When provided, included in the return text * so the LLM knows which tmux session to target. */ export declare function createSubagentTool(configDir: string, parentSessionId: string, tracker: SubagentTracker, tmux: TmuxManager, harnessRegistry: HarnessRegistry, abortSignal?: AbortSignal, parentSessionLabel?: string, registry?: LifecycleRegistry, spawnQueue?: SpawnQueue, lookupContextWindow?: (provider: string | undefined, model: string | undefined) => number | undefined): import("@earendil-works/pi-coding-agent").ToolDefinition; thinking: import("@sinclair/typebox").TOptional; max_turns: import("@sinclair/typebox").TOptional; worktree_branch: import("@sinclair/typebox").TOptional; }>>; inherit_context: import("@sinclair/typebox").TOptional; backend: import("@sinclair/typebox").TOptional; restart_policy: import("@sinclair/typebox").TOptional; }>, unknown, any> & import("@earendil-works/pi-coding-agent").ToolDefinition; //# sourceMappingURL=subagent.d.ts.map