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