/** * This code was generated by "react-native codegen-harmony" * * Do not edit this file as changes may cause incorrect behavior and will be * lost once the code is regenerated. * * @generatorVersion: 1 */ import { Tag } from "@rnoh/react-native-openharmony/ts" export namespace RNZipArchive { export const NAME = 'RNZipArchive' as const export interface Spec { creteFile(filePath: string, fileContent: string): Promise; pathParameters(): string; zip(source: string, target: string): Promise; unzip(source: string, target: string, charset: string): Promise; zipWithPassword(source: string, target: string, password: string, encryptionMethod: unknown): Promise; unzipWithPassword(assetPath: string, target: string, password: string): Promise; isPasswordProtected(source: string): Promise; subscribe(callback: (undefined: {progress: number, filePath: string}) => void): void; unzipAssets(assetPath: string, target: string): Promise; getUncompressedSize(source: string, charset: string): Promise; } }