import type { HookInput, GuardResult } from '../../core/index.js'; /** Reset fired state for a session (for testing) */ export declare function resetWorktreeCheckState(sessionId?: string): void; /** * Worktree-check guard: fires PreToolUse on Edit|Write. * Hard-blocks (deny) when a concurrent session exists in the same store * without worktree isolation. Auto-registers the current session * in the store on first fire to close the detection gap. * * Sentinel file is only written on pass — denied sessions re-check * on subsequent invocations so they can recover once conflicts resolve. */ export declare function worktreeCheckGuard(input: HookInput, cwd: string): Promise; //# sourceMappingURL=worktree-check.d.ts.map