/** * Trims text in the middle and adds ellipsis if it exceeds the maximum length. */ export declare const trimText: (text: string, maxLength?: number) => string | undefined; /** * Trims whitespaces and extra spaces in a given text. */ export declare const trimExtraSpaces: (text: string) => string | undefined;