/** * @module minions-sdk/storage/memory * In-memory storage adapter — useful for testing and ephemeral workloads. */ import type { Minion } from '../types/index.js'; import type { StorageAdapter, StorageFilter } from './StorageAdapter.js'; /** * Simple in-memory storage adapter. * * All data is stored in a `Map` and is lost when the process exits. * This is the default adapter when no persistence is required and is well * suited for unit tests. * * Supports the optional attachment file operations using an in-memory store. */ export declare class MemoryStorageAdapter implements StorageAdapter { private store; private files; get(id: string): Promise; set(minion: Minion): Promise; delete(id: string): Promise; list(filter?: StorageFilter): Promise; search(query: string): Promise; putFile(id: string, filename: string, data: Uint8Array): Promise; getFile(id: string, filename: string): Promise; deleteFile(id: string, filename: string): Promise; listFiles(id: string): Promise; } //# sourceMappingURL=MemoryStorageAdapter.d.ts.map