This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

4 lines
205 B
TypeScript

export declare const TRUNCATE_TEXT_MAX_LENGTH = 30;
export declare function truncateText(text: string, maxLength?: number): string;
export declare function centerPad(text: string, length: number): string;