import type { ToolDefinition } from "@opencode-ai/plugin"; import type { BackgroundAgentManager } from "../../runtime"; import type { OpenCodeContext } from "../../types/plugin"; export declare function createTaskTool(getManager: () => BackgroundAgentManager, getStoredContext?: () => OpenCodeContext | undefined): ToolDefinition;