import { DataSource as OrmDataSource, Repository } from 'typeorm'; import { EventEmitter2 } from '@nestjs/event-emitter'; import { ConfigService } from '../../config/services/config.service'; import { ShortIdMappingService } from '../../tools/services/short-id-mapping.service'; import { ToolProviderRegistryService } from '../../tools/services/tool-provider-registry.service'; import { BuddyConversationEntity } from '../entities/buddy-conversation.entity'; import { BuddyMessageEntity } from '../entities/buddy-message.entity'; import { BuddyContextService } from './buddy-context.service'; import { BuddyPersonalityService } from './buddy-personality.service'; import { LlmProviderService } from './llm-provider.service'; export declare class BuddyConversationService { private readonly conversationRepository; private readonly messageRepository; private readonly dataSource; private readonly llmProvider; private readonly contextService; private readonly personalityService; private readonly toolProviderRegistry; private readonly eventEmitter; private readonly shortIdMapping; private readonly configService; private readonly logger; constructor(conversationRepository: Repository, messageRepository: Repository, dataSource: OrmDataSource, llmProvider: LlmProviderService, contextService: BuddyContextService, personalityService: BuddyPersonalityService, toolProviderRegistry: ToolProviderRegistryService, eventEmitter: EventEmitter2, shortIdMapping: ShortIdMappingService, configService: ConfigService); findAll(spaceId?: string): Promise; findOne(id: string): Promise; findOneOrThrow(id: string): Promise; getMessages(conversationId: string): Promise; findMessage(conversationId: string, messageId: string): Promise; create(title?: string | null, spaceId?: string | null): Promise; sendMessage(conversationId: string, content: string): Promise; remove(id: string): Promise; private sendWithToolExecution; private accumulateMeta; private addNullable; private buildSystemPrompt; private appendDevices; private buildDeviceLines; private estimateDeviceTokens; private appendWeather; private getBuddyName; private getMaxToolIterations; }