node-ejs-renderer/node_modules/@jsonjoy.com/json-pack/lib/json/JsonDecoderDag.d.ts
2024-06-09 13:55:01 -04:00

10 lines
463 B
TypeScript

import { JsonDecoder } from './JsonDecoder';
import type { PackValue } from '../types';
export declare const fromBase64Bin: (view: DataView, offset: number, length: number) => Uint8Array;
export declare class JsonDecoderDag extends JsonDecoder {
readObj(): PackValue | Record<string, PackValue> | Uint8Array | unknown;
protected tryReadBytes(): Uint8Array | undefined;
protected tryReadCid(): undefined | unknown;
readCid(cid: string): unknown;
}