import type { HTMLStencilElement } from '../../../stencil-public-runtime';
import { BarChartData } from '../interfaces/bar-chart-data.interface';
import { BarChartVariation } from './bar-chart-variation.enum';
/**
 *
 * @enums Orientation - BarChartVariation.enum.ts
 * @noTokens - Komponentens färger sätts direkt som i graferna. Behöver skrivas om för att kunna hantera olika brands och teman.
 * @swedishName Stapeldiagram
 */
export declare class barChart {
    hostElement: HTMLStencilElement;
    /**
     * Sätter orienteringen på diagrammet, kan vara vertikalt eller horisontellt, vertikalt är förvalt.
     */
    afVariation: BarChartVariation;
    /**
     * En sträng med rubriknivån du vill ha i diagrammet, default är 'h3'
     */
    afHeadingLevel: string;
    /**
     * (Frivillig) Om du vill att komponenten ska ha ett unikt ID, kan du skicka in detta här, annars genereras ett automatiskt
     */
    afId: string;
    /**
     * Datan som ska visas upp i stapeldiagrammet, kan vara av antingen typen BarChartData, eller strängifierad BarChartData
     */
    afChartData: BarChartData | string;
    private chartData;
    private yAxis;
    private yScale;
    private yAxisHandle;
    private xScale;
    private xAxis;
    private namedTickSizes;
    private barSelection;
    private textSelection;
    private barChartContainer;
    private xAxisHandle;
    private rem;
    private ellipsisSize;
    private status;
    private loading;
    private placeholderTicks;
    private prevHeight;
    private tempScale;
    private mappedData;
    private series;
    private dataWidth;
    private barGap;
    afChartDataUpdate(data: BarChartData | string): void;
    private chartDiv;
    private host;
    private legendDiv;
    private titleDiv;
    private tableDiv;
    private svg;
    private tooltip;
    private tooltipData;
    private maxHeight;
    private pixelSize;
    private dims;
    private margin;
    private tickPadding;
    private yTickSize;
    private xTickSize;
    private maxVal;
    private minVal;
    private tickWidth;
    private defaultDuration;
    fontSize: string;
    private numberFormat;
    private colorPalettes;
    barChartObserver: ResizeObserver;
    initSvg(): void;
    highlightBars: (serie: string) => void;
    resetBarColor: () => void;
    highlightAverageLine: (serie: string) => void;
    averageLine: () => void;
    initLegend(): void;
    initToolTip(): void;
    initEmpty(): void;
    private loadingResize;
    loadingState(empty?: boolean): void;
    transitionTitle(): void;
    initYAxis(empty?: boolean): void;
    highlightBarGroup: (_event: Event, datum: unknown | string) => void;
    unHighlightBarGroup: () => void;
    private setTickInteraction;
    private setYScale;
    private setMinMax;
    private setXScale;
    private tickSizes;
    initXAxis(empty?: boolean): void;
    private barGroupID;
    initBars(): void;
    private updateBars;
    initBarText(): void;
    initChain(): void;
    updateChain(): Promise<void>;
    private adjustBarText;
    private reshapeData;
    private adjustBarSize;
    colorFunction(input: number | string): string;
    evalColorVar: (colorVar: string) => string;
    xFunction: (d: any, i: number) => any;
    yFunction: (d: any, i: number) => any;
    heightFunction: (d: any) => number;
    widthFunction: (d: any) => number;
    resize(): void;
    private getLargestText;
    private setDims;
    private setMargins;
    private setNamedTicks;
    private setValueTicks;
    private adjustColor;
    private hover;
    private hoverOut;
    private openTooltip;
    private closeTooltip;
    private positionTooltip;
    private recomputeTextSize;
    componentWillLoad(): void;
    componentDidLoad(): void;
    disconnectedCallback(): void;
    componentWillUpdate(): void;
    componentDidUpdate(): void;
    private getTextSize;
    private activateTable;
    private setTableContent;
    private setTableDimensions;
    private headings;
    private tableBody;
    private reInitChart;
    render(): any;
}
