UNPKG

@ceramicnetwork/core

Version:

Typescript implementation of the Ceramic protocol

15 lines 586 B
import { type DiagnosticsLogger } from '@ceramicnetwork/common'; import type { IKVFactory } from './ikv-store.js'; import { LevelKVStore } from './level-kv-store.js'; export declare const ELP_NETWORK = "elp"; export declare class LevelKVFactory implements IKVFactory { #private; readonly networkName: string; constructor(storeRoot: string, networkName: string, logger: DiagnosticsLogger); private create; private subDir; private dirPath; open(name?: string): Promise<LevelKVStore>; close(): Promise<void>; } //# sourceMappingURL=level-kv-factory.d.ts.map