summaryrefslogtreecommitdiff
path: root/includes/external/matrix/node_modules/base-x/src/index.d.ts
blob: f8555ef92f62481b131260a94486177fc6819d15 (plain)
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;
    }
}