GoScrobble/web/node_modules/lz-string/typings/lz-string.d.ts

17 lines
621 B
TypeScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
declare module LZString {
function compressToBase64(input: string): string;
function decompressFromBase64(input: string): string;
function compressToUTF16(input: string): string;
function decompressFromUTF16(compressed: string): string;
function compressToUint8Array(uncompressed: string): Uint8Array;
function decompressFromUint8Array(compressed: Uint8Array): string;
function compressToEncodedURIComponent(input: string): string;
function decompressFromEncodedURIComponent(compressed: string): string;
function compress(input: string): string;
function decompress(compressed: string): string;
}