/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// import { Types } from 'mongoose'; import type * as t from '~/types'; export declare function createMemoryMethods(mongoose: typeof import('mongoose')): { setMemory: ({ userId, key, value, tokenCount, }: t.SetMemoryParams) => Promise; createMemory: ({ userId, key, value, tokenCount, }: t.SetMemoryParams) => Promise; deleteMemory: ({ userId, key }: t.DeleteMemoryParams) => Promise; getAllUserMemories: (userId: string | Types.ObjectId) => Promise; getFormattedMemories: ({ userId, }: t.GetFormattedMemoriesParams) => Promise; deleteAllUserMemories: (userId: string | Types.ObjectId) => Promise; }; export type MemoryMethods = ReturnType;