import { type AgRangeAreaSeriesItemType, type AgSeriesMarkerStyle, _ModuleSupport } from 'ag-charts-community'; import { type LabelPlacement, type NormalisedTextOrSegments, type Point, type PointLabelDatum } from 'ag-charts-core'; import { type RangeAreaMarkerDatum } from './rangeAreaProperties'; export interface RangeAreaLabelDatum extends Readonly, PointLabelDatum { datumIndex: number; text: NormalisedTextOrSegments; textAlign: CanvasTextAlign; textBaseline: CanvasTextBaseline; rotation: number; /** Compass placement the engine resolved, coarsened back to inside/outside for the placement styles. */ readonly placement: LabelPlacement | undefined; /** The band side this label draws against, already flipped for an inverted datum. */ readonly valueSide: AgRangeAreaSeriesItemType; datum: any; readonly itemId?: never; readonly itemType: AgRangeAreaSeriesItemType; series: _ModuleSupport.CartesianSeriesNodeDatum['series']; style?: AgSeriesMarkerStyle; } interface RangeAreaFillPathDatum { readonly spans: _ModuleSupport.LinePathSpan[]; readonly phantomSpans: _ModuleSupport.LinePathSpan[]; readonly itemType: AgRangeAreaSeriesItemType; } interface RangeAreaStrokePathDatum { readonly spans: _ModuleSupport.LinePathSpan[]; readonly itemType: AgRangeAreaSeriesItemType; } export type RangeAreaItemId = `${string}-${string}`; export interface RangeAreaContext extends _ModuleSupport.CartesianSeriesNodeDataContext { readonly itemId: RangeAreaItemId; fillData: RangeAreaFillPathDatum; highStrokeData: RangeAreaStrokePathDatum; lowStrokeData: RangeAreaStrokePathDatum; styles: { low: _ModuleSupport.SeriesNodeStyleContext; high: _ModuleSupport.SeriesNodeStyleContext; }; intersectionSegments?: _ModuleSupport.Segment[]; } export declare function prepareRangeAreaPathAnimation(newData: RangeAreaContext, oldData: RangeAreaContext, diff: _ModuleSupport.ProcessedOutputDiff | undefined): { status: _ModuleSupport.NodeUpdateState; fill: { status: _ModuleSupport.NodeUpdateState; path: { addPhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; updatePhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; removePhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; }; pathProperties: import("packages/ag-charts-community/dist/types/src/motion/fromToMotion").FromToFns, any>; }; stroke: { status: _ModuleSupport.NodeUpdateState; path: { addPhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; updatePhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; removePhaseFn: (ratio: number, path: _ModuleSupport.Path) => void; }; pathProperties: _ModuleSupport.FromToFns, any>; }; hasMotion: boolean; } | undefined; export {};