UNPKG

@capgo/cli

Version:

A CLI to upload to capgo servers

14 lines (13 loc) 724 B
import type { manifestType } from '../utils'; import type { OptionsUpload } from './upload_interface'; import { Buffer } from 'node:buffer'; export declare function prepareBundlePartialFiles(path: string, apikey: string, orgId: string, appid: string, encryptionMethod: 'none' | 'v2' | 'v1', finalKeyData: string, supportsHexChecksum?: boolean): Promise<{ file: string; hash: string; }[]>; interface PartialEncryptionOptions { sessionKey: Buffer; ivSessionKey: string; } export declare function uploadPartial(apikey: string, manifest: manifestType, path: string, appId: string, orgId: string, encryptionOptions: PartialEncryptionOptions | undefined, options: OptionsUpload): Promise<any[] | null>; export {};