UNPKG

@hashgraph/solo

Version:

An opinionated CLI tool to deploy and manage private Hedera Networks.

14 lines (13 loc) 685 B
import { type ObjectStorageBackend } from '../../../src/data/backend/api/object-storage-backend.js'; import { type StorageOperation } from '../../../src/data/backend/api/storage-operation.js'; export declare class SimpleObjectStorageBackend implements ObjectStorageBackend { map: Map<string, object>; constructor(map: Map<string, object>); readObject(key: string): Promise<object>; writeObject(key: string, data: object): Promise<void>; list(): Promise<string[]>; readBytes(key: string): Promise<Buffer>; writeBytes(key: string, data: Buffer): Promise<void>; delete(key: string): Promise<void>; isSupported(_operation: StorageOperation): boolean; }