/**
 * MCP environment detection - CLEO-specific runtime mode resolution.
 *
 * Detects dev-ts vs prod-npm mode by reading ~/.cleo/VERSION.
 * This is the only CLEO-specific concern here — all provider detection,
 * config writing, and MCP server installation is delegated to @cleocode/caamp.
 *
 * @task T4676
 * @epic T4663
 */
/** Resolved environment mode for MCP server config. */
export interface McpEnvMode {
    mode: 'dev-ts' | 'prod-npm' | 'unknown';
    /** Absolute path to the source directory (dev-ts mode only). */
    source: string | null;
    /** Resolved install channel for npm package invocation. */
    channel: 'stable' | 'beta' | 'dev' | 'unknown';
}
/** Resolve MCP server name by channel. */
export declare function getMcpServerName(env: McpEnvMode): string;
/**
 * Detect the current CLEO environment mode by reading ~/.cleo/VERSION.
 *
 * The VERSION file format:
 *   Line 1: version number
 *   Lines 2+: key=value pairs (mode, source, etc.)
 *
 * @task T4584
 */
export declare function detectEnvMode(): McpEnvMode;
/**
 * Generate the MCP server entry for the cleo server based on env mode.
 *
 * Returns a config object compatible with CAAMP's McpServerConfig:
 * - dev-ts: { command: 'node', args: ['<source>/dist/mcp/index.js'] }
 * - prod-npm stable: { command: 'npx', args: ['-y', '@cleocode/cleo@latest', 'mcp'] }
 * - prod-npm beta: { command: 'npx', args: ['-y', '@cleocode/cleo@beta', 'mcp'] }
 *
 * @task T4584
 */
export declare function generateMcpServerEntry(env: McpEnvMode): Record<string, unknown>;
//# sourceMappingURL=index.d.ts.map