/** * LibSQL Memory store implementation. */ import type { Client } from "@libsql/client"; import type { MemoryStore, MemoryRecord, NewMemory, MemoryRecordUpdate, MemoryListOptions } from "kernl"; /** * LibSQL memory store implementation. * * All async methods call `ensureInit()` before database operations * to ensure schema/tables exist. */ export declare class LibSQLMemoryStore implements MemoryStore { private db; private ensureInit; constructor(db: Client, ensureInit: () => Promise); /** * Get a memory by ID. */ get(id: string): Promise; /** * List memories matching optional filter criteria. */ list(options?: MemoryListOptions): Promise; /** * Create a new memory record. */ create(memory: NewMemory): Promise; /** * Update a memory record. */ update(id: string, patch: MemoryRecordUpdate): Promise; /** * Delete a memory by ID. */ delete(id: string): Promise; /** * Delete multiple memories by ID. */ mdelete(ids: string[]): Promise; } //# sourceMappingURL=store.d.ts.map