import type { IInteractionStepDetailRow } from "./types.js"; /** * Merges several occurrences' `detailRows` into one flat set for a category, grouping by * `labelId`. A label appearing in only one occurrence keeps that row untouched. A label repeated * across occurrences merges by value kind: * - `list` rows concatenate `items` (and sum `truncatedCount`), keeping the first occurrence * that authors a `heading`/`bulleted`. * - `groups` rows concatenate the `groups` arrays across occurrences, then merge groups that * describe the same thing (same heading key, e.g. Catalogue search's `objectType`) the same way * `list` rows merge — so two steps each finding metrics render one metric group, not two. * - `text` rows become a plain, unheaded `list` of each occurrence's text as one item — the same * "stacked plain list" look already used for single-occurrence match lists like "Used". * - Mismatched kinds across occurrences fall back to the first occurrence's row. * @internal */ export declare function mergeDetailRows(rowGroups: IInteractionStepDetailRow[][]): IInteractionStepDetailRow[]; //# sourceMappingURL=mergeDetailRows.d.ts.map