import type { Datum } from "../../charts/shared/datumTypes";
/**
 * Realtime histogram bar scene builder.
 *
 * Builds binned bars with optional category stacking. Maintains stable
 * category order via barColors keys + alphabetical fallback to prevent
 * flicker when bins partially exit the sliding window.
 *
 * Dependencies: BinAccumulator (computeBins), SceneGraph (buildRectNode)
 * Consumed by: PipelineStore.buildSceneNodes (chartType "bar")
 */
import type { RectSceneNode } from "../types";
import type { XYSceneContext } from "./types";
export interface BarSceneResult {
    nodes: RectSceneNode[];
    /** Sorted bin boundary values (edges of all bins) for data-driven brush snapping */
    binBoundaries: number[];
}
export declare function buildBarScene(ctx: XYSceneContext, data: Datum[]): BarSceneResult;
