/** The one clone-local command aih shows for activating its managed hooks dir. */ export declare const GITHOOKS_PATH_COMMAND = "git config core.hooksPath .githooks"; /** Convert a git `core.hooksPath` value into a repo-local hook file path, if safe. */ export declare function repoLocalHookPath(root: string, hookName: string, hooksPath?: string): string | undefined; /** Active repo-local hook path from `.git/config`, or the git default when unset. */ export declare function configuredRepoLocalHookPath(root: string, hookName: string, env?: NodeJS.ProcessEnv): string | undefined; /** Whether `.git/config` points git at aih's managed `.githooks/` directory. */ export declare function usesManagedHooksPath(root: string): boolean; /** * True when commits will run a pre-commit hook through either git's default hook * path or aih's clone-local `.githooks/` path. */ export declare function preCommitHookActive(root: string): boolean;