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