export declare const DefaultAddons: { /** * Default addons to be downloaded. * * SECURITY: `UBO` resolves to a rolling "latest.xpi" served by * addons.mozilla.org. The archive is fetched over HTTPS and extracted with * no additional checksum/signature verification, so its integrity relies * solely on TLS to addons.mozilla.org. Because AMO serves a moving target, * a static SHA256 pin would break on every uBlock update; pin a specific * versioned xpi URL plus its hash if stronger integrity is required. The * add-on runs inside the launched browser. */ UBO: string; }; export declare function confirmPaths(paths: string[]): void; export declare function addDefaultAddons(addonsList: string[], excludeList?: (keyof typeof DefaultAddons)[]): Promise; /** PHI-VENDOR: how long a failed default-addon download is not retried at launch. */ export declare const ADDON_DOWNLOAD_BACKOFF_MS: number; /** * Downloads and extracts an addon from a given URL to a specified path. * * SECURITY: the downloaded archive is not checksum- or signature-verified; * integrity relies on TLS to the source (see DefaultAddons). Extraction via * unzip() (adm-zip) is zip-slip safe, so the residual risk is a tampered * add-on if TLS to the source is compromised. */ export declare function downloadAndExtract(url: string, extractPath: string, name: string): Promise; /** * Downloads and extracts addons from a given dictionary to a specified list * Skips downloading if the addon is already downloaded */ export declare function maybeDownloadAddons(addons: Record, addonsList?: string[]): Promise;