interface SnapshotEnvironment { resolvePath(filepath: string): Promise; prepareDirectory(filepath: string): Promise; saveSnapshotFile(filepath: string, snapshot: string): Promise; readSnapshotFile(filepath: string): Promise; removeSnapshotFile(filepath: string): Promise; } declare function setupSnapshotEnvironment(environment: SnapshotEnvironment): void; export { SnapshotEnvironment as S, setupSnapshotEnvironment as s };