import { BranchBrainState, BranchMemoryTag } from '../types.js'; export declare class BranchBrain { private brain; private tags; private lastBranchByProject; private initialized; constructor(); init(): Promise; /** Current branch from git for the given project dir. */ currentBranch(projectDir: string): Promise; /** Tag a memory as either global or branch-scoped. */ tag(memoryId: string, branch: string, scope?: 'branch' | 'global'): Promise; /** Return the set of memory IDs active for a branch (branch-scoped + global). */ activeMemoryIds(branch: string): string[]; /** Compute + return the current branch brain state. */ getState(projectDir: string): Promise; /** Promote a branch-scoped memory to global (e.g., after merging). */ promoteToGlobal(memoryId: string): Promise; private persist; } export declare function getBranchBrain(): BranchBrain; export declare function resetBranchBrainForTests(): void; //# sourceMappingURL=branch-brain.d.ts.map