import type { AgentToolResult, ToolInfo } from "../sdk/coding-agent/index.js"; import type { McpExtensionState } from "./state.js"; type ProxyToolResult = AgentToolResult>; /** * Start the OAuth flow for a server (the `mcp({ auth: "" })` action). * Non-blocking: opens the browser on this machine and returns immediately; * the local callback server completes the token exchange in the background * and reloads the MCP config, so the next connect succeeds. */ export declare function executeAuth(state: McpExtensionState, serverName: string): Promise; export declare function executeUiMessages(state: McpExtensionState): ProxyToolResult; export declare function executeStatus(state: McpExtensionState): ProxyToolResult; export declare function executeDescribe(state: McpExtensionState, toolName: string): ProxyToolResult; export declare function executeSearch(state: McpExtensionState, query: string, regex?: boolean, server?: string, includeSchemas?: boolean): ProxyToolResult; export declare function executeList(state: McpExtensionState, server: string): ProxyToolResult; export declare function executeConnect(state: McpExtensionState, serverName: string): Promise; export declare function executeCall(state: McpExtensionState, toolName: string, args?: Record, serverOverride?: string, getSpectralTools?: () => ToolInfo[]): Promise; export {}; //# sourceMappingURL=proxy-modes.d.ts.map