export declare const CLIENT_NAMES: readonly ["codex", "claude", "cursor", "gemini", "grok", "opencode", "pi"]; export type ClientName = (typeof CLIENT_NAMES)[number]; export type ClientConfigurationResult = { client: ClientName; path: string; configured: boolean; backupPath?: string; reason?: string; }; export type ClientLauncher = { command: string; args: readonly string[]; }; type ClientSpec = { name: ClientName; path: string; detectDirectory?: string; format: "json" | "codex-toml" | "grok-toml"; rootKey?: "mcpServers" | "mcp"; }; export declare function clientSpecs(homeDirectory: string, env?: NodeJS.ProcessEnv): readonly ClientSpec[]; export declare function configureClients(options: { homeDirectory: string; clients: readonly ClientName[] | "auto" | "all"; env?: NodeJS.ProcessEnv; } & ({ endpoint: string; bearerToken: string; launcher?: never; } | { launcher: ClientLauncher; endpoint?: never; bearerToken?: never; })): Promise; export declare function removeClientConfigurations(options: { homeDirectory: string; clients?: readonly ClientName[] | "all"; env?: NodeJS.ProcessEnv; }): Promise; export {};