1 | /**
|
2 | * Takes a base64 string and returns length of byte array
|
3 | */
|
4 | export function byteLength(encoded: string): number;
|
5 | /**
|
6 | * Takes a base64 string and returns a byte array
|
7 | */
|
8 | export function toByteArray(encoded: string): Uint8Array;
|
9 | /**
|
10 | * Takes a byte array and returns a base64 string
|
11 | */
|
12 | export function fromByteArray(bytes: Uint8Array): string;
|
13 |
|
14 | /**
|
15 | * base64-js does basic base64 encoding/decoding in pure JS.
|
16 | */
|
17 | export as namespace base64js;
|