import { type InlineText, MarkdownDocument } from 'build-md'; import type { ReportsDiff } from '@code-pushup/models'; import type { DiffOutcome } from './types.js'; export declare function summarizeUnchanged(token: string, { changed, unchanged }: { changed: unknown[]; unchanged: unknown[]; }): string; export declare function summarizeDiffOutcomes(outcomes: DiffOutcome[], token: string): string; export declare function createGroupsOrAuditsDetails(token: T, { changed, unchanged }: ReportsDiff[`${T}s`], ...[columns, rows]: Parameters): MarkdownDocument; export declare function formatTitle({ title, docsUrl, }: { title: string; docsUrl?: string; }): InlineText; export declare function formatPortalLink(portalUrl: string | undefined): InlineText | undefined; type Change = { scores: { diff: number; }; values?: { diff: number; }; }; export declare function sortChanges(changes: T[]): T[]; export declare function getDiffChanges(diff: ReportsDiff): Change[]; export declare function changesToDiffOutcomes(changes: Change[]): DiffOutcome[]; export declare function mergeDiffOutcomes(outcomes: DiffOutcome[]): DiffOutcome; export declare function formatReportOutcome(outcome: DiffOutcome, commits?: ReportsDiff['commits']): InlineText; export declare function compareDiffsBy(type: T, a: ReportsDiff, b: ReportsDiff): number; export {};