1 2 3 4 5 6 7 8 9
declare function base(ALPHABET: string): base.BaseConverter; export = base; declare namespace base { interface BaseConverter { encode(buffer: Uint8Array | number[]): string; decodeUnsafe(string: string): Uint8Array | undefined; decode(string: string): Uint8Array; } }