/**
 * Take a `DAG-CBOR` encoded `Uint8Array`, deserialize it as an object and
 * re-serialize it in a form that can be passed to `JSON.serialize` and then
 * `JSON.parse` without losing any data.
 */
export declare function dagCborToSafeJSON(buf: Uint8Array): string;
/**
 * Decode CBOR to object without CID tag support
 */
export declare function cborToObject(buf: Uint8Array): any;
/**
 * Decode CBOR to object without CID tag support
 */
export declare function objectToCbor(obj: any): Uint8Array;
//# sourceMappingURL=dag-cbor-to-safe-json.d.ts.map