/** Returns the absolute path to the current git worktree root. Throws outside a git repo. */ export declare function getWorktreeRoot(): Promise; /** * Returns a filesystem-safe key for the current worktree, unique across * worktrees of the same repo. Format: `-` where sha8 is * the first 8 hex chars of sha256(toplevel). Falls back to sha8-only if * the basename contains characters outside SAFE_SEGMENT. */ export declare function getWorktreeKey(): Promise;