import type { AxisIdToScales } from '../../../context/XYChartScales.context.js'; import type { BarMetadata, BarSeriesWithDatapoints } from '../../../types/xy-chart-internals.js'; interface BarLabelOverlayProps { axisIdToScales: AxisIdToScales; series: BarSeriesWithDatapoints; metadata: BarMetadata; opacity?: number; } /** * Renders the HTML bar labels for a single bar series. Each datapoint produces * a `HorizontalBarLabel` or `VerticalBarLabel` depending on the chart's * categorical-axis orientation; both use the split-clip pattern to paint the * portion inside the bar with a contrasting color and the portion overflowing * to the chart edge with the neutral text color. * * Rendered as a sibling of the `` element (not inside `BarDisplay`) * because HTML children of `` are fallback content, not visible DOM. * See `BarLabelLayout.tsx` for the chart-level wrapper that iterates over * labeled bar series and mounts this component. */ export declare function BarLabelOverlay({ axisIdToScales, series, metadata, opacity, }: Readonly): import("react/jsx-runtime").JSX.Element | null; export declare namespace BarLabelOverlay { var displayName: string; } export {};