/** * Node port of `hula-read-config.sh` (a sourced bash helper). Resolves the * git repo root and the effective `worktreeBasePath` for the other ported * scripts, replacing the `grep`/`sed` config parsing and the * `git rev-parse --show-toplevel` shell-out with cross-platform Node. */ /** * Resolve the git repository root. Mirrors the shell-out * `git rev-parse --show-toplevel` with the same non-fatal fallback the bash * scripts used (`|| REPO_ROOT="$(pwd)"`). On Windows + Git Bash, git may return * a Unix-style path (`/d/foo`); normalize it to a native path. */ export declare function resolveRepoRoot(cwd?: string): Promise; /** * Read `worktreeBasePath` from `.hublaunch/hublaunch.config.js` and resolve it * to an absolute path, exactly as `hula-read-config.sh` did: * - falls back to `.hula-worktrees` when the key is absent/empty or the config * file does not exist / cannot be loaded; * - resolves relative values against the repo root. * * The value is read by loading the config module (the config is generated by * `hula init` as valid ESM) instead of regex-scraping the file. Loading is done * silently — no logger/spinner — to preserve the "JSON only on stdout" contract. */ export declare function getWorktreeBasePath(repoRoot: string): Promise; //# sourceMappingURL=read-config.d.ts.map