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