export type MarketplacePrimitiveType = "mcp" | "skill" | "plugin"; export type MarketplaceEntryInput = { id: string; type: MarketplacePrimitiveType; name?: string; install?: { args?: string[]; }; }; export type MarketplaceActionResult = { id: string; type: MarketplacePrimitiveType; status: "installed" | "uninstalled"; message: string; output?: string; }; export type MarketplaceSpawnResult = { exitCode: number; stdout: string; stderr: string; }; export type MarketplaceSpawnCommand = (command: string, args: string[]) => Promise; export type UninstallMarketplaceEntryOptions = { deleteMcpServer?: (name: string) => void | Promise; mcpSettingsPath?: string; spawnCommand?: MarketplaceSpawnCommand; workspaceRoot?: string; }; export declare function marketplaceEntryKey(entry: Pick): string; export declare function resolveMarketplaceMcpServerName(entry: MarketplaceEntryInput): string; export declare function uninstallMarketplaceMcpServerFromSettings(entry: MarketplaceEntryInput, options?: Pick): { name: string; deleted: boolean; }; export declare function getMarketplaceSkillCandidates(entry: MarketplaceEntryInput): string[]; export declare function getGlobalMarketplaceSkillPaths(skillName: string): string[]; export declare function findInstalledGlobalMarketplaceSkillName(entry: MarketplaceEntryInput): string | undefined; export declare function isMarketplaceSkillInstalled(entry: MarketplaceEntryInput): boolean; export declare function uninstallMarketplaceSkill(entry: MarketplaceEntryInput, options?: Pick): Promise; export declare function uninstallMarketplacePlugin(entry: MarketplaceEntryInput, options?: Pick): Promise; export declare function uninstallMarketplaceEntry(entry: MarketplaceEntryInput, options?: UninstallMarketplaceEntryOptions): Promise;