import type { AgentsSession } from "../session/types.js"; import type { CustomMcp } from "./schema.js"; /** List every registered custom MCP server. */ export declare const listCustomMcps: (session: AgentsSession) => Promise; /** Find one custom MCP by `id` or `name`. Returns `undefined` if not found. */ export declare const getCustomMcp: (session: AgentsSession, idOrName: string) => Promise; export interface CreateCustomMcpInput { name: string; /** The MCP server endpoint URL. */ url: string; } /** Register a custom MCP server (`POST /api/custom-mcps`). */ export declare const createCustomMcp: (session: AgentsSession, input: CreateCustomMcpInput) => Promise; export interface UpdateCustomMcpInput extends CreateCustomMcpInput { /** Id of the custom MCP to replace. */ id: string; } /** * Update a custom MCP (`PUT /api/custom-mcps/{id}`). * **UNVERIFIED — returned 405 on 2026-05-17; see the file header.** */ export declare const updateCustomMcp: (session: AgentsSession, input: UpdateCustomMcpInput) => Promise; /** Delete a custom MCP (`DELETE /api/custom-mcps/{id}`). */ export declare const deleteCustomMcp: (session: AgentsSession, id: string) => Promise; /** Read the auth status for a registered MCP (`GET /api/custom-mcps/{id}/auth`). */ export declare const getCustomMcpAuth: (session: AgentsSession, id: string) => Promise;