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