import type * as Zip from 'adm-zip'; interface CertificateResponse { certificate: string; timestamp: string; timestampCertificate: string; } /** * Get certificate and trusted timestamp * @internal Exported for testing. */ export declare function getCertificate(appId: string, csr: string, hash: string): Promise; /** Sign archive with certificate */ export declare function signArchiveNew( /** The archive to sign */ archive: Zip, id: string): Promise; /** Locate the position/index of EOCD within a zip file buffer using ENDSIG */ export declare function getEocdPosition(archive: Buffer): number; export {};