import { type ReactNode } from 'react'; import type { TruncationMode } from '../../../../../typography/text-ellipsis/TextEllipsis.js'; interface HorizontalBarLabelProps { x: number; y: number; barWidth: number; barHeight: number; canvasWidth: number; isReversed: boolean; text: string; insideColor: string; outsideColor: string; truncationMode: TruncationMode; } /** * HTML label for a single horizontal bar. Screen media uses a hard-stop * gradient clipped to the text so each glyph is painted once (APPDEV-19526). * Print media uses solid clipped copies because Chromium can expose the * gradient's full background while printing (APPDEV-20369). * * When `isReversed` is true (RTL), the layout mirrors: bars grow * right-to-left and the label anchors at the bar's right edge. */ export declare function HorizontalBarLabel({ x, y, barWidth, barHeight, canvasWidth, isReversed, text, insideColor, outsideColor, truncationMode, }: Readonly): ReactNode; export declare namespace HorizontalBarLabel { var displayName: string; } export {}; //# sourceMappingURL=HorizontalBarLabel.d.ts.map