import { BaseClass } from './base'; export declare class Version extends BaseClass { rootDir: string; private type; private enable; private versions; private baseDir; private baseName; constructor(rootDir: string); init(type?: string): Promise<{ latest: { dir: string; long?: undefined; short?: undefined; } | { dir: string; long: any; short: any; } | null; versions: Record[]; } | null>; getVersion(target?: string): Promise<{ dir: string; long?: undefined; short?: undefined; } | { dir: string; long: any; short: any; } | null>; getLatest(): any; private getVersions; private parseVersion; private parseVersions; private cleanUp; private installProdDeps; }