import { IAgent } from '@agent-tars/interface'; /** * SlugGenerator - Intelligent slug generation using LLM JSON mode * * This class provides AI-powered slug generation that can handle multilingual content * and produce semantic, URL-friendly slugs. It uses the LLM's JSON mode to ensure * structured output and proper formatting. * * Key features: * - Multilingual support (Chinese, English, etc.) * - Semantic understanding of content * - Consistent 3-5 word length * - URL-safe formatting * - Internal fallback to manual normalization if LLM fails */ export declare class SlugGenerator { private agent; constructor(agent: IAgent); /** * Generate a semantic slug from user message * Handles all normalization logic internally, no external fallback needed * * @param userMessage The original user message to generate slug from * @returns Promise resolving to a normalized slug string */ generateSlug(userMessage: string): Promise; /** * Generate slug using LLM JSON mode */ private generateWithLLM; /** * Manual normalization - the consolidated logic from all places */ private manualNormalization; /** * Get default slug when all else fails */ private getDefaultSlug; } //# sourceMappingURL=slug-generator.d.ts.map