import { ValidConfigOptions } from '../../../../options/options';
import { Commit } from '../../../sourceCommit/parseSourceCommit';
export declare function fetchCommitsByPullNumber(options: {
    accessToken: string;
    branchLabelMapping?: ValidConfigOptions['branchLabelMapping'];
    githubApiBaseUrlV4?: string;
    pullNumber: number;
    repoName: string;
    repoOwner: string;
    sourceBranch: string;
}): Promise<Commit[]>;
