import type { RefObject } from 'react'; import type { HistogramChartConfiguration } from '../../../histogram/types/histogram-props.js'; import type { HistogramChartRef } from '../../../histogram/types/histogram-ref.js'; import type { XYChartRef } from '../../../xy-chart/types/xy-chart.js'; /** * Builds the Histogram-shaped imperative handle for `HistogramToXY`. * * - All programmatic interaction methods are delegated to the inner * `XYChart` ref. * - `getConfig()` returns a Histogram-shaped serialized payload built from * the resolved `HistogramChartConfiguration` (see * `serializeHistogramConfig`). */ export declare const buildHistogramImperativeHandle: (xyRef: RefObject, config: HistogramChartConfiguration) => HistogramChartRef;