import type { BuiltMemory, MemoryDescriptor, Thread } from '../types/sdk/memory'; import type { AgentDbMessage } from '../types/sdk/message'; import type { JSONObject } from '../types/utils/json'; export declare abstract class BaseMemory implements BuiltMemory { protected readonly name: string; protected readonly constructorOptions: TConstructorOptions; constructor(name: string, constructorOptions: TConstructorOptions); getThread(_threadId: string): Promise; saveThread(_thread: Omit): Promise; deleteThread(_threadId: string): Promise; getMessages(_threadId: string, _opts?: { limit?: number; before?: Date; }): Promise; saveMessages(_args: { threadId: string; resourceId: string; messages: AgentDbMessage[]; }): Promise; deleteMessages(_messageIds: string[]): Promise; close?(): Promise; describe(): MemoryDescriptor; }