/** * */ export declare abstract class MigrationContextBase { packageJson: Record; ioPackageJson: Record; abstract joinPath(...parts: string[]): string; abstract readTextFile(fileName: string): Promise; abstract readJsonFile(fileName: string): Promise>; abstract directoryExists(dirName: string): Promise; abstract fileExists(dirName: string): Promise; abstract hasFilesWithExtension(dirName: string, extension: string, filter?: (fileName: string) => boolean): Promise; /** * * @param packageName */ hasDevDependency(packageName: string): boolean; /** * */ getMainFileContent(): Promise; /** * * @param either * @param or */ analyzeCode(either: string, or: string): Promise; }