/**
 * delegate_task Tool
 *
 * Delegate work to an agent (sync or background mode)
 * Supports resuming existing sessions for context preservation
 *
 * Safety features:
 * - Maximum poll count to prevent infinite loops
 * - Timeout guarantee with graceful degradation
 * - Resource cleanup on all exit paths
 */
import { type ToolDefinition } from "@opencode-ai/plugin";
import { ParallelAgentManager } from "../../core/agents/index.js";
export declare const createDelegateTaskTool: (manager: ParallelAgentManager, client: unknown) => ToolDefinition;
