import type { XYChartSelectionRectangleMetadata } from '../../hooks/useSortRectangleDatapoints.js'; import { type FlameDatapointInternal, type FlameSeriesWithDatapoints, type XYChartAxisInternal, type XYChartFlameSeriesInternal, type XYChartVariantsInternal } from '../../types/xy-chart-internals.js'; import type { XYChartColorPalette, XYChartData } from '../../types/xy-chart.js'; import type { ControlFlowCommand, MutableProcessingContext } from '../types/processing-types.js'; import { SeriesBaseStrategy } from './base-series.js'; export declare class FlameSeriesStrategy extends SeriesBaseStrategy { /** * Per-series layout. Lives as long as this strategy instance, which * `useXYChartDataProvider` re-creates on every render. */ private readonly states; private currentState; canHandle(seriesProps: XYChartVariantsInternal): seriesProps is XYChartFlameSeriesInternal; protected getSeriesId(_datum: XYChartData, seriesProps: XYChartFlameSeriesInternal): string; protected createSeries(seriesId: string, seriesProps: XYChartFlameSeriesInternal, xAxis: XYChartAxisInternal, yAxis: XYChartAxisInternal): { id: string; type: "flame"; data: never[]; filteredData: never[]; xAxisId: string; yAxisId: string; labelAccessor: string | undefined; frameIdAccessor: string; parentFrameIdAccessor: string; hierarchy: import("../utils/flame-layout/build-flame-layout.js").FlameHierarchy; drawnIndexBySourceIndex: Int32Array; }; protected createSeriesMetadata(_datum: XYChartData, seriesProps: XYChartFlameSeriesInternal, xAxis: XYChartAxisInternal, yAxis: XYChartAxisInternal, seriesId: string, context: MutableProcessingContext): { name: string; nameSegments: string[] | undefined; xAxis: XYChartAxisInternal; yAxis: XYChartAxisInternal; actions: ((datapoint: import("../../types/xy-chart.js").XYChartFlameSeriesActionItem, series?: import("../../types/xy-chart.js").XYChartFlameSeries) => import("../../../index.js").SeriesActionsTemplate) | undefined; formatter: import("@dynatrace-sdk/units").FormatOptions | import("../../../index.js").Formatter | undefined; unit: import("../../../index.js").ChartUnit; colorPalette: XYChartColorPalette; colorIsFromSlot: boolean; rootValue: number; visibleRootId: unknown; childrenCount: number[]; ancestorCount: number | undefined; onLayoutChange: ((layout: { ancestorCount: number | undefined; }) => void) | undefined; }; protected preprocessImpl(data: XYChartData[], seriesProps: XYChartFlameSeriesInternal, xAxis: XYChartAxisInternal, yAxis: XYChartAxisInternal, context: MutableProcessingContext): ControlFlowCommand; /** * The x axis is always numerical and the y axis always holds one band per * level, so both domains are known once the layout is built. */ private setAxisDomains; protected processImpl(datum: XYChartData, seriesProps: XYChartFlameSeriesInternal, xAxis: XYChartAxisInternal, yAxis: XYChartAxisInternal, datapoint: FlameDatapointInternal, context: MutableProcessingContext): void; private createClickPayloadResolver; private createIconResolver; protected applyColorRules(datapoint: FlameDatapointInternal, series: FlameSeriesWithDatapoints, context: MutableProcessingContext): void; getColor(colorPalette: XYChartColorPalette | undefined, fallbackColorPalette: XYChartColorPalette | undefined): { colorPalette: XYChartColorPalette; colorIsFromSlot: boolean; }; /** * Called once per datum in data order, so the datum's index is a running * cursor. Spans outside the visible tree never become datapoints. */ getDatapoint(datum: XYChartData, seriesProps: XYChartFlameSeriesInternal): FlameDatapointInternal | undefined; } //# sourceMappingURL=flame-series.d.ts.map