15 lines
564 B
TypeScript
15 lines
564 B
TypeScript
import { Set } from './types';
|
|
/**
|
|
* Takes character code and returns character to be displayed in a set
|
|
* @param {number} charCode Character code of set element
|
|
* @returns {string} The string for the sets character
|
|
*/
|
|
export declare function setChar(charCode: number): string;
|
|
/**
|
|
* Writes the tokens for a set
|
|
* @param {Set} set The set to display
|
|
* @param {boolean} isNested Whether the token is nested inside another set token
|
|
* @returns {string} The tokens for the set
|
|
*/
|
|
export declare function writeSetTokens(set: Set, isNested?: boolean): string;
|