import { type LocalHead, type TaskEvidence } from './completion-gate.js'; import type { OrgDaemon } from './daemon.js'; /** The workspace's current commit sha, or undefined when `cwd` is not inside * a git repository (or git is unavailable). ADR-O001 D5's sha pin is only * as good as this: it must come from the runtime, never from the agent. */ export declare function currentHeadSha(cwd: string): string | undefined; /** Every local head of the repository `cwd` belongs to: each worktree's HEAD * (the workspace's own first) and each local branch tip. Work often happens * in a worktree other than the org workspace — a release branch, a per-task * dev worktree — and evidence pinned to that work's current commit is as * fresh as evidence pinned to the workspace's. Empty outside a git repo. */ export declare function localHeads(cwd: string): LocalHead[]; export declare function dagCompleteTask(daemon: OrgDaemon, org: string, role: string, taskId: string, result?: string, evidence?: TaskEvidence): string; //# sourceMappingURL=dag-complete.d.ts.map