import { ConfigService } from '@nestjs/config'; import { CredentialsProviderService } from '../common/credentials-provider.service'; interface ConversationContext { customerId?: string; customerName: string; phoneNumber: string; lastActivity: Date; intent?: string; pendingAction?: string; cart?: Array<{ productId: string; name: string; quantity: number; price: number; }>; tenantId?: string; businessName?: string; } interface LlmResponse { message: string; action?: string; data?: any; intent?: string; confidence?: number; } export declare class LlmService { private readonly configService; private readonly credentialsProvider; private readonly logger; private readonly clientCache; private readonly conversationHistory; constructor(configService: ConfigService, credentialsProvider: CredentialsProviderService); private getClient; invalidateClientCache(tenantId?: string): void; processMessage(userMessage: string, context: ConversationContext): Promise; private callLlm; private getSystemPrompt; private getAvailableFunctions; private getActionMessage; private getFallbackResponse; cleanupOldConversations(maxAgeMinutes?: number): void; } export {};