import { ManifestPlugin } from '../plugin'; import { RepositoryConfig, CandidateReleasePullRequest } from '../manifest'; import { GitHub } from '../github'; import { Logger } from '../util/logger'; import { Strategy } from '../strategy'; import { Commit } from '../commit'; import { Release } from '../release'; interface LinkedVersionsPluginOptions { merge?: boolean; logger?: Logger; } /** * This plugin reconfigures strategies by linking multiple components * together. * * Release notes are broken up using ``/`
` blocks. */ export declare class LinkedVersions extends ManifestPlugin { private groupName; private components; private merge; constructor(github: GitHub, targetBranch: string, repositoryConfig: RepositoryConfig, groupName: string, components: string[], options?: LinkedVersionsPluginOptions); /** * Pre-configure strategies. * @param {Record} strategiesByPath Strategies indexed by path * @returns {Record} Updated strategies indexed by path */ preconfigure(strategiesByPath: Record, commitsByPath: Record, releasesByPath: Record): Promise>; /** * Post-process candidate pull requests. * @param {CandidateReleasePullRequest[]} pullRequests Candidate pull requests * @returns {CandidateReleasePullRequest[]} Updated pull requests */ run(candidates: CandidateReleasePullRequest[]): Promise; } export {};