export type FsyncHandleKind = "directory" | "read-only-file" | "writable-file"; export interface FsyncCompatibilityOptions { site: string; handleKind: FsyncHandleKind; platform?: NodeJS.Platform; fsync?: (fd: number) => void; logSkipped?: (message: string) => void; } /** Reset process-wide skip-log state between tests. */ export declare function resetFsyncSkipLogStateForTests(): void; /** Runs fsync, skipping unsupported directory syncs and Windows read-only EPERM. */ export declare function fsyncWithCompatibility(fd: number, options: FsyncCompatibilityOptions): void; //# sourceMappingURL=fsync-compat.d.ts.map