import type { Datum } from "../charts/shared/datumTypes";
/**
 * Shared decay encoding utilities for all pipeline stores.
 *
 * `computeDecayOpacity()` — core algorithm used by all four pipeline stores
 * (XY, Ordinal, Network, Geo) to compute age-based opacity.
 *
 * `applyDecay()` — XY-specific application that handles per-vertex decay
 * for line/area nodes. Other stores call `computeDecayOpacity()` directly
 * with their own node iteration logic.
 */
import type { SceneNode, DecayConfig } from "./types";
/**
 * Compute decay opacity for a datum at `bufferIndex` out of `bufferSize` items.
 * Index 0 = oldest, bufferSize-1 = newest. Returns 0–1.
 */
export declare function computeDecayOpacity(decay: DecayConfig, bufferIndex: number, bufferSize: number): number;
/**
 * Apply decay opacity to a list of scene nodes.
 * Uses the datum's index in the buffer data array.
 */
export declare function applyDecay(decay: DecayConfig, nodes: SceneNode[], data: Datum[]): void;
