import { ClientId } from "./mcp-config-writers.js"; export interface McpDescriptor { serverName: string; mcpUrl: string; aliases?: string[]; authMode?: "oauth" | "device" | "none"; hostedUrl?: string; } export interface RegisterMcpOptions { descriptor: McpDescriptor; clients: ClientId[]; scope: "user" | "project"; baseDir: string; interactive: boolean; log?: (m: string) => void; deviceFlowTimeoutMs?: number; deps?: { fetchImpl?: typeof fetch; now?: () => number; sleep?: (ms: number) => Promise; }; } export interface RegisterMcpResult { written: { client: ClientId; file: string; }[]; authenticated: boolean; guidance: string[]; } export declare function supportsRemoteMcpOAuth(client: ClientId): boolean; export declare function registerMcpServer(opts: RegisterMcpOptions): Promise; //# sourceMappingURL=connect.d.ts.map