import type { AgentRuntime, Memory, UUID } from "@elizaos/core"; export interface KnowledgeServiceLike { addKnowledge(options: { agentId?: UUID; worldId: UUID; roomId: UUID; entityId: UUID; clientDocumentId: UUID; contentType: string; originalFilename: string; content: string; metadata?: Record; }): Promise<{ clientDocumentId: string; storedDocumentMemoryId: UUID; fragmentCount: number; }>; getKnowledge(message: Memory, scope?: { roomId?: UUID; worldId?: UUID; entityId?: UUID; }): Promise; }>>; getMemories(params: { tableName: string; roomId?: UUID; count?: number; offset?: number; end?: number; }): Promise; countMemories(params: { tableName: string; roomId?: UUID; unique?: boolean; }): Promise; deleteMemory(memoryId: UUID): Promise; } export type KnowledgeLoadFailReason = "timeout" | "runtime_unavailable" | "not_registered"; export interface KnowledgeServiceResult { service: KnowledgeServiceLike | null; reason?: KnowledgeLoadFailReason; } export declare function getKnowledgeTimeoutMs(): number; export declare function getKnowledgeService(runtime: AgentRuntime | null): Promise; //# sourceMappingURL=knowledge-service-loader.d.ts.map