import { Source } from "./contracts"; export declare abstract class AbstractSource implements Source { protected readonly dataPath: string; protected readonly tempPath: string; protected constructor({ data, temp }: { data: string; temp: string; }); install(value: string, version?: string): Promise; protected installDependencies(packageName: string): Promise; protected getOriginPath(): string; protected getDestPath(packageName: string): string; protected getPackageName(path: string): string; protected removeInstalledPackage(packageName: string): void; abstract exists(value: string, version?: string): Promise; abstract update(value: string): Promise; protected abstract preparePackage(value: string, version?: string): Promise; } //# sourceMappingURL=abstract-source.d.ts.map