/** Exposed so the narrow cross-platform fallback policy stays regression-tested. */ export declare function isUnsupportedDirectoryFsyncError(err: unknown): boolean; /** * fsync a directory entry when the host filesystem supports it. * * Linux/macOS filesystems normally support directory fsync. Some platforms * and virtual/network filesystems reject the operation with a documented * "unsupported" errno. In that narrow case atomicity remains intact but crash * durability is best-effort; genuine I/O and permission errors still fail the * publication rather than making a false durability claim. */ export declare function fsyncDirectorySyncPortable(directoryPath: string): void; /** Strictly fsync one regular file. Symlinks/devices are never accepted. */ export declare function fsyncRegularFileSync(filePath: string): void; /** * Make a set of already-written files and their directory entries durable. * Duplicate paths are intentionally collapsed to avoid redundant disk flushes. */ export declare function fsyncFilesAndDirectorySync(directoryPath: string, filePaths: readonly string[]): void; //# sourceMappingURL=fs-durability.d.ts.map