/** * Simple semantic matching using string similarity * For production, this should use embeddings from an AI platform */ export declare function calculateSimilarity(str1: string, str2: string): number; /** * Semantic matcher function for intent matching * Returns the best match if similarity is above threshold */ export declare function semanticMatch(message: string, utterances: string[], threshold?: number): Promise<{ matched: boolean; confidence: number; utterance?: string; }>; //# sourceMappingURL=semantic.d.ts.map