import * as git from '../plugins/git.js'; export interface UpdateMarketplaceOptions { ref?: string; } export interface UpdateMarketplaceDeps { cacheDir?: string; indexPath?: string; gitRunner?: git.GitRunner; now?: () => Date; } export interface MarketplacePluginVersion { name: string; version: string | null; } export type UpdateMarketplaceOutcome = { name: string; status: 'updated'; fromRef: string | null; toRef: string; commit: string; addedPlugins: string[]; removedPlugins: string[]; pluginVersions: MarketplacePluginVersion[]; } | { name: string; status: 'up-to-date'; ref: string; commit: string; } | { name: string; status: 'skipped-local'; } | { name: string; status: 'missing-dir'; dir: string; }; export declare function updateMarketplace(name: string, options?: UpdateMarketplaceOptions, deps?: UpdateMarketplaceDeps): Promise; export declare function updateAllMarketplaces(deps?: UpdateMarketplaceDeps): Promise;