UNPKG

@capgo/cli

Version:
17 lines (16 loc) 901 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; }[]>; export declare function buildPartialUploadPath(orgId: string, appId: string, fileHash: string, filePathUnix: string, encryptionOptions?: { ivSessionKey: string; }): 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 {};