/// import { Image, ImageOptions } from './image-utils'; import { IComparerOptions } from './options'; export declare function ensureFolderExists(artifactsPath: string): void; export declare function getNameWithSuffix(source: string, suffix: string): string; export declare class ScreenshotLocation { constructor(basePath: string, fileName: string, key: string, options: ImageOptions); private readonly options; key: string; directory: string; name: string; filePath: string; maskPath: string; diffPath: string; private throwNotFound; patchFileName(changeFileName: (fn: string) => string): void; read(key: 'file' | 'mask' | 'diff'): Image; tryRead(key: 'file' | 'mask' | 'diff'): Image; private readBuffer; private tryReadBuffer; exists(key: 'file' | 'mask' | 'diff', throwError?: boolean): boolean; copyTo(destination: ScreenshotLocation): void; } export declare class ScreenshotLocations { name: string; source: ScreenshotLocation; destination: ScreenshotLocation; temp: ScreenshotLocation; tempText: ScreenshotLocation; constructor(t: TestController, screenshotName: string, { path: testRoot, screenshotsRelativePath, destinationRelativePath, ignoreSizeDifference, }: Pick); }