import type { ValidConfigOptions } from '../../../../options/options.js';
import type { Commit } from '../../../sourceCommit/parse-source-commit.js';
export declare function fetchCommitBySha(options: {
    githubToken: string;
    branchLabelMapping?: ValidConfigOptions['branchLabelMapping'];
    githubApiBaseUrlV4?: string;
    repoName: string;
    repoOwner: string;
    sha: string;
    sourceBranch: string;
}): Promise<Commit>;
