/** * Pure functions for generating MCP client configuration. * * No I/O — all functions take inputs and return objects/strings. The wizard * (src/cli/setup.ts) handles file reads, writes, and prompting. */ export declare const CLIENT_TARGETS: readonly ["claude-desktop", "claude-code", "codex", "copilot", "claude", "claude-web", "chatgpt", "grok", "perplexity", "gemini-cli", "cursor", "vscode", "openclaw"]; export type ClientTarget = (typeof CLIENT_TARGETS)[number]; export interface ServerEnv { readonly WHOOP_CLIENT_ID: string; readonly WHOOP_CLIENT_SECRET: string; readonly WHOOP_MCP_TELEMETRY?: string; readonly WHOOP_MCP_TELEMETRY_ENDPOINT?: string; readonly DO_NOT_TRACK?: string; readonly WHOOP_MCP_PRIVACY_MODE?: string; } export interface ClaudeDesktopServerEntry { readonly command: string; readonly args: readonly string[]; readonly env: ServerEnv; } export interface ClaudeDesktopConfig { mcpServers?: Record; [key: string]: unknown; } /** * OS-specific path to Claude Desktop's `claude_desktop_config.json`. * * - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json * - Windows: %APPDATA%/Claude/claude_desktop_config.json * - Linux: ~/.config/Claude/claude_desktop_config.json */ export declare function claudeDesktopConfigPath(): string; /** * Build the server entry for Claude Desktop's `mcpServers` map. * Uses `npx -y whoop-ai-mcp` so users don't need a global install. */ export declare function generateClaudeDesktopEntry(env: ServerEnv): ClaudeDesktopServerEntry; /** * Merge a new whoop server entry into an existing Claude Desktop config, * preserving any other configured MCP servers and top-level keys. */ export declare function mergeClaudeDesktopConfig(existing: ClaudeDesktopConfig | null, entry: ClaudeDesktopServerEntry, serverName?: string): ClaudeDesktopConfig; /** * Generate the `claude mcp add` shell command for Claude Code. * Single-quoted env values; values are validated by the wizard before reaching here. */ export declare function generateClaudeCodeCommand(env: ServerEnv): string; /** * Generate the `codex mcp add` shell command for the OpenAI Codex CLI. * Registers the server in `~/.codex/config.toml` under `[mcp_servers.whoop]`. * Single-quoted env values; values are validated by the wizard before reaching here. */ export declare function generateCodexCommand(env: ServerEnv): string; /** * Generate the `code --add-mcp` shell command for GitHub Copilot in VS Code. * The flag accepts a JSON server definition; the JSON is single-quoted for the * shell. Values are validated by the wizard before reaching here. */ export declare function generateCopilotCommand(env: ServerEnv): string; export declare function generateLocalSetupInstructions(target: ClientTarget, env: ServerEnv): string | undefined; export declare function remoteSetupInstructions(target: ClientTarget): string | undefined; //# sourceMappingURL=config-generators.d.ts.map