import { type LegendItem } from '../types.js'; import { type Props as LegendProps, type ComputedItem, AbstractLegend } from './AbstractLegend.js'; interface Props extends LegendProps { items: LegendItem[]; } export declare class Legend extends AbstractLegend { #private; constructor(props: Props); update(props: Props): void; get items(): LegendItem[]; set items(items: LegendItem[]); collectItems(): ComputedItem[]; } export {};