/** The canonical marker. Written by every path from now on. */ export declare const ENGRAM_HOOK_MARKER = "Engram Post-Commit Hook"; /** True if this post-commit hook contains a block Engram wrote, by any path, * in any version. */ export declare function isEngramHook(content: string): boolean; /** * Remove Engram's block and leave everything else intact. * * Deleting the whole file is only safe when Engram wrote the whole file, which * is exactly what the caller must decide from the result — a co-resident hook * must survive. Returns the content with Engram's lines removed; the caller * deletes the file only if what remains is nothing but a shebang. */ export declare function stripEngramHookBlock(content: string): string; //# sourceMappingURL=git-hook.d.ts.map