/**
 * Apply the global `--cwd <dir>` option: resolve it to an absolute path and
 * `process.chdir()` into it, so every downstream `process.cwd()` read anchors to
 * the plugin project root — both inline command resolution (e.g. `--from`) and
 * the dispatcher child process, which inherits the parent's cwd at spawn time.
 *
 * This lets callers run `lpm --cwd <projectRoot> <command>` from anywhere
 * (a parent dir, another repo) without a brittle `cd`. Only directory existence
 * is validated here; plugin-root checks stay where they belong downstream
 * (`assertPluginRoot` for .lpm-cache writes, `getLocalPluginConfig` for reads).
 */
export declare function applyCwdOption(cwd: string | undefined): void;
