import type { LivingMemoryMigrationRecord, MemoryJobRecord, MemorySnapshotRecord, PresetPersonaRecord, UserProfileRecord } from './contracts/memory'; import type { LivingMemoryConsoleEvents } from './contracts/rpc'; import type { ChatLunaLivingMemoryService } from './service/app/living_memory_service'; import type { LivingMemoryEntrySpeakerRecord, LivingMemoryEntryTableRecord, PresetSpeakerTableRecord } from './service/persistence/types'; export * from './contracts/memory'; export * from './contracts/rpc'; export * from './contracts/vector_index'; export * from './contracts/workflows'; export type { QueueExtractionOptions } from './service/memory/helpers'; declare module 'koishi' { interface Context { chatluna_living_memory: ChatLunaLivingMemoryService; } interface Tables { living_memory_entry: LivingMemoryEntryTableRecord; living_memory_entry_speaker: LivingMemoryEntrySpeakerRecord; living_memory_migration: LivingMemoryMigrationRecord; living_memory_snapshot: MemorySnapshotRecord; living_memory_job: MemoryJobRecord; living_memory_user_profile: UserProfileRecord; living_memory_preset_speaker: PresetSpeakerTableRecord; living_memory_preset_persona: PresetPersonaRecord; } } declare module '@koishijs/plugin-console' { interface Events extends LivingMemoryConsoleEvents { } }