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 "split-clip" label for a single vertical bar. * * Mirrors the horizontal split-clip pattern but rotated. The constraining * dimension is the bar's WIDTH (perpendicular to the rotated text's reading * direction); the bar's height does not constrain a rotated label — the * available text length runs the full chart height minus padding. * * 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 {};