import type { WebGLContextManager } from "../../webgl/context-manager"; import type { CartesianChart } from "./cartesian"; /** * Full-frame render: gridlines → glyph draw inside the plot-frame * scissor → chrome overlay (axes + legend + tooltip). * * Branches on `_facetConfig.facet_mode`: * * - `"overlay"` (legacy): a single plot rect; all split series are * drawn together, distinguished by color. This is the pre-facet * behavior, preserved for manual opt-in via `plugin_config.facet_mode`. * - `"grid"` (default): when splits are present, `_splitGroups` laid * out as a grid of sub-plots by {@link buildFacetGrid}. When splits * are absent, falls through to the single-plot path — identical to * the `"overlay"` case with 0 splits, so the non-split render path * is byte-for-byte unchanged from before this feature. */ export declare function renderCartesianFrame(chart: CartesianChart, glManager: WebGLContextManager): void; /** * Redraw the chrome canvas only. Used for lightweight hover updates. */ export declare function renderCartesianChromeOverlay(chart: CartesianChart): void; /** * Map a flat slotted index back to its series (facet) index. */ export declare function seriesFromIndex(chart: CartesianChart, flatIdx: number): number;