/// /// /** * Provides convenient way to interact with 'crx' package */ import ChromeExtension = require('crx'); export declare class CrxWrapper { protected _crx: ChromeExtension; constructor(privateKey: Buffer); /** * Get packed and signed crx */ pack(zipBuffer: Buffer): Promise; /** * Generates an updateXML for extensions hosted not on Chrome Web Store * This xml is used as response at url, specified in manifest's 'update_url' key * @see https://developer.chrome.com/apps/autoupdate * * If appId isn't specified it will be generated from privateKey */ generateUpdateXML(extVersion: string, codebaseUrl: string, appId?: string): Buffer; }