import { type BranchBaseResolutionCache, createBranchBaseResolutionCache } from './branchBaseRefCache.js';
import { resolveMergeBase } from './branchBaseCandidateResolver.js';
type FirstTaktCommit = {
    subject: string;
};
type FindFirstTaktCommitOptions = {
    baseCommit?: string;
    cache?: BranchBaseResolutionCache;
};
export declare function resolveGitCwd(cwd: string, worktreePath?: string): string;
export { createBranchBaseResolutionCache, resolveMergeBase };
export type { BranchBaseResolutionCache };
export declare function findFirstTaktCommit(gitCwd: string, defaultBranch: string, branch: string, options?: FindFirstTaktCommitOptions): FirstTaktCommit | null;
export declare function resolveBranchBaseCommit(gitCwd: string, defaultBranch: string, branch: string, cache?: BranchBaseResolutionCache): string;
//# sourceMappingURL=branchGitResolver.d.ts.map