import { type Dirent, type Stats } from 'node:fs'; export declare function clearDirectory(destinationRoot: string): Promise; export declare function shouldSkipSnapshotPath(relativePath: string, excludedLogicalPaths: Set): boolean; export declare function readStableSnapshotDirectoryEntries(sourceRoot: string, expectedSourceStats?: Stats): Promise>>; export declare function readStableSnapshotFile(sourcePath: string, expectedSourceStats: Stats): Promise; export declare function writeStableSnapshotFile(destinationRoot: string, destinationPath: string, content: Uint8Array, mode?: number): Promise; export declare function assertSafeSnapshotDestinationPath(destinationRoot: string, destinationPath: string): Promise;