import { Data } from "./Data.js"; import { SubCborRef } from "@harmoniclabs/cbor"; export interface KV { fst: DataKey; snd: DataValue; } export declare class DataMap { readonly map: KV[]; constructor(map: KV[], cborRef?: SubCborRef); /** * the bytes this value was decoded from (`dataFromCborObj`), emitted * verbatim by `dataToCbor`; `undefined` for constructed values */ get cborRef(): SubCborRef | undefined; clone(): DataMap; toJSON(): { map: { k: any; v: any; }[]; }; toJson(): { map: ({ k: any; v: any; })[]; }; toString(): string; }