/**
 * Git/fs-backed signal sources + side-effects for the OrphanedWorkSentinel.
 * Kept separate from the classifier so the sentinel stays unit-testable with
 * fakes. Reuses the AgentWorktreeReaper's git helpers (listWorktrees / isClean /
 * isInUse) so worktree discovery + process-cwd liveness have ONE implementation.
 *
 * All git queries are read-only (SafeGitExecutor.readSync). "Preservation" is a
 * NON-destructive patch write (git diff → a file under the state dir): it never
 * mutates the worktree, its index, or any ref — the stranded work stays exactly
 * where it is (this sentinel never removes a worktree), and the patch is belt-
 * and-suspenders insurance against a LATER reaper.
 */
import { type ReadGit } from './agentWorktreeGit.js';
import type { OrphanedWorkSentinelDeps, OrphanedWorkEvent } from './OrphanedWorkSentinel.js';
/**
 * Build the production deps for the OrphanedWorkSentinel.
 *
 * @param opts.raiseAttention injected by the server wiring (needs the attention
 *   store); called with the durable event for ONE deduped attention item.
 */
export declare function makeOrphanedWorkSentinelDeps(opts: {
    instarRepo: string;
    worktreesDir: string;
    stateDir: string;
    raiseAttention: (event: OrphanedWorkEvent) => void;
    readGit?: ReadGit;
    cwdRoots?: () => Set<string>;
    now?: () => number;
}): OrphanedWorkSentinelDeps;
//# sourceMappingURL=orphanedWorkGit.d.ts.map