firefox.d.ts 892 B

1234567891011121314151617181920
  1. /**
  2. * @license
  3. * Copyright 2023 Google Inc.
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. import { BrowserPlatform, type ProfileOptions } from './types.js';
  7. export declare function resolveDownloadUrl(platform: BrowserPlatform, buildId: string, baseUrl?: string): string;
  8. export declare function resolveDownloadPath(platform: BrowserPlatform, buildId: string): string[];
  9. export declare function relativeExecutablePath(platform: BrowserPlatform, buildId: string): string;
  10. export declare enum FirefoxChannel {
  11. STABLE = "stable",
  12. ESR = "esr",
  13. DEVEDITION = "devedition",
  14. BETA = "beta",
  15. NIGHTLY = "nightly"
  16. }
  17. export declare function resolveBuildId(channel?: FirefoxChannel): Promise<string>;
  18. export declare function createProfile(options: ProfileOptions): Promise<void>;
  19. export declare function compareVersions(a: string, b: string): number;
  20. //# sourceMappingURL=firefox.d.ts.map