@dfinity/identity
Version:
JavaScript and TypeScript library to manage identity with the Internet Computer
18 lines (13 loc) • 374 B
TypeScript
declare module 'borc' {
class Decoder {
constructor(opts: { size: number; tags: Record<number, (val: any) => any> });
decodeFirst(input: ArrayBuffer): any;
}
export function decodeFirst(input: ArrayBuffer): any;
export function encode(o: any): Uint8Array;
class Tagged {
tag: number;
value: any;
constructor(tag: Number, value: any);
}
}