interface SnapshotEnvironment { getVersion(): string; getHeader(): string; resolvePath(filepath: string): Promise; resolveRawPath(testPath: string, rawPath: string): Promise; saveSnapshotFile(filepath: string, snapshot: string): Promise; readSnapshotFile(filepath: string): Promise; removeSnapshotFile(filepath: string): Promise; } interface SnapshotEnvironmentOptions { snapshotsDirName?: string; } export type { SnapshotEnvironment as S, SnapshotEnvironmentOptions as a };