/** * Converts arbitrary text into kebab-case. * * @param value - Input text. * @returns Kebab-cased output. */ export declare function toKebabCase(value: string): string; /** * Converts arbitrary text into camelCase. * * @param value - Input text. * @returns camelCase output. */ export declare function toCamelCase(value: string): string; /** * Uppercases the first character in a string. * * @param value - Input text. * @returns String with first character uppercased. */ export declare function capitalize(value: string): string; /** * Truncates text to a fixed size using a suffix. * * @param value - Input text. * @param maxLength - Maximum final string length. * @param suffix - Suffix appended to truncated text. * @returns Truncated string. * @throws {TypeError} If `maxLength` is not a non-negative integer. */ export declare function truncate(value: string, maxLength: number, suffix?: string): string; /** * Converts text to a URL-safe slug. * * @param value - Input text. * @returns Slugified lowercase string. */ export declare function slugify(value: string): string; /** * Removes HTML tags from a string. * * @param value - Input HTML-like string. * @returns Plain text without tags. */ export declare function stripHtml(value: string): string; /** * Converts a phrase to Title Case. * * @param value - Input phrase. * @returns Title cased phrase. */ export declare function toTitleCase(value: string): string; /** * Masks a string keeping a number of trailing characters visible. * * @param value - Input text. * @param visibleEnd - Number of trailing characters to keep. * @param maskChar - Masking character. * @returns Masked string. * @throws {TypeError} If `visibleEnd` is not a non-negative integer. */ export declare function mask(value: string, visibleEnd?: number, maskChar?: string): string;