import type { GitSource } from "../utils/git.ts";
import type { GitUpdateTargetInfo, PackageManagerContext, SourceScope } from "./package-manager-types.ts";
export declare function getExistingGitInstallPath(context: PackageManagerContext, source: GitSource, scope: SourceScope): string | undefined;
export declare function installGit(context: PackageManagerContext, source: GitSource, scope: SourceScope): Promise<void>;
export declare function updateGit(context: PackageManagerContext, source: GitSource, scope: SourceScope): Promise<void>;
export declare function refreshTemporaryGitSource(context: PackageManagerContext, source: GitSource, sourceStr: string): Promise<void>;
export declare function removeGit(context: PackageManagerContext, source: GitSource, scope: SourceScope): Promise<void>;
export declare function gitHasAvailableUpdate(context: PackageManagerContext, installedPath: string): Promise<boolean>;
export declare function getLocalGitUpdateTarget(context: PackageManagerContext, installedPath: string): Promise<GitUpdateTargetInfo>;
//# sourceMappingURL=package-manager-git.d.ts.map