/** * Returns true if searchString appears as a substring without considering capitalization or diacritics. * E.g. `ñ` and `n` are considered to be the same glyph. */ export declare const normalizedIncludes: (haystack: string, needle: string) => boolean; export declare const removeDiacritics: (str: string) => string; /** * Normalizes the given text (e.g. from a headline) to a URL-safe string that can be used as URL hash. * * @example "Hello World" => "hello-world", e.g. used as "https://example.com/my-page#hello-world" */ export declare const normalizeUrlHash: (text: string) => string; /** * Gets the initials for the given username by considering the given locale. * * @returns Initials or undefined if the username contains unsupported characters (e.g. because its a language that does not support initials). */ export declare const getInitials: (username: string, locale: string) => string | undefined;