/** * Marketplace Management * * Manages marketplace repositories (clone, update, read manifests) * using git operations executed via child_process.execFile. */ import { MarketplaceManifest, MarketplacePluginEntry, PluginScope } from "./types"; /** * Derives a short marketplace name from a git URL. */ export declare function deriveMarketplaceName(url: string): string; /** * Clones a marketplace repository with --depth 1 for minimal footprint. */ export declare function cloneMarketplace(url: string, scope: PluginScope, projectDir?: string, manifestPath?: string, branch?: string, force?: boolean): Promise; /** * Updates a previously cloned marketplace by pulling latest changes. */ export declare function updateMarketplace(marketplaceName: string, scope: PluginScope, projectDir?: string, branch?: string): Promise; /** * Reads and parses the marketplace manifest from a cloned marketplace. */ export declare function readMarketplaceManifest(marketplaceName: string, scope: PluginScope, projectDir?: string): Promise; /** * Lists all plugins available in a marketplace manifest. */ export declare function listMarketplacePlugins(marketplaceName: string, scope: PluginScope, projectDir?: string): Promise; /** * Resolves the full filesystem path to a plugin's package directory. */ export declare function resolvePluginPackagePath(marketplaceName: string, pluginName: string, scope: PluginScope, projectDir?: string): Promise; /** * Lists all cloned marketplace directories for the given scope. */ export declare function listMarketplaces(scope: PluginScope, projectDir?: string): Promise; //# sourceMappingURL=marketplace.d.ts.map