/** * Working directory the `gh` token at `index` would see after sequential * command-local `cd` and its own `env -C` wrappers. `baseCwd` is session * `hookCwd`. Returns `undefined` when cwd is unknown so callers fail open * instead of using the session checkout. Absolute `cd` after `&&`/`;` and an * absolute `env -C` recover a known directory. */ export declare function commandCwd(tokens: string[], index: number, baseCwd: string): string | undefined;