export type TGetStrWithSlugArgs = Parameters; export type TGetStrWithSlugReturn = ReturnType; /** * Creates a lowercase Unicode slug. Diacritics are removed, while non-Latin * letters such as Cyrillic are preserved. * @param {string} str Source string * @param {{ separator?: string; locale?: string; }} [options={}] Slug options * @returns {string} Slug * @throws {TypeError} getStrWithSlug: str must be a string * @throws {TypeError} getStrWithSlug: separator must be a non-empty string * @example * getStrWithSlug("Café: Привет мир!"); // "cafe-привет-мир" * @example * // Create an SEO-friendly article pathname with a custom separator * const pathname = `/blog/${getStrWithSlug(article.title, { separator: "-" })}`; */ export declare const getStrWithSlug: (str: string, options?: { separator?: string; locale?: string; }) => string;