/** * Truncates a given string to a specified length, optionally appending an ellipsis. * * @param {string} text - The text to be truncated. * @param {number} length - The maximum allowed length of the text. * @param {boolean} [withEllipsis=true] - Whether to append an ellipsis (...) to the truncated text. * @returns {string} The truncated text, with an optional ellipsis if the original text exceeds the specified length. */ export declare const limitedText: (text: string, length: number, withEllipsis?: boolean) => string;