import React from 'react';
interface DataElement {
    type: string;
    value: number;
    name?: string;
    valueVisible?: string;
    color?: string;
    id?: string;
}
interface SingleBarProps {
    type: 'quantitative' | 'comparative';
    data: DataElement[];
    showLegend?: boolean;
    onConfigure?: (value: [any]) => any;
}
interface ColorIndicator {
    color: string;
    isFree: boolean;
}
export default class SingleBar extends React.Component<SingleBarProps, any> {
    legend: DataElement[];
    paletteYellow: string[];
    paletteBlue: string[];
    palettePink: string[];
    paletteYellowRandom: string[];
    paletteBlueRandom: string[];
    palettePinkRandom: string[];
    paletteRandom: string[];
    paletteCommon: ColorIndicator[];
    constructor(props: SingleBarProps);
    compareRandom(): number;
    getDataFromResourse(type: 'quantitative' | 'comparative', data: DataElement[]): DataElement[];
    produceLegendRows(legend: DataElement[]): JSX.Element[];
    render(): JSX.Element;
}
export {};
//# sourceMappingURL=SingleBar.d.ts.map