@dfinity/auth-client
Version:
JavaScript and TypeScript library to provide a simple integration with an IC Internet Identity
18 lines (13 loc) • 370 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): Buffer;
class Tagged {
tag: number;
value: any;
constructor(tag: Number, value: any);
}
}