import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef } from '@angular/core'; import { BehaviorSubject, Subject } from 'rxjs'; import { Chart } from './chart'; import * as i0 from "@angular/core"; type DrawData = { data: Chart.InputData; viewBox: string; } & Chart.RenderedChart; export declare class ChartComponent { private readonly cdr; constructor(cdr: ChangeDetectorRef); container?: ElementRef; moreTextContainer?: ElementRef; tooltipTemplate?: TemplateRef<{ xIndex: number; yIndex: number; isSuppValue?: boolean; suppYIndex?: number; }>; readonly DEFAULT_HEIGHT_VAL = 300; readonly DEFAULT_WIDTH_VAL = 0; height$: BehaviorSubject; set height(w: number); get height(): number; width$: BehaviorSubject; set width(w: number); get width(): number; oldHeight: number | null; overrideHeight$: BehaviorSubject; set overrideHeight(w: number | null); get overrideHeight(): number | null; oldWidth: number | null; overrideWidth$: BehaviorSubject; set overrideWidth(w: number | null); get overrideWidth(): number | null; config$: BehaviorSubject; set config(c: Chart.Config); get config(): Chart.Config; data$: BehaviorSubject; private colorIndices; set data(d: Chart.InputData); get data(): Chart.InputData; getItemKey(item: Chart.DataY | Chart.SupplementaryDataY, index: number): string; toggleLegend(item: Chart.DataY | Chart.SupplementaryDataY, index: number): void; toggleLegend$: Subject; toggledLegends$: import("rxjs").Observable>; drawData$: import("rxjs").Observable; hover: ReturnType; mousemove($event: MouseEvent, hover?: Chart.Hover): void; mouseleave($event: MouseEvent): void; chartClicked: EventEmitter<{ xIndex: number; yIndex: number; suppYIndex?: number | undefined; }>; click(): void; get isHoverClickable(): boolean; varWrap(input: string): string; varColor(colors: string[], index: number): string; darkenColor(color: string): string; deEmphasizeColor(color: string): string; checkThatHoverDataIsFlow(hoverData: Chart.HoverReturn): hoverData is Chart.FlowHoverReturn; checkForFlowMatch(hover: Chart.FlowHoverTarget, element: Chart.Rect | Chart.DataLabel | Chart.FlowConnectionRender, matchTitleToRect?: boolean): boolean; getBarColor(rect: Chart.Rect, colors: string[], index: number, hoverData: Chart.HoverReturn): string; readonly DEFAULT_CONNECTION_COLOR = "--purp-60"; getConnectionColor(): string; readonly STANDARD_CONNECTION_OPACITY = 0.0625; readonly EMPHASIZED_CONNECTION_OPACITY = 0.5; getConnectionOpacity(connection: Chart.FlowConnectionRender, hoverData: Chart.HoverReturn): number; getDataLabelClass(dataLabel: Chart.DataLabel, config: Chart.Config, hoverData: Chart.HoverReturn): 'data-label' | 'flow-data-label'; getDataLabelOpacity(dataLabel: Chart.DataLabel, config: Chart.Config, hoverData: Chart.HoverReturn): number; showBarBorders(rect: Chart.Rect, hoverData: Chart.HoverReturn): boolean; showNonDisplayRect(rect: Chart.Rect, hoverData: Chart.HoverReturn): boolean; getBucketConfigInfo(hoverData: Chart.FlowHoverReturn | null, identifier: 'startId' | 'endId' | 'barId'): { title: string; color: string; }; getItemColor(item: Chart.DataY | Chart.SupplementaryDataY, itemIndex: number): string; showMoreTooltip: boolean; lockShowMoreTooltip: boolean; moreTextWidth: number; baseLegendItemWidth: number; firstHiddenLegendItemIndex$: import("rxjs").Observable<{ dataIndex: number; suppIndex: number; hiddenCount: undefined; } | { dataIndex: number; suppIndex: number; hiddenCount: number; }>; moreClick(): void; closeHandler(): void; mouseoverLegend(): void; mouseleaveLegend(): void; measureScrollbarThickness(): { vertical: number; horizontal: number; }; getSubcontainerHeight(data: DrawData | null): string; getSubcontainerWidth(data: DrawData | null): string; getBottomLabelY(data: Chart.RenderedChart): number; getFontSize(data: Chart.RenderedChart | null): string; checkForNonDisplayState(data: DrawData | null): string | null; standardHoverDataGuard(hoverData: Chart.HoverReturn): Extract | null; flowHoverDataGuard(hoverData: Chart.HoverReturn): Chart.FlowHoverReturn | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};