import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
/**
 * Register the cogent_join_session MCP tool.
 *
 * Joins an existing cloud bridge channel using its name and shared secret.
 * Only available when COGENT_ENDPOINT is configured.
 * A name the relay does not know answers CHANNEL_NOT_FOUND, whose text names the next call
 * (COG-81) — it used to be an INTERNAL_ERROR wrapping the relay's JSON, with no next action.
 * After joining, persists credentials locally and reinitializes
 * the cloud backend so runtime HttpClient and CloudWsClient use
 * the new token/sessionId.
 */
export declare function registerJoinSessionTool(server: McpServer): void;
//# sourceMappingURL=join-session.d.ts.map