export interface ClientTarget { id: string; name: string; configPath: string; configKey: "mcpServers" | "servers"; platform: string; } export interface InitArgs { mode?: ParseableMode; url?: string; apiKey?: string; client?: string; } export type ParseableMode = "cloud" | "self-hosted"; export type InitCredentials = { mode: "cloud"; apiKey: string; } | { mode: "self-hosted"; url: string; apiKey: string; }; export declare function getClientTargets(home?: string, plat?: string): ClientTarget[]; export declare function parseInitArgs(argv: string[]): InitArgs; export declare function mergeConfig(existing: Record, configKey: "mcpServers" | "servers", creds: InitCredentials, clientId?: string, plat?: string): Record; export declare function writeClientConfig(target: ClientTarget, creds: InitCredentials): void; export declare function runInit(argv?: string[]): Promise;