UNPKG

@x5e/gink

Version:

an eventually consistent database

19 lines (18 loc) 575 B
import { BundleBuilder } from "./builders"; import { BundleInfo, BundleView, BundleBytes } from "./typedefs"; /** * Creates a bundle view from the encoded bytes and meta info, only parsing * the bytes to create the builder if actually needed. */ export declare class Retrieval implements BundleView { private bundleBytes; private bundleInfo; private bundleBuilder?; constructor(bundle: { bundleBytes: BundleBytes; bundleInfo: BundleInfo; }); get info(): BundleInfo; get bytes(): BundleBytes; get builder(): BundleBuilder; }