lz-string.d.ts 621 B

12345678910111213141516
  1. declare module LZString {
  2. function compressToBase64(input: string): string;
  3. function decompressFromBase64(input: string): string;
  4. function compressToUTF16(input: string): string;
  5. function decompressFromUTF16(compressed: string): string;
  6. function compressToUint8Array(uncompressed: string): Uint8Array;
  7. function decompressFromUint8Array(compressed: Uint8Array): string;
  8. function compressToEncodedURIComponent(input: string): string;
  9. function decompressFromEncodedURIComponent(compressed: string): string;
  10. function compress(input: string): string;
  11. function decompress(compressed: string): string;
  12. }