|
| 1 | +/** |
| 2 | + * An object of key-value pairs with a major Electron version as the key, |
| 3 | + * and the corresponding major Chromium version as the value. |
| 4 | + */ |
| 5 | +export const versions: typeof import("./versions"); |
| 6 | +/** |
| 7 | + * An object of key-value pairs with a Electron version as the key, |
| 8 | + * and the corresponding full Chromium version as the value. |
| 9 | + */ |
| 10 | +export const fullVersions: typeof import("./full-versions"); |
| 11 | +/** |
| 12 | + * An object of key-value pairs with a major Chromium version as the key, |
| 13 | + * and the corresponding major Electron version as the value. |
| 14 | + */ |
| 15 | +export const chromiumVersions: typeof import("./chromium-versions"); |
| 16 | +/** |
| 17 | + * An object of key-value pairs with a Chromium version as the key, |
| 18 | + * and an array of the corresponding major Electron versions as the value. |
| 19 | + */ |
| 20 | +export const fullChromiumVersions: typeof import("./full-chromium-versions"); |
| 21 | + |
| 22 | +/** |
| 23 | + * A function that returns the corresponding Chromium version for a given Electron function. |
| 24 | + * If you provide it with a major Electron version, it will return a major Chromium version. |
| 25 | + * If you provide it with a full Electron version, it will return the full Chromium version. |
| 26 | + * If a query does not match a Chromium version, it will return `undefined`. |
| 27 | + */ |
| 28 | +export function electronToChromium(query: string | number): string | undefined; |
| 29 | + |
| 30 | +/** |
| 31 | + * Returns a string with the corresponding Electron version for a given Chromium query. |
| 32 | + * If you provide it with a major Chromium version, it will return a major Electron version. |
| 33 | + * If you provide it with a full Chrome version, it will return an array of full Electron versions. |
| 34 | + * If a query does not match an Electron version, it will return `undefined`. |
| 35 | + */ |
| 36 | +export function chromiumToElectron(query: string | number): string | undefined; |
| 37 | + |
| 38 | +/** |
| 39 | + * @deprecated |
| 40 | + * A function that returns a {@link https://github.com/browserslist/browserslist Browserslist} query |
| 41 | + * that matches the given major Electron version. |
| 42 | + * If you provide it with a major Electron version, |
| 43 | + * it will return a Browserlist query string that matches the Chromium capabilities. |
| 44 | + * If a query does not match a Chromium version, it will return `undefined`. |
| 45 | + */ |
| 46 | +export function electronToBrowserList(query: string | number): string | undefined; |
0 commit comments