/** The mark that stands where a text was cut: two dots leave more room for the text than '…' does. */ export declare const ELLIPSIS = ".."; /** * Text cut to the room it has, with a mark where it was cut. The mark is part * of the budget — a label never grows past its room by wearing one — and when * not even the mark fits there is nothing honest left to draw. */ export declare function ellipsize(text: string, font: string, room: number, measureText: (text: string, font: string) => number, mark?: string): string;