13 lines
506 B
TypeScript
13 lines
506 B
TypeScript
|
import { CborDecoder } from '../cbor/CborDecoder';
|
||
|
import { CborEncoder } from '../cbor/CborEncoder';
|
||
|
import { EncodingFormat } from '../constants';
|
||
|
import type { Writer } from '@jsonjoy.com/util/lib/buffers/Writer';
|
||
|
import type { JsonValueCodec } from './types';
|
||
|
export declare class CborJsonValueCodec implements JsonValueCodec {
|
||
|
readonly id = "cbor";
|
||
|
readonly format = EncodingFormat.Cbor;
|
||
|
readonly encoder: CborEncoder;
|
||
|
readonly decoder: CborDecoder;
|
||
|
constructor(writer: Writer);
|
||
|
}
|