import type { FontStyle, TextWidthMeasurer } from "../shared/types/measure-text";
export declare const CHAR_ELLIPSES = "\u2026";
export declare function truncateText(text: string, width: number, measurer: TextWidthMeasurer, fontStyle: FontStyle): string;
