/**
 * hermes-kg-hook.ts — install / uninstall the kg-first.sh hook for Hermes.
 *
 * Shared by:
 *   - `olam hermes bootstrap` (via runHermesBootstrap)
 *   - `olam kg install-hook --for hermes`
 *   - `olam kg uninstall-hook --for hermes`
 *
 * Writes the bundled kg-first.sh template from hermes-bundle/ into
 * ~/.hermes/hooks/kg-first.sh and makes it executable. Idempotent:
 * re-installing over an identical file is detected via content hash.
 *
 * HERMES_KG_HOOK_SENTINEL is embedded in the script body (the comment
 * `# OLAM_KG_HOOK` present in the template). It is the stable string
 * both this module and the config-entry writer use to detect presence.
 */
/** Stable sentinel that appears in both the hook script and config entry. */
export declare const HERMES_KG_HOOK_SENTINEL = "OLAM_KG_HOOK";
type HermesKgHookStatus = 'installed' | 'already-present' | 'dry-run';
export interface HermesKgHookResult {
    readonly status: HermesKgHookStatus;
    readonly destPath: string;
}
/**
 * Install kg-first.sh into hooksDir.
 * Returns 'already-present' when an identical script is already there.
 * Returns 'dry-run' when dryRun=true.
 */
export declare function installKgFirstHookForHermes(hooksDir: string, dryRun: boolean): HermesKgHookResult;
/**
 * Uninstall: remove kg-first.sh if it contains the sentinel.
 * Returns 'already-present' (noop) when the file doesn't exist or lacks the sentinel.
 */
export declare function uninstallKgFirstHookForHermes(hooksDir: string, dryRun: boolean): HermesKgHookResult;
export {};
//# sourceMappingURL=hermes-kg-hook.d.ts.map