import type { FileHandle } from "node:fs/promises"; export type FsSafeTestHooks = { afterPreOpenLstat?: (filePath: string) => Promise | void; beforeOpen?: (filePath: string, flags: number) => Promise | void; afterOpen?: (filePath: string, handle: FileHandle) => Promise | void; beforeArchiveOutputMutation?: (operation: "mkdir" | "chmod", targetPath: string) => Promise | void; beforeFileStorePruneDescend?: (dirPath: string) => Promise | void; beforeFileStoreSyncPrivateWrite?: (filePath: string) => void; beforeRootFallbackMutation?: (operation: "mkdir" | "move" | "remove", targetPath: string) => Promise | void; beforeSiblingTempWrite?: (tempPath: string) => Promise | void; beforeTrashMove?: (targetPath: string, destPath: string) => void; }; export declare function getFsSafeTestHooks(): FsSafeTestHooks | undefined; export declare function __setFsSafeTestHooksForTest(hooks?: FsSafeTestHooks): void; //# sourceMappingURL=test-hooks.d.ts.map