import { type McpIntegration } from './mcp-registry.js';
export type McpServerEntry = {
    command?: string;
    args?: string[];
    env?: Record<string, string>;
    url?: string;
    type?: string;
    headers?: Record<string, string>;
};
/**
 * Returns integrations from the registry that are relevant for the given
 * profile IDs. An integration is relevant if at least one of its target
 * profiles is in the active set.
 */
export declare function getRelevantIntegrations(profileIds: string[]): McpIntegration[];
/**
 * Builds an mcp.json server entry from an integration definition and
 * user-provided credentials. For HTTP integrations the entry only needs
 * a `url`. For stdio integrations the entry includes command, args, and
 * env with credential values filled in.
 */
export declare function buildMcpEntry(integration: McpIntegration, credentials: Record<string, string>): McpServerEntry;
/**
 * Generates a human-readable setup guide for an integration.
 * Suitable for display in CLI output or webview.
 */
export declare function formatSetupGuide(integration: McpIntegration): string;
/**
 * Writes third-party integration entries to every supported LLM config target:
 * Cursor, VS Code Copilot, Windsurf, Claude Desktop, and Claude Code (project + global).
 *
 * Mirrors the mcpConfigService.writeIntegrationConfig() logic from the VS Code extension
 * so the CLI produces the same propagation without importing extension code.
 */
export declare function writeIntegrationToAllTargets(entries: Record<string, McpServerEntry>, global: boolean, workspacePath: string): string[];
