declare module 'react-native-zip-archive' { enum EncryptionMethods { STANDARD = "STANDARD", AES_128 = "AES-128", AES_256 = "AES-256" } import { NativeEventSubscription } from 'react-native'; export function isPasswordProtected(source: string): Promise; export function zip(source: string | string[], target: string): Promise; export function zipWithPassword(source: string | string[], target: string, password: string, encryptionMethod?: encryptionMethods): Promise; export function unzip(source: string, target: string, charset?: string): Promise; export function unzipWithPassword(assetPath: string, target: string, password: string): Promise; export function unzipAssets(assetPath: string, target: string): Promise; export function subscribe(callback: ({ progress, filePath }: { progress: number, filePath: string }) => void): NativeEventSubscription; export function getUncompressedSize(source: string, charset?: string): Promise; }