import type { SlugifyOptions, SlugifyResult } from './types.js'; /** * Creates an SEO-friendly slug from plain text. * * The generated slug is normalized to lowercase ASCII tokens separated by `-`. * Optionally removes stopwords for `en` or `pt-BR` before truncating by `maxWords`. * * @param options - Slug generation options. * @returns A normalized slug plus metadata about removed stopwords and warnings. * * @example * createSlug({ * text: 'How to write a clear project brief for clients', * maxWords: 6, * removeStopwords: true, * }); * // => { * // slug: 'write-clear-project-brief-clients', * // warningCodes: ['MAX_WORDS_APPLIED'], * // ... * // } */ export declare const createSlug: ({ text, maxWords, removeStopwords, inputLanguage, }: SlugifyOptions) => SlugifyResult;