import { CID } from 'multiformats'; import { SKDB } from './../ipfs/ipfs.interface'; import { PBNode } from '@ipld/dag-pb'; /** * mpt * 基础数据结构 */ export declare class Mpt { constructor(db: SKDB, root: string); db: SKDB; root: string; rootTree: PBNode; initRootTree: () => Promise; getKey: (key: string) => Promise; updateKey: (key: string, data: CID) => Promise; save: () => Promise; }