import { NormalizedData } from '../engine/normalize'; /** * Areas move with the same restraint as lines and bars. They arrive lifting a little from below * on the bars' spring, softly blurred until they land. A new period moves on a line's clock with * a slight lean in reading order, so the change runs left to right rather than all at once. */ /** How long a period change takes to roll across an area chart. */ export declare const FLOW_DURATION = 480; /** How far column `index` of `count` has moved toward its new value, at `progress` of the wave. */ export declare function flowProgress(progress: number, index: number, count: number): number; /** One frame of a period change on an area chart: rows of the same shape, moving as a wave. */ export declare function flowFrame(from: NormalizedData, to: NormalizedData, progress: number): NormalizedData; /** * An area's first arrival at `elapsed` milliseconds into the chart's entrance: how far it has * risen from its floor (the spring may pass 1 briefly) and the blur it still carries. */ export declare function riseAt(elapsed: number): { rise: number; blur: number; }; /** * The SVG transform and filter that raise a mark from `floor` (its baseline in pixels), or * nothing once it has landed. */ export declare function riseStyle(elapsed: number, floor: number): { transform?: string; filter?: string; }; /** Where an area stands: the zero line, kept inside the plot. */ export declare function areaFloor(snapshot: { yToPixel: (value: number) => number; plot: { top: number; bottom: number; }; }): number;