/** * BranchDiffHeader Component * * Header bar for branch merge comparison showing branch names * instead of version numbers, along with change count summary. */ import React from 'react'; /** * Props for the BranchDiffHeader component. */ export interface BranchDiffHeaderProps { /** * Name of the source branch. */ sourceBranchName: string; /** * Name of the target branch. */ targetBranchName: string; /** * Number of added components. */ added?: number; /** * Number of removed components. */ removed?: number; /** * Number of modified components. */ modified?: number; /** * Number of reordered components. */ reordered?: number; /** * Callback when close button is clicked. */ onClose: () => void; /** * Additional CSS class name. */ className?: string; } /** * Renders a header bar for branch merge comparison with branch names * and change count summary. * * @param props - {@link BranchDiffHeaderProps} * @returns A React element containing branch labels, change badges, and a close button. */ export declare function BranchDiffHeader({ sourceBranchName, targetBranchName, added, removed, modified, reordered, onClose, className, }: BranchDiffHeaderProps): React.ReactElement;