import { LinkCodec, ValueCodec } from './codecs'; import { Edge, Index, Link, Part, Prop, RootIndex, Vertex } from './types'; import { BlockStore } from './block-store'; interface BaselineDelta { ({ baseRoot, baseIndex, baseStore, currentRoot, currentIndex, currentStore, }: { baseRoot: Link; baseIndex: RootIndex; baseStore: BlockStore; currentRoot: Link; currentIndex: RootIndex; currentStore: BlockStore; }): Promise<{ vertices: { added: Map; updated: Map; updateBaseline: Map; }; edges: { added: Map; updated: Map; updateBaseline: Map; }; props: { added: Map; updated: Map; updateBaseline: Map; }; indices: { added: Map; updated: Map; updateBaseline: Map; }; }>; } interface DeltaFactory { baselineDelta: BaselineDelta; baselineChangesRecords: ({ recordSize, baseRoot, baseIndex, baseStore, baseValueRoot, baseValueIndex, currentRoot, currentIndex, currentStore, currentValueRoot, currentValueIndex, recordsDecode, }: { recordSize: number; baseRoot: Link; baseIndex: any; baseStore: BlockStore; baseValueRoot?: Link; baseValueIndex?: any; currentRoot: Link; currentIndex: any; currentStore: BlockStore; currentValueRoot: Link; currentValueIndex: any; recordsDecode: ({ bytes, valueRoot, valueIndex, blockStore, }: { bytes: Uint8Array; valueRoot: Link; valueIndex: any; blockStore: BlockStore; }) => Promise; }) => Promise<{ added: Map; updated: Map; updateBaseline: Map; }>; } declare const deltaFactory: ({ linkCodec, valueCodec, }: { linkCodec: LinkCodec; valueCodec: ValueCodec; }) => DeltaFactory; export { deltaFactory, DeltaFactory, BaselineDelta }; //# sourceMappingURL=delta.d.ts.map