/** Truncate 'text' using 'min'/'max' range as a "truncation window". Prefer truncation on space characters. If there is one that fits into the truncation window. Otherwise simply break at 'max'. Inserts ellipsis ('…') if truncation happened. Never exceeds 'max' characters length. */ export declare function truncate(text: string, min: number, max: number): string;