import { ContainerStylesAddon } from '../../types/plots'; import { PlotListLegendProps } from './PlotListLegend'; import { PlotLegendGradientProps } from './PlotGradientLegend'; interface PlotLegendBaseProps extends ContainerStylesAddon { legendTitle?: string; } export declare type PlotLegendProps = PlotLegendBaseProps & (({ type: 'list'; } & PlotListLegendProps) | ({ type: 'colorscale'; } & PlotLegendGradientProps)); export default function PlotLegend({ type, legendTitle, containerStyles, ...otherProps }: PlotLegendProps): JSX.Element; export {}; //# sourceMappingURL=PlotLegend.d.ts.map