import { createWriteExistingFileGuardHook } from "./index"; type Hook = ReturnType; type BeforeArgs = { tool: string; sessionID?: string; outputArgs: Record; }; type Invocation = { input: { tool: string; sessionID: string; callID: string; }; output: { args: Record; }; }; export declare function createHookHarness(): { tempDir: string; hook: Hook; createFile: (relativePath: string, content?: string) => string; runBefore: (args: BeforeArgs) => Promise; runAfter: (invocation: Invocation, output?: string | undefined | null) => Promise; invoke: (args: BeforeArgs & { afterOutput?: string; }) => Promise; emitSessionDeleted: (sessionID: string) => Promise; cleanup: () => void; }; export {};