import { optional } from '@synnaxlabs/x';
import { ReactElement } from 'react';
import { LineSpec } from './LinePlot';
import { Legend as Base } from '../vis/legend';
export interface LegendProps extends Omit<Base.SimpleProps, "data" | "onEntryChange"> {
    variant?: "floating" | "fixed";
    onLineChange?: (line: optional.Optional<LineSpec, "legendGroup">) => void;
}
export declare const Legend: ({ variant, ...rest }: LegendProps) => ReactElement;
//# sourceMappingURL=Legend.d.ts.map