import { type ReactElement } from "react";
import { Legend as Core } from '../legend';
import { type LineSpec } from './LinePlot';
export interface LegendProps extends Omit<Core.SimpleProps, "data" | "onEntryChange"> {
    onLineChange?: (line: LineSpec) => void;
}
export declare const Legend: ({ className, style, onLineChange, ...props }: LegendProps) => ReactElement | null;
