/** Hook command and matcher for one session. */ export interface DestructiveGitGuard { hookCommand: string; matcher: string; } /** * Whether the guard is on for sessions launched by this backend. * * @param env - Environment to read (defaults to the backend's process.env) * @returns false only when `CREWLY_DESTRUCTIVE_GIT_GUARD=0` */ export declare function isDestructiveGitGuardEnabled(env?: NodeJS.ProcessEnv): boolean; /** * Prepare the guard for a session. * * @param installRoot - Install root holding `config/hooks` * @param env - Environment holding the kill switch * @returns The hook description, or null when disabled */ export declare function prepareDestructiveGitGuard(installRoot: string, env?: NodeJS.ProcessEnv): DestructiveGitGuard | null; //# sourceMappingURL=destructive-git-guard.service.d.ts.map