///
import { ScreenshotStorage } from '../interfaces/screenshot-storage';
/**
* Write and read baselines to and from the local file system.
*
* Screenshots will be saved with a `.png` extension.
*/
export declare class FsStorage implements ScreenshotStorage {
private readonly resultsPath;
/**
* @param resultsPath An absolute path or a path relative to cwd. The entire
* parent folder structure will be created if missing.
*/
constructor(resultsPath: string);
write: (name: string, data: Buffer) => Promise;
exists: (name: string) => Promise;
read: (name: string) => Promise;
delete: (name: string) => Promise;
private getPath;
}