import * as git from './git.js'; export interface UpdateOptions { ref?: string; } export interface UpdateDeps { pluginsDir?: string; indexPath?: string; cacheDir?: string; gitRunner?: git.GitRunner; now?: () => Date; } export type UpdateOutcome = { name: string; status: 'updated'; fromRef: string | null; toRef: string; commit: string; version: string | null; } | { name: string; status: 'up-to-date'; ref: string; commit: string; version: string | null; } | { name: string; status: 'skipped-local'; } | { name: string; status: 'skipped-marketplace'; marketplace: string; } | { name: string; status: 'missing-dir'; dir: string; } | { name: string; status: 'removed-by-marketplace'; marketplace: string; }; export declare function updatePlugin(name: string, options?: UpdateOptions, deps?: UpdateDeps): Promise; export declare function updateAll(deps?: UpdateDeps): Promise;