export type Encoding = 'hex' | 'base32' | 'base32-js' | 'base64' | 'base64-url';
export declare function fromRandom(len: number): Uint8Array<ArrayBuffer>;
export declare function fromBasedString(typ: Encoding, input: string): Uint8Array<ArrayBuffer>;
export declare function toBasedString(typ: Encoding, input: Uint8Array<ArrayBuffer> | ArrayBuffer, suppressPadding?: boolean): string;
