import * as React from 'react'; interface LegendCardProps { /** Heading, beside the optional count badge. A node lets a card make its title interactive. */ title: React.ReactNode; /** Used for the collapse button's accessible name when `title` is not a plain string. */ titleLabel?: string; /** Rendered in a badge before the title. Omit for a card that is not counting anything. */ count?: number; /** Collapsed body. Only mounted while the card is open. */ children: React.ReactNode; defaultOpen?: boolean; /** Renders an X beside the chevron. Omit for a card that cannot be dismissed. */ onClose?: () => void; closeLabel?: string; testId?: string; countTestId?: string; } /** * The floating card chrome shared by every viewer overlay in the bottom-left stack: the same * `Menubar` shell, count badge and chevron collapse as the DatasetManager card, so a new * legend lines up with the existing ones instead of hand-tuning offsets. * * Presentation only. Callers decide when the card should exist at all, and supply the body. */ export declare function LegendCard({ title, titleLabel, count, children, defaultOpen, onClose, closeLabel, testId, countTestId, }: LegendCardProps): React.ReactElement; export {}; //# sourceMappingURL=LegendCard.d.ts.map