UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

17 lines 658 B
import type { StorageBlobEntry } from '../../types.js'; import { BlobStore } from './base.js'; /** * In-memory implementation of BlobStore for testing. */ export declare class InMemoryBlobStore extends BlobStore { #private; init(): Promise<void>; put(entry: StorageBlobEntry): Promise<void>; get(hash: string): Promise<StorageBlobEntry | null>; has(hash: string): Promise<boolean>; delete(hash: string): Promise<boolean>; putMany(entries: StorageBlobEntry[]): Promise<void>; getMany(hashes: string[]): Promise<Map<string, StorageBlobEntry>>; dangerouslyClearAll(): Promise<void>; } //# sourceMappingURL=inmemory.d.ts.map