import { type ReactElement, type RefAttributes } from 'react'; import type { TopListActionItem, TopListProps } from './types/top-list.js'; import type { ChartColorPalette, ChartDatapoint } from '../core/types/chart-data.js'; import type { XYChartRef } from '../xy-chart/types/xy-chart.js'; export type { ChartColorPalette, TopListActionItem, TopListProps }; /** * A horizontal ranked-bar chart with labels inside bars and a hidden numerical * axis, implemented as a wrapper around XYChart. When the list has more items * than fit in `height`, the viewport becomes scrollable. * * Slots such as `` can be passed as children to customize * bar colors per datapoint; they are forwarded to the internal `XYChart`. * @public */ export declare const TopList: ((props: TopListProps & RefAttributes) => ReactElement | null) & { /** * Apply a conditional color override to bars matching the rule. Same * component reference as `XYChart.ColorRule` and `TimeseriesChart.ColorRule`. */ ColorRule: { (_props: import("../index.js").ColorRuleProps): null; displayName: string; }; }; //# sourceMappingURL=TopList.d.ts.map