/** * DocumentDiffList Component * * Multi-document wrapper that displays a list of documents with * change summaries and expandable rows showing per-document * component diffs. */ import React from 'react'; import type { BranchDocumentComparison } from '../../utils/branchDiff.js'; /** * Props for the DocumentDiffList component. */ export interface DocumentDiffListProps { /** * Array of document comparisons to display. */ documents: BranchDocumentComparison[]; /** * Name of the source branch. */ sourceBranchName: string; /** * Name of the target branch. */ targetBranchName: string; /** * Additional CSS class name. */ className?: string; } /** * Renders a list of documents with change count badges and expandable * rows for viewing component-level diffs per document. * * @param props - {@link DocumentDiffListProps} * @returns A React element with expandable document rows and change count badges. */ export declare function DocumentDiffList({ documents, sourceBranchName, targetBranchName, className, }: DocumentDiffListProps): React.ReactElement;