import type { IDatePatternKeys } from '@upswot/core'; import type { ActiveElement, ChartConfiguration } from 'chart.js'; import type { EventContext } from 'chartjs-plugin-annotation'; import type { PropertyValueMap } from 'lit'; import { UsBaseElement } from '../base/UsBaseElement'; import type { IChartData, IChartLinePointVariants, IChartProps, IChartStyles, IChartTypes, IChartValueFormat } from './model/IChartProps'; declare global { interface HTMLElementTagNameMap { 'us-chart': UsChart; } } export declare class UsChart extends UsBaseElement implements IChartProps { static styles: import("lit").CSSResultGroup[]; data: IChartData[] | Array | number[]; datasets: any[]; loading: boolean; type: IChartTypes; locale: string; isDarkTheme: boolean; dateFormat: IDatePatternKeys; tooltipDateFormat: IDatePatternKeys; tooltipTitle: String; tooltipPercentLabelDivider: String; yAxisFormat: IChartValueFormat; xAxisFormat: IChartValueFormat; yAxisSymbol: string; xAxisSymbol: string; xAxisKey: string; yAxisKey: string; pointVariant: IChartLinePointVariants; visiblePoint: string; stacked: boolean; legend: boolean; interaction: boolean; horizontal: boolean; yAxisMinMaxDeviation: boolean; doughnutTotal?: boolean; tooltipAdditionalData: boolean; splittingDate: boolean; doughnutTotalTitle?: string; valueFormat: IChartValueFormat; valueSymbol: string; labels: string[]; plugins: any[]; datasetLabels: string[]; chartTitle: string; yAxisTicksCount: number; xAxisTicksCount: number; barPercentage: number; minValue: number | undefined; maxValue: number | undefined; stepSize: number | undefined; averageAmount: number; clip: boolean; xAxisBeginAtZero: boolean; yAxisBeginAtZero: boolean; isLastDateAsterisk: boolean; isDisabled: boolean; myChart: any; isAxisChart: boolean; isPercentChart: boolean; styleVariables: IChartStyles; innerInteractionCondition: boolean; isMultiDataset: boolean; chartAnchor: HTMLCanvasElement; pointRadius: number; averageLineElement: EventContext | null; disconnectedCallback(): void; updated(changedProperties: PropertyValueMap | Map): void; mainInit(): Promise; render(): import("lit").TemplateResult<1>; initChart(): void; generateStyleVariables(): void; getChartOption(): ChartConfiguration; setLegend(settings: any): void; setTitle(settings: any): void; setScales(settings: any): void; setYAxisDeviation(settings: any): void; setInteraction(settings: any): void; setBarInteraction(settings: any): void; setStackedCharts(settings: any): void; setHorizontalState(settings: any): void; getFormattedValueFunction(variant: IChartValueFormat, symbol: string): any; setFormattedValues(settings: any, axis: 'y' | 'x'): void; setTooltipPercentLabel(settings: any, formatValue: any): void; setTooltipAxisTitle(settings: any, formatValue: any): void; setTooltipAxisLabel(settings: any, formatValue: any, horizontal: boolean): void; setTooltipAdditionalData(settings: any, formatValue: any): void; setAverageLine(settings: any): void; setPointSettings(settings: any): void; generateData(data: IChartData[]): IChartData[]; generateDatasets(data: IChartData[] | Array | number[], datasets: any[], config: any): void; generateArbitraryLine(settings: any, startingPoint: string | undefined): void; hideAverageLabel(elements: ActiveElement[]): void; getAverageContent(): string; generateDoughnutTotal(config: any): void; generateEmptyAxisValues(settings: any): void; generateLabels(config: any): void; moveLegendToBottomIfNeeds(config: any): void; setDatasetCustomColors(config: any): void; postDataActions(config: any): void; updateChartData(): void; disposeChart(): void; }