import { type ReactNode } from 'react'; import type { TruncationMode } from '../../../../../typography/text-ellipsis/TextEllipsis.js'; interface VerticalBarLabelProps { x: number; y: number; barWidth: number; barHeight: number; canvasHeight: number; isReversed: boolean; text: string; insideColor: string; outsideColor: string; truncationMode: TruncationMode; } /** * HTML label for a single vertical (rotated) bar — see `HorizontalBarLabel` * for the coloring approach explanation. * * When `isReversed` is false (BTT, normal) the bar grows upward and the label * is rotated −90°, reading bottom-to-top. * * When `isReversed` is true (the numerical Y axis has `reversed` set, i.e. * TTB) the bar grows downward from the chart top and the label is rotated * +90°, reading top-to-bottom. */ export declare function VerticalBarLabel({ x, y, barWidth, barHeight, canvasHeight, isReversed, text, insideColor, outsideColor, truncationMode, }: Readonly): ReactNode; export declare namespace VerticalBarLabel { var displayName: string; } export {}; //# sourceMappingURL=VerticalBarLabel.d.ts.map