import type { DatabaseSync } from 'node:sqlite'; import type { ScenePrincipal } from '../contracts.js'; /** Associations are annotations only: existing branches never become autonomous write targets. */ export declare class TaskBranchInventory { private readonly db; constructor(db: DatabaseSync); private project; list(principal: ScenePrincipal, projectId: string): Promise<{ projectId: string; repositoryRoot: string; checkoutDirty: boolean; branches: { ref: string; sha: string; subject: string; worktree: string; taskId: string; activationId: string; association: string; changedSinceConfirmation: boolean; }[]; }>; associate(principal: ScenePrincipal, input: { projectId: string; branchRef: string; expectedSha: string; taskId: string; }): Promise<{ taskId: string; association: string; ref: string; sha: string; subject: string; worktree: string; activationId: string; changedSinceConfirmation: boolean; }>; }