interface GitWorktreeContext { isGitWorktree: boolean; isSecondaryWorktree: boolean; currentWorktreeRoot: string | null; primaryWorktreeRoot: string | null; currentBranch: string | null; } export interface GitWorktreeEntry { root: string; branch: string | null; detached: boolean; } declare function inspectGitWorktree(projectPath: string): GitWorktreeContext; declare function listGitWorktrees(projectPath: string): GitWorktreeEntry[]; declare function listGitWorktreeRoots(projectPath: string): string[]; declare function isLocalGitBranch(projectPath: string, branch: string): boolean; declare function resolveGitRef(projectPath: string, ref: string): string | null; export { inspectGitWorktree, isLocalGitBranch, listGitWorktreeRoots, listGitWorktrees, resolveGitRef, }; export type { GitWorktreeContext }; //# sourceMappingURL=git-worktree.d.ts.map