UNPKG

@capgo/cli

Version:
7 lines (6 loc) • 587 B
import type { BundleDecryptOptions, DecryptResult } from '../schemas/bundle'; export type { DecryptResult } from '../schemas/bundle'; /** Decrypt a Capgo bundle zip and verify its RSA-encrypted checksum against the payload SHA-256. */ export declare function decryptZipInternal(zipPath: string, ivsessionKey: string, options: BundleDecryptOptions, silent?: boolean): Promise<DecryptResult>; /** CLI entry point for bundle zip decryption with interactive logging. */ export declare function decryptZip(zipPath: string, ivsessionKey: string, options: BundleDecryptOptions): Promise<void>;