import { type ComponentPropsWithoutRef, type ReactNode } from "react";
import type { Comment, SuggestedEdit } from "../../types";
type FeedbackItem = Comment | SuggestedEdit;
export type FeedbackHighlightVariant = "default" | "minimap";
export declare function dedupeFeedbackHighlightItems<T extends FeedbackItem>(items: T[], isPreferred?: (item: T) => boolean): T[];
export declare const FeedbackHighlightBadge: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
    item: FeedbackItem;
    isSelected?: boolean;
    isDimmed?: boolean;
    zIndex?: number;
    testId: string;
    ariaSubject: "comment" | "suggestion";
    variant?: FeedbackHighlightVariant;
    minimapColorClassName?: string;
} & import("react").RefAttributes<HTMLButtonElement>>;
export declare function FeedbackHighlightBadgeTray({ children, className, style, variant, }: {
    children: ReactNode;
    className?: string;
    style?: ComponentPropsWithoutRef<"div">["style"];
    variant?: FeedbackHighlightVariant;
}): import("react/jsx-runtime").JSX.Element;
export {};
