/** * Creates an array containing the numeric code points of each Unicode * character in the string. While JavaScript uses UCS-2 internally, * this function will convert a pair of surrogate halves (each of which * UCS-2 exposes as separate characters) into a single code point, * matching UTF-16. * * @param input The Unicode input string (UCS-2). * @returns {number[]} The new array of code points. */ export declare function ucs2decode(input: string): number[]; /** * Creates a string based on an array of numeric code points. * * @param {number[]} codePoints The array of numeric code points. * @returns {string} The new Unicode string (UCS-2). */ export declare function ucs2encode(codePoints: number[]): string; /** * Encode symbol to represent in HTML page * @param codePoints */ export declare function encodeHtml(codePoints: number[]): string; export declare function encodeCss(codePoints: number[]): string; /** * Decode HTML to codepoints * @param htmlCharacter */ export declare function decodeHtml(htmlCharacter: string): number[];