You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
625 B
TypeScript
24 lines
625 B
TypeScript
7 months ago
|
/**
|
||
|
* Return a string representing the specified number.
|
||
|
*
|
||
|
* @param {Number} num The number to convert.
|
||
|
* @returns {String} The string representation of the number.
|
||
|
* @api public
|
||
|
*/
|
||
|
export declare function encode(num: any): string;
|
||
|
/**
|
||
|
* Return the integer value specified by the given string.
|
||
|
*
|
||
|
* @param {String} str The string to convert.
|
||
|
* @returns {Number} The integer value represented by the string.
|
||
|
* @api public
|
||
|
*/
|
||
|
export declare function decode(str: any): number;
|
||
|
/**
|
||
|
* Yeast: A tiny growing id generator.
|
||
|
*
|
||
|
* @returns {String} A unique id.
|
||
|
* @api public
|
||
|
*/
|
||
|
export declare function yeast(): string;
|