export type ManagedMcpInstallMode = "published" | "local"; export type ManagedMcpTarget = "codex" | "claude" | "antigravity"; export interface ManagedMcpInstallOptions { apiKey?: string; baseUrl?: string; userId?: string; mode?: ManagedMcpInstallMode; } export interface ManagedMcpManifest { target: ManagedMcpTarget; mode: ManagedMcpInstallMode; configPath: string; skillPath: string; skillManifestPath: string; command: string; args: string[]; env: Record; installedAt: string; coppermindVersion: string; } export interface ManagedMcpStatus { state: "installed" | "missing" | "unmanaged-manual"; mode: ManagedMcpInstallMode | null; configPath: string; manifestPath: string; skillState: "installed" | "missing"; skillPath: string | null; skillManifestPath: string | null; nextStep: string; } export declare function resolveUserHome(): string; export declare function readCoppermindVersion(): string; export declare function writeManagedText(filePath: string, content: string): void; export declare function readManagedText(filePath: string): string | null; export declare function removeManagedFileIfExists(filePath: string): boolean; export declare function resolveManagedManifestPath(target: ManagedMcpTarget): string; export declare function loadManagedManifest(target: ManagedMcpTarget): T | null; export declare function saveManagedManifest(manifest: ManagedMcpManifest): string; export declare function inferInstallModeFromCommand(command: string, args: string[]): ManagedMcpInstallMode | null; export declare function buildPublishedEnv(options: ManagedMcpInstallOptions): Record; export declare function buildLocalEnv(options: ManagedMcpInstallOptions): Record; export declare function parseManagedInstallOptions(args: string[]): ManagedMcpInstallOptions; //# sourceMappingURL=mcp-shared.d.ts.map