@capgo/cli
Version:
A CLI to upload to capgo servers
7 lines (6 loc) • 587 B
TypeScript
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>;