import { BenchmarkBaseProps, NormalizedBenchmarkItem } from "../common/benchmark/types.mjs"; import "../common/benchmark/index.mjs"; import { ReactNode } from "react"; //#region src/BenchmarkRankingChart/index.d.ts export interface BenchmarkRankingChartProps extends BenchmarkBaseProps { /** * Thickness of the horizontal score bar * @default 24 */ barSize?: number; /** * Fallback bar color when an item has no color */ color?: string; /** * Text accent color when an item has `highlighted: true` (does not change bar fill) * @default theme.gold */ highlightColor?: string; /** * Font size for the model name * @default 14 */ labelFontSize?: number; /** * Display width of the left label (icon + name + provider). * Omit to size to the longest label. */ labelWidth?: number | string; /** * Override domain max used for bar scaling */ maxValue?: number; /** * Custom rank renderer. Receives the normalized item; default is `#${rank}`. */ renderRank?: (item: NormalizedBenchmarkItem) => ReactNode; /** * Height of each ranking row * @default 40 */ rowHeight?: number; /** * Show AccuracyBar-style horizontal error bars * @default true */ showErrorBars?: boolean; /** * Show vertical grid lines in the plot * @default true */ showGridLines?: boolean; /** * Show rank on the left (default `#1`, `#2`, ...) * @default true */ showRank?: boolean; /** * Show tooltip on row hover * @default true */ showTooltip?: boolean; /** * Show numeric score labels on the right * @default true */ showValueLabel?: boolean; /** * Show X value axis line + ticks under the bars * @default false */ showXAxis?: boolean; /** * Show Y axis line along the plot * @default true */ showYAxis?: boolean; /** * Font size for the numeric score * @default 14 */ valueLabelFontSize?: number; /** * Optional X axis title under the ticks */ xAxisLabel?: string; } declare const BenchmarkRankingChart: import("react").ForwardRefExoticComponent>; //#endregion export { BenchmarkRankingChart as default }; //# sourceMappingURL=index.d.mts.map