import type { PullRequest, SemverNumber } from "../shared-types"; import { Service } from "../utils/dependency-injector/service"; import type { Repo } from "../utils/repo"; type ParsedPR = { id: number; title: string; mergedAt: Date; body?: string; label?: string; matcher?: string; }; type PrGroup = { groupName?: string; pullRequests: ParsedPR[]; }; export declare class ChangelogGeneratorService extends Service { private dateResolver; private config; _formatLinkToPullRequest(pullRequestId: string | number, repo: Repo): string; _formatPullRequest(pullRequest: ParsedPR, repo: Repo, body?: string | null): string; _getPrMatchers(): (string | { flags?: string | undefined; label?: string | undefined; regexp: string; })[]; _getPrLabelsAndMatchers(pr: PullRequest): { label: string | undefined; matcher: string | undefined; isMatched: boolean; }; _mapToParsed(pullRequests: PullRequest[]): ParsedPR[]; _applyGrouping(pullRequests: ParsedPR[]): PrGroup[]; create(newVersionNumber: SemverNumber, mergedPullRequests: PullRequest[], repo: Repo): string; } export {};