/** * Turn a human name into a URL slug: `Bánh sinh nhật` → `banh-sinh-nhat`. * * NFD-normalizes and strips combining marks so Latin diacritics transliterate * instead of vanishing, lowercases, turns every run of non-alphanumerics into * a single hyphen, and trims hyphens from both ends. The result always matches * `^[a-z0-9]+(?:-[a-z0-9]+)*$` — the pattern `landing_page.url_key` requires — * or is the empty string when nothing survives (a name written entirely in a * non-Latin script, e.g. `黑色星期五`). Callers decide the fallback. */ export declare function slugify(value: string): string; /** `slugify`, falling back to `-` when nothing survives. */ export declare function slugifyWithFallback(value: string, uuid: string, prefix?: string): string;