export interface TruncateTextProps { /** The text to truncate */ text: any; /** Maximum number of characters before cutting (default: 100) */ length?: number; /** What to append at the end of cut text (default: '...') */ suffix?: string; /** Fallback if the text is invalid */ fallback?: string; } export default function TruncateText({ text, length, suffix, fallback }: TruncateTextProps): string;