/** * Removes diacritics from the given string. * @param input The string to deburr. * @returns Returns the deburred string. * * @credits * [Lodash](https://lodash.info/doc/deburr) */ export declare function deburr(input: unknown): string; /** * The RegExp to escape the RegExp special characters. */ export declare const REGEX_ESCAPE_REGEXP: RegExp; /** * Escapes the RegExp special characters in the given string. * * @param input The string to escape. * @returns Returns the escaped string. * * @example * ```ts * escapeRegExp('hello. world'); * // => 'hello\. world' * ``` */ export declare function escapeRegExp(input: string): string; /** * Escapes the HTML entities in the given string. * * @param input The string to escape. * @returns Returns the escaped string. * * @example * ```ts * escapeHtml('
hello
'); * // => '<div>hello</div>' * ``` */ export declare function escapeHtml(input: string): string; /** * Converts the given string to Upper First. * * @param input The string to convert. * @returns Returns the converted string. * * @example * ```ts * toUpperFirst('hello world'); * // => 'Hello world' * ``` * * @example Cyrillic * ```ts * toUpperFirst('хелло ворлд'); * // => 'Хелло ворлд' * ``` */ export declare function toUpperFirst(input: string): string; /** * Converts the given string to Camel Case. * * @param input The string to convert. * @returns Returns the converted string. * * @example * ```ts * toCamelCase('hello world'); * // => 'helloWorld' * ``` * * @example Cyrillic * ```ts * toCamelCase('Хелло Ворлд'); * // => 'хеллоВорлд' * ``` */ export declare function toCamelCase(input: string): string; /** * Converts the given string to Kebab Case. * * @param input The string to convert. * @returns Returns the converted string. * * @example * ```ts * toKebabCase('hello world'); * // => 'hello-world' * ``` * * @example Cyrillic * ```ts * toKebabCase('Хелло Ворлд'); * // => 'хелло-ворлд' * ``` */ export declare function toKebabCase(input: string): string; /** * Converts the given string to Snake Case. * * @param input The string to convert. * @returns Returns the converted string. * * @example * ```ts * toSnakeCase('hello world'); * // => 'hello_world' * ``` * * @example Cyrillic * ```ts * toSnakeCase('Хелло Ворлд'); * // => 'хелло_ворлд' * ``` */ export declare function toSnakeCase(input: string): string; /** * Converts the given string to Pascal Case. * * @param input The string to convert. * @returns Returns the converted string. * * @example * ```ts * toPascalCase('hello world'); * // => 'HelloWorld' * ``` * * @example Cyrillic * ```ts * toPascalCase('Хелло Ворлд'); * // => 'ХеллоВорлд' * ``` */ export declare function toPascalCase(input: string): string; /** * Converts the given name to initials. * * @param input The name to convert. * @returns Returns the initials of the name. * * @example Full name * ```ts * toInitials('Foo Bar Qux'); * // => 'FQ' * ``` * * @example Double-barrelled name * ```ts * toInitials('Foo Bar'); * // => 'FB' * ``` * * @example Single name * ```ts * toInitials('Foo'); * // => 'F' * ``` */ export declare function toInitials(input: unknown): string;