/**
 * Aexol MCP spectral extension.
 *
 * Loaded by the spectral wrapper via `--extension <abs-path>`. On startup it:
 *   1. Reads ~/.spectral/config.json (writen by `spectral login`).
 *   2. Calls tools/list against the MCP backend once.
 *   3. Reads the local Studio binding (`.aexol/aexol.jsonc`) so remote tools
 *      auto-inherit `teamId` / `projectId` without needing `remote_set_context`.
 *   4. Registers every returned remote tool through ext.registerTool() so the
 *      model can call them like built-in tools.
 *   5. Registers local binding-management tools (`local_bind_project`,
 *      `local_unbind_project`, `local_get_binding`) so users can bind a
 *      directory to an Aexol Studio project from within the agent.
 *
 * Each registered tool is just a thin proxy: when spectral's model invokes it, we
 * translate the call into a JSON-RPC tools/call POST and unwrap the response
 * into the `{ content: [{ type: "text", text }], details }` shape spectral expects.
 *
 * Failure modes are intentionally non-fatal: if config is missing or the
 * backend is unreachable we log a warning and return, leaving spectral to start
 * without Aexol tools rather than crashing the whole agent.
 */
import type { ExtensionAPI } from "../sdk/coding-agent/index.js";
export default function aexolMcpExtension(ext: ExtensionAPI): Promise<void>;
//# sourceMappingURL=aexol-mcp.d.ts.map