import { CopyOptions, EnsureOptions, PathLike, WriteFileOptions } from "fs-extra"; import { CoreHookContext } from "../../types"; export declare const backupFolder = ".backup"; export interface MigrationContext extends CoreHookContext { backup(path: string): Promise; fsEnsureDir(path: string, options?: EnsureOptions | number): Promise; fsCopy(src: string, dest: string, options?: CopyOptions): Promise; fsCreateFile(file: string): Promise; fsWriteFile(file: PathLike | number, data: any, options?: WriteFileOptions | string): Promise; addReport(report: string): void; addTelemetryProperties(properties: Record): void; currentStep?: string; } export declare class MigrationContext { private modifiedPaths; private reports; telemetryProperties: Record; backupPath: string; projectPath: string; isBotValidDomain: boolean; static create(ctx: CoreHookContext): Promise; private constructor(); addModifiedPath(path: string): void; getModifiedPaths(): string[]; cleanModifiedPaths(): Promise; restoreBackup(): Promise; cleanBackup(): Promise; removeFxV2(): Promise; fsPathExists(_path: string): Promise; fsRemove(_path: string): Promise; } //# sourceMappingURL=migrationContext.d.ts.map