/** A readable failure inferring a base branch — CLIs map this to exit 2. */ export declare class GitRefError extends Error { } /** Infer a PR/base ref for local and GitHub Actions CLI runs. */ export declare function inferBaseRef(env?: NodeJS.ProcessEnv): string;