/** * Capitalize first letter of a string and lowercase the rest. */ export declare const capitalizeFirst: (str: string) => string; /** * Strip text between '<' and '>' from string. */ export declare const removeTags: (str: string) => string; export declare const escapeHtmlAttributes: (str: string) => string; export declare const slugify: (str: string) => string; export declare const escapeScriptTags: (str: string) => string; export declare const truncate: (str: string, maxLen: number, ellipsis?: string) => string; export declare const defaultIfEmpty: (str: string, fallback: string) => string;