utf8.d.ts 728 B

1234567891011121314
  1. /*! https://mths.be/utf8js v2.1.2 by @mathias */
  2. declare var stringFromCharCode: (...codes: number[]) => string;
  3. declare function ucs2decode(string: any): any[];
  4. declare function ucs2encode(array: any): string;
  5. declare function checkScalarValue(codePoint: any, strict: any): boolean;
  6. declare function createByte(codePoint: any, shift: any): string;
  7. declare function encodeCodePoint(codePoint: any, strict: any): string;
  8. declare function utf8encode(string: any, opts: any): string;
  9. declare function readContinuationByte(): number;
  10. declare function decodeSymbol(strict: any): any;
  11. declare var byteArray: any;
  12. declare var byteCount: any;
  13. declare var byteIndex: any;
  14. declare function utf8decode(byteString: any, opts: any): string;