/**
* Base36Or62 is a utility class that provides methods to encode and decode numbers using Base36 or Base62 encoding.
*/
declare class Base36Or62 {
static readonly BASE_36: bigint;
static readonly BASE_62: bigint;
static readonly DIGITS_36 = "0123456789abcdefghijklmnopqrstuvwxyz";
static readonly DIGITS_62 = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
/**
* Encodes a number using Base36 encoding.
*
* @param number a positive integer
* @param base62 whether to use Base62 or Base36
* @return a Base36 string
*
* @throws IllegalArgumentException if number is a negative integer
*/
static encode(number: bigint, base62: boolean): string;
/**
* Decodes a string using Base36 encoding.
*
* @param str a Base36 string
* @param base62 whether to use Base62 or Base36
* @return a positive integer
*
* @throws IllegalArgumentException if string is empty
*/
static decode(str: string, base62: boolean): bigint;
}
export default Base36Or62;
//# sourceMappingURL=Base36Or62.d.ts.map