import type { AgentToolResult } from '@earendil-works/pi-agent-core'; import { type CapabilityDispatcher } from '../../capabilities/runtime/dispatcher.js'; import { type XopcUseDetails, type XopcUseToolDeps } from './xopc-use-shared.js'; export declare function executeMcpSetupCommand(command: string, args: Record, dryRun: boolean, deps: XopcUseToolDeps, toolCallId: string, signal: AbortSignal | undefined, details?: XopcUseDetails, includeAuthorizeResearch?: boolean): Promise>; export declare function handleDirectAdminCommand(details: XopcUseDetails, args: Record, deps: XopcUseToolDeps, capabilities: CapabilityDispatcher, toolCallId: string, signal?: AbortSignal): Promise | null>; export declare function handleAgent(command: string, args: Record, dryRun: boolean, capabilities: CapabilityDispatcher, deps: XopcUseToolDeps, toolCallId: string, signal?: AbortSignal): Promise; export declare function handleAutomation(command: string, args: Record, deps: XopcUseToolDeps, dryRun: boolean, capabilities: CapabilityDispatcher, toolCallId: string): Promise;