Showing preview only (1,141K chars total). Download the full file or copy to clipboard to get everything.
Repository: castlabs/electron-releases
Branch: master
Commit: b00d33ed9c53
Files: 16
Total size: 1.1 MB
Directory structure:
gitextract_4dobgyvs/
├── .gitignore
├── LICENSE
├── README.md
├── checksums.json
├── cli.js
├── docs/
│ └── api/
│ ├── components.md
│ └── structures/
│ ├── component-error.md
│ ├── component-result.md
│ ├── component-status.md
│ └── components-error.md
├── electron.d.ts
├── index.js
├── install.js
├── package.json
├── path.txt
└── vmp-resign.py
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
# IntelliJ project files
.idea
*.iml
out
gen### Node template
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
.DS_Store
temp/
/build/
build
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2017-2025 castLabs GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Electron for Content Security
Check out the [Wiki](../../wiki) for general news, guides, and other updates.
> :warning: **The `v16` series of Electron for Content Security, labeled `wvcus`, moves to using the Component Updater Service to handle installation of the Widevine CDM, and has incompatible API updates compared to the previous `wvvmp` releases.**
>
> See additional updates in the sections below, and please report any issues you find!
Electron for Content Security (ECS) is a fork of Electron created by Castlabs to facilitate the use of Google's [Widevine Content Decryption Module (CDM)](../../wiki/CDM) for DRM-enabled playback within Electron, including support for [Verified Media Path (VMP)](../../wiki/VMP) and persistent license storage. It is intended to be used as a drop-in replacement for stock Electron and currently has full support for Windows and macOS platforms, with partial support for Linux (which lacks support for persistent licenses due to VMP limitations on the platform).
The sections below will describe the features/modifications that ECS provides, for anything else refer to the regular [Electron documentation](https://www.electronjs.org/docs).
## How does it work?
To achieve Widevine support the [Widevine CDM](../../wiki/CDM) will be [installed on first launch](#widevine-cdm-installation) and enabled as an option for playback of DRM protected content using common EME APIs. Subsequent launces will trigger a backround update check. If an update is available it will be downloaded and applied on next launch.
The provided builds are VMP-signed for development and can be used with Widevine UAT or other servers accepting development clients. For production use you can sign up for our [EVS service](../../wiki/EVS), to obtain production VMP signing capabilities. Previously a license agreement with Google Widevine was required to get your own VMP signing certificate, but with EVS this is no longer necessary.
## Installing
To install prebuilt ECS binaries, use [npm](https://docs.npmjs.com/). The preferred method is to install ECS as a development dependency in your app:
```
npm install "https://github.com/castlabs/electron-releases#v41.1.1+wvcus" --save-dev
```
Since ECS is not published in the npm package index a GitHub URL is used instead to reference a particular release, just modify the `#` tag at the end to the version you want to use.
> :warning: The above command is just an example, **use a [release](https://github.com/castlabs/electron-releases/releases) of a [currently supported version](https://github.com/castlabs/electron-releases/wiki#supported-versions)** to make sure you have the latest features and security updates!
## Using
Using ECS is very similar to using stock Electron, the main difference being that you should wait for the Widevine CDM installation to complete before opening your `BrowserWindow`. This can be achieved using the new [components API](docs/api/components.md):
```javascript
const {app, components, BrowserWindow} = require('electron');
function createWindow () {
const mainWindow = new BrowserWindow();
mainWindow.loadURL('https://shaka-player-demo.appspot.com/');
}
app.whenReady().then(async () => {
await components.whenReady();
console.log('components ready:', components.status());
createWindow();
});
```
## Extensions to Electron
The only visible extensions provided is the new [components API](docs/api/components.md).
### Widevine CDM installation
Component installation/updates are always automatically triggered unless the Component Updater is disabled, e.g. by passing `--disable-component-update`. This is always done on a delay timer, even if there is no version of a component installed.
To make sure the Widevine CDM is promptly installed the `components.whenReady()` API can be used (see example [above](#using)). This forces immediate installation if there isn't already a version of the Widevine CDM available.
## Legal notice / Disclaimer
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. UPDATES, INCLUDING SECURITY UPDATES, WILL BE PROVIDED ON A BEST-EFFORT BASIS.
================================================
FILE: checksums.json
================================================
{
"electron-api.json": "73929724c62e52d64ba2647f8ebd30c1e37c74976560620fc980b79b5f50c4f2",
"electron-v42.0.0-alpha.6+wvcus-darwin-arm64-dsym.tar.xz": "99d77ccb1e473889c0336d1d805bbdfbe4e166de03aab010646fffff7e30a3f6",
"electron-v42.0.0-alpha.6+wvcus-darwin-arm64-symbols.zip": "0036cf289dc508239af3809a2bb219dd4238da187dc0436ad3b28ff6ec6aa693",
"electron-v42.0.0-alpha.6+wvcus-darwin-arm64.zip": "8c5b161a3ed9137b31d157f094ca939b0e83ad4287b5e82aece40611ebe35407",
"electron-v42.0.0-alpha.6+wvcus-darwin-x64-dsym.tar.xz": "d8a695e5fce6af02840b30c880722e4eee096a8f33a40550f93fd79322b63789",
"electron-v42.0.0-alpha.6+wvcus-darwin-x64-symbols.zip": "ae80523063cb993c5c3e5fa471f23bce221d39bff5dbb26317a384b94d3a9e78",
"electron-v42.0.0-alpha.6+wvcus-darwin-x64.zip": "58d8f104067eb7b1c016f4ee6b0f650779a869d2d19e6e18530789527a457dc1",
"electron-v42.0.0-alpha.6+wvcus-linux-x64-symbols.zip": "04cfe0e43edea15c0e3abb5caa32e6455e56954bb0608307664157395ab6dfb4",
"electron-v42.0.0-alpha.6+wvcus-linux-x64.zip": "8b1bd637194202053f92e9cc5e41d1a0bc70c369020f4d820c2569cc1c774666",
"electron-v42.0.0-alpha.6+wvcus-win32-arm64-pdb.zip": "1cf875bef5f46dc4d6f210bb90f492b23df2b6e1c3700f4982f1afcec353745d",
"electron-v42.0.0-alpha.6+wvcus-win32-arm64-symbols.zip": "d0f76c540f8328deb40a7e1006fbe1b504de8b195494be16274a4a2464863123",
"electron-v42.0.0-alpha.6+wvcus-win32-arm64.zip": "94d5ce2f74e3f5a43e7194aa25a14b5a319a177ca6291494b777551d28cacaea",
"electron-v42.0.0-alpha.6+wvcus-win32-ia32-pdb.zip": "192ce049adf29516ca6f4f8abdaa36abc3d12ebc71da26d401dfd6e8a9428d59",
"electron-v42.0.0-alpha.6+wvcus-win32-ia32-symbols.zip": "4f7caf72cabe600a4f927f7fc9964d7d1373cfd348e862a6519c5a6e4acef03c",
"electron-v42.0.0-alpha.6+wvcus-win32-ia32.zip": "3496df3f2123af1394982e32d6b2ae68a447f536211f901335ddd619a949d642",
"electron-v42.0.0-alpha.6+wvcus-win32-x64-pdb.zip": "c4e7ee6d3b8bfcce4729e031bda86d6d2535d7623fee47a8b1120e7a59198d2f",
"electron-v42.0.0-alpha.6+wvcus-win32-x64-symbols.zip": "33502ae80390eff8fc591e9b2f6915f40c01e85d44f67a6461148cf6eb751df2",
"electron-v42.0.0-alpha.6+wvcus-win32-x64.zip": "adc39ae12c9d9b415f60c489a9fb1c2db61e80e31ec4f46aa9c8612cfc2ead23",
"electron.d.ts": "cc55949db8eb98fcf953795682d409a8f37ca2dd7c2c97e1880ea2320bb3bf37"
}
================================================
FILE: cli.js
================================================
#!/usr/bin/env node
const proc = require('child_process');
const electron = require('./');
const child = proc.spawn(electron, process.argv.slice(2), { stdio: 'inherit', windowsHide: false });
let childClosed = false;
child.on('close', function (code, signal) {
childClosed = true;
if (code === null) {
console.error(electron, 'exited with signal', signal);
process.exit(1);
}
process.exit(code);
});
const handleTerminationSignal = function (signal) {
process.on(signal, function signalHandler () {
if (!childClosed) {
child.kill(signal);
}
});
};
handleTerminationSignal('SIGINT');
handleTerminationSignal('SIGTERM');
handleTerminationSignal('SIGUSR2');
================================================
FILE: docs/api/components.md
================================================
# components
> Enable apps install and update components, such as the Widevine Content Decryption Module, using the Chromium Component Updater Service.
Process: [Main](../glossary.md#main-process)
Currently supported components are:
* Widevine Content Decryption Module
* Google Widevine Windows CDM (experimental)
The Google Widevine Windows CDM is still experimental, and is currently disabled in releases builds.
## Platform Notices
macOS, Windows and Linux are supported. Components installed for the first time on Linux will require a restart before they function because of how sandboxing works there.
## Events
The `components` object does not currently emit any events.
## Methods
The `components` object has the following methods:
### `components.status()`
Returns `Record<string, ComponentStatus>` - A record of [ComponentStatus](structures/component-status.md) objects where the keys are component identifiers.
This method can be used to check the state of any registered components. Supported component identifiers are provided as readonly properties (see below).
This API must be called after the `ready` event is emitted.
### `components.whenReady([required])`
* `required` string[] (optional)
Returns `Promise<ComponentResult[]>` - Fulfilled with an array of [ComponentResult](structures/component-result.md) when all required components are ready to be used.
If the components are already installed this will happen as soon as they are registered, otherwise an immediate installation will be triggered and the promise will fulfill once the missing components have been properly installed. The promise will be rejected with a [ComponentsError](structures/components-error.md) if the installation fails. This in turn has an `errors` property, which is an array of [ComponentError](structures/component-error.md) detailing individual errors that occured.
The `required` argument can be used to control which components are required to successfully install. If no argument is provided all supported components are implicitly required. An empty array would mean no components are required. In this case the updater promises are still guarnteed to settle before the returned promise resolves, but errors won't cause a promise rejection.. Finally, an array of component identifiers may be provided to require a specific component or set of components (any unknown identifiers will yield an error).
This API must be called after the `ready` event is emitted.
## Properties
The `components` object has the following properties:
### `components.updatesEnabled`
A `Boolean` property that is `true` if component updates are enabled, `false` otherwise. The value is persisted in the local state, using the key `component_updates.component_updates_enabled`, and is thus remembered across launches.
If updates are disabled before a component is installed, it will never be installed. If it is disabled after, the component will never be updated. This can be used to create an "offline" mode for component updates by disabling updates after `components.whenReady()` completes. Disabling updates should typically be time limited to avoid outdated components that could stop to function properly.
This API must be called after the `ready` event is emitted.
### `components.WIDEVINE_CDM_ID` _Readonly_
A `String` which is the identifier of the Widevine Content Decryption Module.
### `components.MEDIA_FOUNDATION_WIDEVINE_CDM_ID` _Readonly_
A `String` which is the identifier of the Google Widevine Windows CDM (a.k.a. the Media Foundation Widewine CDM).
================================================
FILE: docs/api/structures/component-error.md
================================================
# ComponentError Object extends `Error`
* `detail` ComponentResult - Component result record.
================================================
FILE: docs/api/structures/component-result.md
================================================
# ComponentResult Object extends `ComponentStatus`
* `id` String - Identifier of component.
================================================
FILE: docs/api/structures/component-status.md
================================================
# ComponentStatus Object
* `status` String - Status of component.
* `title` String | null - Name of component (or `null` if not supported).
* `version` String | null - Version of component (or `null` if not supported/installed).
================================================
FILE: docs/api/structures/components-error.md
================================================
# ComponentsError Object extends `Error`
* `errors` ComponentError[] - Array of individual component errors.
================================================
FILE: electron.d.ts
================================================
// Type definitions for Electron 42.0.0-alpha.6+wvcus
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/typescript-definitions
/// <reference types="node" />
type DOMEvent = Event;
type GlobalResponse = Response;
type GlobalRequest = Request;
declare namespace Electron {
const NodeEventEmitter: typeof import('events').EventEmitter;
type Accelerator = string;
type Event<Params extends object = {}> = {
preventDefault: () => void;
readonly defaultPrevented: boolean;
} & Params;
interface ActivationArguments {
// Docs: https://electronjs.org/docs/api/structures/activation-arguments
/**
* For `'action'` type, the index of the button that was clicked.
*/
actionIndex?: number;
/**
* The raw activation arguments string from Windows.
*/
arguments: string;
/**
* For `'reply'` type, the text the user entered in the reply field.
*/
reply?: string;
/**
* The type of activation that launched the app: `'click'`, `'action'`, or
* `'reply'`.
*/
type: string;
/**
* A dictionary of all user inputs from the notification.
*/
userInputs?: Record<string, string>;
}
interface App extends NodeJS.EventEmitter {
// Docs: https://electronjs.org/docs/api/app
/**
* Emitted when Chrome's accessibility support changes. This event fires when
* assistive technologies, such as screen readers, are enabled or disabled. See
* https://www.chromium.org/developers/design-documents/accessibility for more
* details.
*
* @platform darwin,win32
*/
on(event: 'accessibility-support-changed', listener: (event: Event,
/**
* `true` when Chrome's accessibility support is enabled, `false` otherwise.
*/
accessibilitySupportEnabled: boolean) => void): this;
/**
* @platform darwin,win32
*/
off(event: 'accessibility-support-changed', listener: (event: Event,
/**
* `true` when Chrome's accessibility support is enabled, `false` otherwise.
*/
accessibilitySupportEnabled: boolean) => void): this;
/**
* @platform darwin,win32
*/
once(event: 'accessibility-support-changed', listener: (event: Event,
/**
* `true` when Chrome's accessibility support is enabled, `false` otherwise.
*/
accessibilitySupportEnabled: boolean) => void): this;
/**
* @platform darwin,win32
*/
addListener(event: 'accessibility-support-changed', listener: (event: Event,
/**
* `true` when Chrome's accessibility support is enabled, `false` otherwise.
*/
accessibilitySupportEnabled: boolean) => void): this;
/**
* @platform darwin,win32
*/
removeListener(event: 'accessibility-support-changed', listener: (event: Event,
/**
* `true` when Chrome's accessibility support is enabled, `false` otherwise.
*/
accessibilitySupportEnabled: boolean) => void): this;
/**
* Emitted when the application is activated. Various actions can trigger this
* event, such as launching the application for the first time, attempting to
* re-launch the application when it's already running, or clicking on the
* application's dock or taskbar icon.
*
* @platform darwin
*/
on(event: 'activate', listener: (event: Event,
hasVisibleWindows: boolean) => void): this;
/**
* @platform darwin
*/
off(event: 'activate', listener: (event: Event,
hasVisibleWindows: boolean) => void): this;
/**
* @platform darwin
*/
once(event: 'activate', listener: (event: Event,
hasVisibleWindows: boolean) => void): this;
/**
* @platform darwin
*/
addListener(event: 'activate', listener: (event: Event,
hasVisibleWindows: boolean) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'activate', listener: (event: Event,
hasVisibleWindows: boolean) => void): this;
/**
* Emitted during Handoff after an activity from this device was successfully
* resumed on another one.
*
* @platform darwin
*/
on(event: 'activity-was-continued', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
off(event: 'activity-was-continued', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
once(event: 'activity-was-continued', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
addListener(event: 'activity-was-continued', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'activity-was-continued', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* Emitted before the application starts closing its windows. Calling
* `event.preventDefault()` will prevent the default behavior, which is terminating
* the application.
*
* > [!NOTE] If application quit was initiated by `autoUpdater.quitAndInstall()`,
* then `before-quit` is emitted _after_ emitting `close` event on all windows and
* closing them.
*
* > [!NOTE] On Windows, this event will not be emitted if the app is closed due to
* a shutdown/restart of the system or a user logout.
*/
on(event: 'before-quit', listener: (event: Event) => void): this;
off(event: 'before-quit', listener: (event: Event) => void): this;
once(event: 'before-quit', listener: (event: Event) => void): this;
addListener(event: 'before-quit', listener: (event: Event) => void): this;
removeListener(event: 'before-quit', listener: (event: Event) => void): this;
/**
* Emitted when a browserWindow gets blurred.
*/
on(event: 'browser-window-blur', listener: (event: Event,
window: BrowserWindow) => void): this;
off(event: 'browser-window-blur', listener: (event: Event,
window: BrowserWindow) => void): this;
once(event: 'browser-window-blur', listener: (event: Event,
window: BrowserWindow) => void): this;
addListener(event: 'browser-window-blur', listener: (event: Event,
window: BrowserWindow) => void): this;
removeListener(event: 'browser-window-blur', listener: (event: Event,
window: BrowserWindow) => void): this;
/**
* Emitted when a new browserWindow is created.
*/
on(event: 'browser-window-created', listener: (event: Event,
window: BrowserWindow) => void): this;
off(event: 'browser-window-created', listener: (event: Event,
window: BrowserWindow) => void): this;
once(event: 'browser-window-created', listener: (event: Event,
window: BrowserWindow) => void): this;
addListener(event: 'browser-window-created', listener: (event: Event,
window: BrowserWindow) => void): this;
removeListener(event: 'browser-window-created', listener: (event: Event,
window: BrowserWindow) => void): this;
/**
* Emitted when a browserWindow gets focused.
*/
on(event: 'browser-window-focus', listener: (event: Event,
window: BrowserWindow) => void): this;
off(event: 'browser-window-focus', listener: (event: Event,
window: BrowserWindow) => void): this;
once(event: 'browser-window-focus', listener: (event: Event,
window: BrowserWindow) => void): this;
addListener(event: 'browser-window-focus', listener: (event: Event,
window: BrowserWindow) => void): this;
removeListener(event: 'browser-window-focus', listener: (event: Event,
window: BrowserWindow) => void): this;
/**
* Emitted when failed to verify the `certificate` for `url`, to trust the
* certificate you should prevent the default behavior with
* `event.preventDefault()` and call `callback(true)`.
*/
on(event: 'certificate-error', listener: (event: Event,
webContents: WebContents,
url: string,
/**
* The error code
*/
error: string,
certificate: Certificate,
callback: (isTrusted: boolean) => void,
isMainFrame: boolean) => void): this;
off(event: 'certificate-error', listener: (event: Event,
webContents: WebContents,
url: string,
/**
* The error code
*/
error: string,
certificate: Certificate,
callback: (isTrusted: boolean) => void,
isMainFrame: boolean) => void): this;
once(event: 'certificate-error', listener: (event: Event,
webContents: WebContents,
url: string,
/**
* The error code
*/
error: string,
certificate: Certificate,
callback: (isTrusted: boolean) => void,
isMainFrame: boolean) => void): this;
addListener(event: 'certificate-error', listener: (event: Event,
webContents: WebContents,
url: string,
/**
* The error code
*/
error: string,
certificate: Certificate,
callback: (isTrusted: boolean) => void,
isMainFrame: boolean) => void): this;
removeListener(event: 'certificate-error', listener: (event: Event,
webContents: WebContents,
url: string,
/**
* The error code
*/
error: string,
certificate: Certificate,
callback: (isTrusted: boolean) => void,
isMainFrame: boolean) => void): this;
/**
* Emitted when the child process unexpectedly disappears. This is normally because
* it was crashed or killed. It does not include renderer processes.
*/
on(event: 'child-process-gone', listener: (event: Event,
details: Details) => void): this;
off(event: 'child-process-gone', listener: (event: Event,
details: Details) => void): this;
once(event: 'child-process-gone', listener: (event: Event,
details: Details) => void): this;
addListener(event: 'child-process-gone', listener: (event: Event,
details: Details) => void): this;
removeListener(event: 'child-process-gone', listener: (event: Event,
details: Details) => void): this;
/**
* Emitted during Handoff when an activity from a different device wants to be
* resumed. You should call `event.preventDefault()` if you want to handle this
* event.
*
* A user activity can be continued only in an app that has the same developer Team
* ID as the activity's source app and that supports the activity's type. Supported
* activity types are specified in the app's `Info.plist` under the
* `NSUserActivityTypes` key.
*
* @platform darwin
*/
on(event: 'continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity on another device.
*/
userInfo: unknown,
details: ContinueActivityDetails) => void): this;
/**
* @platform darwin
*/
off(event: 'continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity on another device.
*/
userInfo: unknown,
details: ContinueActivityDetails) => void): this;
/**
* @platform darwin
*/
once(event: 'continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity on another device.
*/
userInfo: unknown,
details: ContinueActivityDetails) => void): this;
/**
* @platform darwin
*/
addListener(event: 'continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity on another device.
*/
userInfo: unknown,
details: ContinueActivityDetails) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity on another device.
*/
userInfo: unknown,
details: ContinueActivityDetails) => void): this;
/**
* Emitted during Handoff when an activity from a different device fails to be
* resumed.
*
* @platform darwin
*/
on(event: 'continue-activity-error', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* A string with the error's localized description.
*/
error: string) => void): this;
/**
* @platform darwin
*/
off(event: 'continue-activity-error', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* A string with the error's localized description.
*/
error: string) => void): this;
/**
* @platform darwin
*/
once(event: 'continue-activity-error', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* A string with the error's localized description.
*/
error: string) => void): this;
/**
* @platform darwin
*/
addListener(event: 'continue-activity-error', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* A string with the error's localized description.
*/
error: string) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'continue-activity-error', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* A string with the error's localized description.
*/
error: string) => void): this;
/**
* Emitted when the application becomes active. This differs from the `activate`
* event in that `did-become-active` is emitted every time the app becomes active,
* not only when Dock icon is clicked or application is re-launched. It is also
* emitted when a user switches to the app via the macOS App Switcher.
*
* @platform darwin
*/
on(event: 'did-become-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
off(event: 'did-become-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
once(event: 'did-become-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
addListener(event: 'did-become-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'did-become-active', listener: (event: Event) => void): this;
/**
* Emitted when the app is no longer active and doesn’t have focus. This can be
* triggered, for example, by clicking on another application or by using the macOS
* App Switcher to switch to another application.
*
* @platform darwin
*/
on(event: 'did-resign-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
off(event: 'did-resign-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
once(event: 'did-resign-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
addListener(event: 'did-resign-active', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'did-resign-active', listener: (event: Event) => void): this;
/**
* Emitted whenever there is a GPU info update.
*/
on(event: 'gpu-info-update', listener: () => void): this;
off(event: 'gpu-info-update', listener: () => void): this;
once(event: 'gpu-info-update', listener: () => void): this;
addListener(event: 'gpu-info-update', listener: () => void): this;
removeListener(event: 'gpu-info-update', listener: () => void): this;
/**
* Emitted when `webContents` or Utility process wants to do basic auth.
*
* The default behavior is to cancel all authentications. To override this you
* should prevent the default behavior with `event.preventDefault()` and call
* `callback(username, password)` with the credentials.
*
* If `callback` is called without a username or password, the authentication
* request will be cancelled and the authentication error will be returned to the
* page.
*/
on(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username?: string, password?: string) => void) => void): this;
off(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username?: string, password?: string) => void) => void): this;
once(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username?: string, password?: string) => void) => void): this;
addListener(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username?: string, password?: string) => void) => void): this;
removeListener(event: 'login', listener: (event: Event,
webContents: WebContents,
authenticationResponseDetails: AuthenticationResponseDetails,
authInfo: AuthInfo,
callback: (username?: string, password?: string) => void) => void): this;
/**
* Emitted when the user clicks the native macOS new tab button. The new tab button
* is only visible if the current `BrowserWindow` has a `tabbingIdentifier`.
*
* You must create a window in this handler in order for macOS tabbing to work as
* expected.
*
* @platform darwin
*/
on(event: 'new-window-for-tab', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
off(event: 'new-window-for-tab', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
once(event: 'new-window-for-tab', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
addListener(event: 'new-window-for-tab', listener: (event: Event) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'new-window-for-tab', listener: (event: Event) => void): this;
/**
* Emitted when the user wants to open a file with the application. The `open-file`
* event is usually emitted when the application is already open and the OS wants
* to reuse the application to open the file. `open-file` is also emitted when a
* file is dropped onto the dock and the application is not yet running. Make sure
* to listen for the `open-file` event very early in your application startup to
* handle this case (even before the `ready` event is emitted).
*
* You should call `event.preventDefault()` if you want to handle this event.
*
* On Windows, you have to parse `process.argv` (in the main process) to get the
* filepath.
*
* @platform darwin
*/
on(event: 'open-file', listener: (event: Event,
path: string) => void): this;
/**
* @platform darwin
*/
off(event: 'open-file', listener: (event: Event,
path: string) => void): this;
/**
* @platform darwin
*/
once(event: 'open-file', listener: (event: Event,
path: string) => void): this;
/**
* @platform darwin
*/
addListener(event: 'open-file', listener: (event: Event,
path: string) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'open-file', listener: (event: Event,
path: string) => void): this;
/**
* Emitted when the user wants to open a URL with the application. Your
* application's `Info.plist` file must define the URL scheme within the
* `CFBundleURLTypes` key, and set `NSPrincipalClass` to `AtomApplication`.
*
* As with the `open-file` event, be sure to register a listener for the `open-url`
* event early in your application startup to detect if the application is being
* opened to handle a URL. If you register the listener in response to a `ready`
* event, you'll miss URLs that trigger the launch of your application.
*
* @platform darwin
*/
on(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* @platform darwin
*/
off(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* @platform darwin
*/
once(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* @platform darwin
*/
addListener(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'open-url', listener: (event: Event,
url: string) => void): this;
/**
* Emitted when the application is quitting.
*
* > [!NOTE] On Windows, this event will not be emitted if the app is closed due to
* a shutdown/restart of the system or a user logout.
*/
on(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
off(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
once(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
addListener(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
removeListener(event: 'quit', listener: (event: Event,
exitCode: number) => void): this;
/**
* Emitted once, when Electron has finished initializing. On macOS, `launchInfo`
* holds the `userInfo` of the `NSUserNotification` or information from
* `UNNotificationResponse` that was used to open the application, if it was
* launched from Notification Center. You can also call `app.isReady()` to check if
* this event has already fired and `app.whenReady()` to get a Promise that is
* fulfilled when Electron is initialized.
*
* > [!NOTE] The `ready` event is only fired after the main process has finished
* running the first tick of the event loop. If an Electron API needs to be called
* before the `ready` event, ensure that it is called synchronously in the
* top-level context of the main process.
*/
on(event: 'ready', listener: (event: Event,
/**
* @platform darwin
*/
launchInfo: (Record<string, any>) | (NotificationResponse)) => void): this;
off(event: 'ready', listener: (event: Event,
/**
* @platform darwin
*/
launchInfo: (Record<string, any>) | (NotificationResponse)) => void): this;
once(event: 'ready', listener: (event: Event,
/**
* @platform darwin
*/
launchInfo: (Record<string, any>) | (NotificationResponse)) => void): this;
addListener(event: 'ready', listener: (event: Event,
/**
* @platform darwin
*/
launchInfo: (Record<string, any>) | (NotificationResponse)) => void): this;
removeListener(event: 'ready', listener: (event: Event,
/**
* @platform darwin
*/
launchInfo: (Record<string, any>) | (NotificationResponse)) => void): this;
/**
* Emitted when the renderer process unexpectedly disappears. This is normally
* because it was crashed or killed.
*/
on(event: 'render-process-gone', listener: (event: Event,
webContents: WebContents,
details: RenderProcessGoneDetails) => void): this;
off(event: 'render-process-gone', listener: (event: Event,
webContents: WebContents,
details: RenderProcessGoneDetails) => void): this;
once(event: 'render-process-gone', listener: (event: Event,
webContents: WebContents,
details: RenderProcessGoneDetails) => void): this;
addListener(event: 'render-process-gone', listener: (event: Event,
webContents: WebContents,
details: RenderProcessGoneDetails) => void): this;
removeListener(event: 'render-process-gone', listener: (event: Event,
webContents: WebContents,
details: RenderProcessGoneDetails) => void): this;
/**
* This event will be emitted inside the primary instance of your application when
* a second instance has been executed and calls `app.requestSingleInstanceLock()`.
*
* `argv` is an Array of the second instance's command line arguments, and
* `workingDirectory` is its current working directory. Usually applications
* respond to this by making their primary window focused and non-minimized.
*
* > [!NOTE] `argv` will not be exactly the same list of arguments as those passed
* to the second instance. The order might change and additional arguments might be
* appended. If you need to maintain the exact same arguments, it's advised to use
* `additionalData` instead.
*
* > [!NOTE] If the second instance is started by a different user than the first,
* the `argv` array will not include the arguments.
*
* This event is guaranteed to be emitted after the `ready` event of `app` gets
* emitted.
*
* > [!NOTE] Extra command line arguments might be added by Chromium, such as
* `--original-process-start-time`.
*/
on(event: 'second-instance', listener: (event: Event,
/**
* An array of the second instance's command line arguments
*/
argv: string[],
/**
* The second instance's working directory
*/
workingDirectory: string,
/**
* A JSON object of additional data passed from the second instance
*/
additionalData: unknown) => void): this;
off(event: 'second-instance', listener: (event: Event,
/**
* An array of the second instance's command line arguments
*/
argv: string[],
/**
* The second instance's working directory
*/
workingDirectory: string,
/**
* A JSON object of additional data passed from the second instance
*/
additionalData: unknown) => void): this;
once(event: 'second-instance', listener: (event: Event,
/**
* An array of the second instance's command line arguments
*/
argv: string[],
/**
* The second instance's working directory
*/
workingDirectory: string,
/**
* A JSON object of additional data passed from the second instance
*/
additionalData: unknown) => void): this;
addListener(event: 'second-instance', listener: (event: Event,
/**
* An array of the second instance's command line arguments
*/
argv: string[],
/**
* The second instance's working directory
*/
workingDirectory: string,
/**
* A JSON object of additional data passed from the second instance
*/
additionalData: unknown) => void): this;
removeListener(event: 'second-instance', listener: (event: Event,
/**
* An array of the second instance's command line arguments
*/
argv: string[],
/**
* The second instance's working directory
*/
workingDirectory: string,
/**
* A JSON object of additional data passed from the second instance
*/
additionalData: unknown) => void): this;
/**
* Emitted when a client certificate is requested.
*
* The `url` corresponds to the navigation entry requesting the client certificate
* and `callback` can be called with an entry filtered from the list. Using
* `event.preventDefault()` prevents the application from using the first
* certificate from the store.
*/
on(event: 'select-client-certificate', listener: (event: Event,
webContents: WebContents,
url: string,
certificateList: Certificate[],
callback: (certificate?: Certificate) => void) => void): this;
off(event: 'select-client-certificate', listener: (event: Event,
webContents: WebContents,
url: string,
certificateList: Certificate[],
callback: (certificate?: Certificate) => void) => void): this;
once(event: 'select-client-certificate', listener: (event: Event,
webContents: WebContents,
url: string,
certificateList: Certificate[],
callback: (certificate?: Certificate) => void) => void): this;
addListener(event: 'select-client-certificate', listener: (event: Event,
webContents: WebContents,
url: string,
certificateList: Certificate[],
callback: (certificate?: Certificate) => void) => void): this;
removeListener(event: 'select-client-certificate', listener: (event: Event,
webContents: WebContents,
url: string,
certificateList: Certificate[],
callback: (certificate?: Certificate) => void) => void): this;
/**
* Emitted when Electron has created a new `session`.
*/
on(event: 'session-created', listener: (session: Session) => void): this;
off(event: 'session-created', listener: (session: Session) => void): this;
once(event: 'session-created', listener: (session: Session) => void): this;
addListener(event: 'session-created', listener: (session: Session) => void): this;
removeListener(event: 'session-created', listener: (session: Session) => void): this;
/**
* Emitted when Handoff is about to be resumed on another device. If you need to
* update the state to be transferred, you should call `event.preventDefault()`
* immediately, construct a new `userInfo` dictionary and call
* `app.updateCurrentActivity()` in a timely manner. Otherwise, the operation will
* fail and `continue-activity-error` will be called.
*
* @platform darwin
*/
on(event: 'update-activity-state', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
off(event: 'update-activity-state', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
once(event: 'update-activity-state', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
addListener(event: 'update-activity-state', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'update-activity-state', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string,
/**
* Contains app-specific state stored by the activity.
*/
userInfo: unknown) => void): this;
/**
* Emitted when a new webContents is created.
*/
on(event: 'web-contents-created', listener: (event: Event,
webContents: WebContents) => void): this;
off(event: 'web-contents-created', listener: (event: Event,
webContents: WebContents) => void): this;
once(event: 'web-contents-created', listener: (event: Event,
webContents: WebContents) => void): this;
addListener(event: 'web-contents-created', listener: (event: Event,
webContents: WebContents) => void): this;
removeListener(event: 'web-contents-created', listener: (event: Event,
webContents: WebContents) => void): this;
/**
* Emitted during Handoff before an activity from a different device wants to be
* resumed. You should call `event.preventDefault()` if you want to handle this
* event.
*
* @platform darwin
*/
on(event: 'will-continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string) => void): this;
/**
* @platform darwin
*/
off(event: 'will-continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string) => void): this;
/**
* @platform darwin
*/
once(event: 'will-continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string) => void): this;
/**
* @platform darwin
*/
addListener(event: 'will-continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'will-continue-activity', listener: (event: Event,
/**
* A string identifying the activity. Maps to `NSUserActivity.activityType`.
*/
type: string) => void): this;
/**
* Emitted when the application has finished basic startup. On Windows and Linux,
* the `will-finish-launching` event is the same as the `ready` event; on macOS,
* this event represents the `applicationWillFinishLaunching` notification of
* `NSApplication`.
*
* In most cases, you should do everything in the `ready` event handler.
*/
on(event: 'will-finish-launching', listener: () => void): this;
off(event: 'will-finish-launching', listener: () => void): this;
once(event: 'will-finish-launching', listener: () => void): this;
addListener(event: 'will-finish-launching', listener: () => void): this;
removeListener(event: 'will-finish-launching', listener: () => void): this;
/**
* Emitted when all windows have been closed and the application will quit. Calling
* `event.preventDefault()` will prevent the default behavior, which is terminating
* the application.
*
* See the description of the `window-all-closed` event for the differences between
* the `will-quit` and `window-all-closed` events.
*
* > [!NOTE] On Windows, this event will not be emitted if the app is closed due to
* a shutdown/restart of the system or a user logout.
*/
on(event: 'will-quit', listener: (event: Event) => void): this;
off(event: 'will-quit', listener: (event: Event) => void): this;
once(event: 'will-quit', listener: (event: Event) => void): this;
addListener(event: 'will-quit', listener: (event: Event) => void): this;
removeListener(event: 'will-quit', listener: (event: Event) => void): this;
/**
* Emitted when all windows have been closed.
*
* If you do not subscribe to this event and all windows are closed, the default
* behavior is to quit the app; however, if you subscribe, you control whether the
* app quits or not. If the user pressed `Cmd + Q`, or the developer called
* `app.quit()`, Electron will first try to close all the windows and then emit the
* `will-quit` event, and in this case the `window-all-closed` event would not be
* emitted.
*/
on(event: 'window-all-closed', listener: () => void): this;
off(event: 'window-all-closed', listener: () => void): this;
once(event: 'window-all-closed', listener: () => void): this;
addListener(event: 'window-all-closed', listener: () => void): this;
removeListener(event: 'window-all-closed', listener: () => void): this;
/**
* Adds `path` to the recent documents list.
*
* This list is managed by the OS. On Windows, you can visit the list from the task
* bar, and on macOS, you can visit it from dock menu.
*
* @platform darwin,win32
*/
addRecentDocument(path: string): void;
/**
* Clears the recent documents list.
*
* @platform darwin,win32
*/
clearRecentDocuments(): void;
/**
* Configures host resolution (DNS and DNS-over-HTTPS). By default, the following
* resolvers will be used, in order:
*
* * DNS-over-HTTPS, if the DNS provider supports it, then
* * the built-in resolver (enabled on macOS only by default), then
* * the system's resolver (e.g. `getaddrinfo`).
*
* This can be configured to either restrict usage of non-encrypted DNS
* (`secureDnsMode: "secure"`), or disable DNS-over-HTTPS (`secureDnsMode: "off"`).
* It is also possible to enable or disable the built-in resolver.
*
* To disable insecure DNS, you can specify a `secureDnsMode` of `"secure"`. If you
* do so, you should make sure to provide a list of DNS-over-HTTPS servers to use,
* in case the user's DNS configuration does not include a provider that supports
* DoH.
*
* This API must be called after the `ready` event is emitted.
*/
configureHostResolver(options: ConfigureHostResolverOptions): void;
/**
* By default, Chromium disables 3D APIs (e.g. WebGL) until restart on a per domain
* basis if the GPU process crashes too frequently. This function disables that
* behavior.
*
* This method can only be called before app is ready.
*/
disableDomainBlockingFor3DAPIs(): void;
/**
* Disables hardware acceleration for current app.
*
* This method can only be called before app is ready.
*/
disableHardwareAcceleration(): void;
/**
* Enables full sandbox mode on the app. This means that all renderers will be
* launched sandboxed, regardless of the value of the `sandbox` flag in
* `WebPreferences`.
*
* This method can only be called before app is ready.
*/
enableSandbox(): void;
/**
* Exits immediately with `exitCode`. `exitCode` defaults to 0.
*
* All windows will be closed immediately without asking the user, and the
* `before-quit` and `will-quit` events will not be emitted.
*/
exit(exitCode?: number): void;
/**
* On macOS, makes the application the active app. On Windows, focuses on the
* application's first window. On Linux, either focuses on the first visible window
* (X11) or requests focus but may instead show a notification or flash the app
* icon (Wayland).
*
* You should seek to use the `steal` option as sparingly as possible.
*/
focus(options?: FocusOptions): void;
/**
* Array of strings naming currently enabled accessibility support components.
* Possible values:
*
* * `nativeAPIs` - Native OS accessibility APIs integration enabled.
* * `webContents` - Web contents accessibility tree exposure enabled.
* * `inlineTextBoxes` - Inline text boxes (character bounding boxes) enabled.
* * `extendedProperties` - Extended accessibility properties enabled.
* * `screenReader` - Screen reader specific mode enabled.
* * `html` - HTML accessibility tree construction enabled.
* * `labelImages` - Accessibility support for automatic image annotations.
* * `pdfPrinting` - Accessibility support for PDF printing enabled.
*
* Notes:
*
* * The array may be empty if no accessibility modes are active.
* * Use `app.isAccessibilitySupportEnabled()` for the legacy boolean check; prefer
* this method for granular diagnostics or telemetry.
*
* Example:
*
* @platform darwin,win32
*/
getAccessibilitySupportFeatures(): string[];
/**
* Resolve with an object containing the following:
*
* * `icon` NativeImage - the display icon of the app handling the protocol.
* * `path` string - installation path of the app handling the protocol.
* * `name` string - display name of the app handling the protocol.
*
* This method returns a promise that contains the application name, icon and path
* of the default handler for the protocol (aka URI scheme) of a URL.
*
* @platform darwin,win32
*/
getApplicationInfoForProtocol(url: string): Promise<Electron.ApplicationInfoForProtocolReturnValue>;
/**
* Name of the application handling the protocol, or an empty string if there is no
* handler. For instance, if Electron is the default handler of the URL, this could
* be `Electron` on Windows and Mac. However, don't rely on the precise format
* which is not guaranteed to remain unchanged. Expect a different format on Linux,
* possibly with a `.desktop` suffix.
*
* This method returns the application name of the default handler for the protocol
* (aka URI scheme) of a URL.
*/
getApplicationNameForProtocol(url: string): string;
/**
* Array of `ProcessMetric` objects that correspond to memory and CPU usage
* statistics of all the processes associated with the app.
*/
getAppMetrics(): ProcessMetric[];
/**
* The current application directory.
*/
getAppPath(): string;
/**
* The current value displayed in the counter badge.
*
* @platform linux,darwin
*/
getBadgeCount(): number;
/**
* The type of the currently running activity.
*
* @platform darwin
*/
getCurrentActivityType(): string;
/**
* fulfilled with the app's icon, which is a NativeImage.
*
* Fetches a path's associated icon.
*
* On _Windows_, there are 2 kinds of icons:
*
* * Icons associated with certain file extensions, like `.mp3`, `.png`, etc.
* * Icons inside the file itself, like `.exe`, `.dll`, `.ico`.
*
* On _Linux_ and _macOS_, icons depend on the application associated with file
* mime type.
*/
getFileIcon(path: string, options?: FileIconOptions): Promise<Electron.NativeImage>;
/**
* The Graphics Feature Status from `chrome://gpu/`.
*
* > [!NOTE] This information is only usable after the `gpu-info-update` event is
* emitted.
*/
getGPUFeatureStatus(): GPUFeatureStatus;
/**
* For `infoType` equal to `complete`: Promise is fulfilled with `Object`
* containing all the GPU Information as in chromium's GPUInfo object. This
* includes the version and driver information that's shown on `chrome://gpu` page.
*
* For `infoType` equal to `basic`: Promise is fulfilled with `Object` containing
* fewer attributes than when requested with `complete`. Here's an example of basic
* response:
*
* Using `basic` should be preferred if only basic information like `vendorId` or
* `deviceId` is needed.
*
* Promise is rejected if the GPU is completely disabled, i.e. no hardware and
* software implementations are available.
*/
getGPUInfo(infoType: 'basic' | 'complete'): Promise<unknown>;
/**
* * `minItems` Integer - The minimum number of items that will be shown in the
* Jump List (for a more detailed description of this value see the MSDN docs).
* * `removedItems` JumpListItem[] - Array of `JumpListItem` objects that
* correspond to items that the user has explicitly removed from custom categories
* in the Jump List. These items must not be re-added to the Jump List in the
* **next** call to `app.setJumpList()`, Windows will not display any custom
* category that contains any of the removed items.
*
* @platform win32
*/
getJumpListSettings(): JumpListSettings;
/**
* The current application locale, fetched using Chromium's `l10n_util` library.
* Possible return values are documented here.
*
* To set the locale, you'll want to use a command line switch at app startup,
* which may be found here.
*
* > [!NOTE] When distributing your packaged app, you have to also ship the
* `locales` folder.
*
* > [!NOTE] This API must be called after the `ready` event is emitted.
*
* > [!NOTE] To see example return values of this API compared to other locale and
* language APIs, see `app.getPreferredSystemLanguages()`.
*/
getLocale(): string;
/**
* User operating system's locale two-letter ISO 3166 country code. The value is
* taken from native OS APIs.
*
* > [!NOTE] When unable to detect locale country code, it returns empty string.
*/
getLocaleCountryCode(): string;
/**
* If you provided `path` and `args` options to `app.setLoginItemSettings`, then
* you need to pass the same arguments here for `openAtLogin` to be set correctly.
*
*
* * `openAtLogin` boolean - `true` if the app is set to open at login.
* * `openAsHidden` boolean _macOS_ _Deprecated_ - `true` if the app is set to open
* as hidden at login. This does not work on macOS 13 and up.
* * `wasOpenedAtLogin` boolean _macOS_ - `true` if the app was opened at login
* automatically.
* * `wasOpenedAsHidden` boolean _macOS_ _Deprecated_ - `true` if the app was
* opened as a hidden login item. This indicates that the app should not open any
* windows at startup. This setting is not available on MAS builds or on macOS 13
* and up.
* * `restoreState` boolean _macOS_ _Deprecated_ - `true` if the app was opened as
* a login item that should restore the state from the previous session. This
* indicates that the app should restore the windows that were open the last time
* the app was closed. This setting is not available on MAS builds or on macOS 13
* and up.
* * `status` string _macOS_ - can be `not-registered`, `enabled`,
* `requires-approval`, or `not-found`.
* * `executableWillLaunchAtLogin` boolean _Windows_ - `true` if app is set to open
* at login and its run key is not deactivated. This differs from `openAtLogin` as
* it ignores the `args` option, this property will be true if the given executable
* would be launched at login with **any** arguments.
* * `launchItems` Object[] _Windows_
* * `name` string _Windows_ - name value of a registry entry.
* * `path` string _Windows_ - The executable to an app that corresponds to a
* registry entry.
* * `args` string[] _Windows_ - the command-line arguments to pass to the
* executable.
* * `scope` string _Windows_ - can be `user` or `machine`. Indicates whether the
* registry entry is under `HKEY_CURRENT USER` or `HKEY_LOCAL_MACHINE`.
* * `enabled` boolean _Windows_ - `true` if the app registry key is startup
* approved and therefore shows as `enabled` in Task Manager and Windows settings.
*
* @platform darwin,win32
*/
getLoginItemSettings(options?: LoginItemSettingsOptions): LoginItemSettings;
/**
* The current application's name, which is the name in the application's
* `package.json` file.
*
* Usually the `name` field of `package.json` is a short lowercase name, according
* to the npm modules spec. You should usually also specify a `productName` field,
* which is your application's full capitalized name, and which will be preferred
* over `name` by Electron.
*/
getName(): string;
/**
* A path to a special directory or file associated with `name`. On failure, an
* `Error` is thrown.
*
* If `app.getPath('logs')` is called without calling `app.setAppLogsPath()` being
* called first, a default log directory will be created equivalent to calling
* `app.setAppLogsPath()` without a `path` parameter.
*/
getPath(name: 'home' | 'appData' | 'assets' | 'userData' | 'sessionData' | 'temp' | 'exe' | 'module' | 'desktop' | 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'recent' | 'logs' | 'crashDumps'): string;
/**
* The user's preferred system languages from most preferred to least preferred,
* including the country codes if applicable. A user can modify and add to this
* list on Windows or macOS through the Language and Region settings.
*
* The API uses `GlobalizationPreferences` (with a fallback to
* `GetSystemPreferredUILanguages`) on Windows, `\[NSLocale preferredLanguages\]`
* on macOS, and `g_get_language_names` on Linux.
*
* This API can be used for purposes such as deciding what language to present the
* application in.
*
* Here are some examples of return values of the various language and locale APIs
* with different configurations:
*
* On Windows, given application locale is German, the regional format is Finnish
* (Finland), and the preferred system languages from most to least preferred are
* French (Canada), English (US), Simplified Chinese (China), Finnish, and Spanish
* (Latin America):
*
* On macOS, given the application locale is German, the region is Finland, and the
* preferred system languages from most to least preferred are French (Canada),
* English (US), Simplified Chinese, and Spanish (Latin America):
*
* Both the available languages and regions and the possible return values differ
* between the two operating systems.
*
* As can be seen with the example above, on Windows, it is possible that a
* preferred system language has no country code, and that one of the preferred
* system languages corresponds with the language used for the regional format. On
* macOS, the region serves more as a default country code: the user doesn't need
* to have Finnish as a preferred language to use Finland as the region, and the
* country code `FI` is used as the country code for preferred system languages
* that do not have associated countries in the language name.
*/
getPreferredSystemLanguages(): string[];
/**
* An array containing documents in the most recent documents list.
*
* @platform darwin,win32
*/
getRecentDocuments(): string[];
/**
* The current system locale. On Windows and Linux, it is fetched using Chromium's
* `i18n` library. On macOS, `[NSLocale currentLocale]` is used instead. To get the
* user's current system language, which is not always the same as the locale, it
* is better to use `app.getPreferredSystemLanguages()`.
*
* Different operating systems also use the regional data differently:
*
* * Windows 11 uses the regional format for numbers, dates, and times.
* * macOS Monterey uses the region for formatting numbers, dates, times, and for
* selecting the currency symbol to use.
*
* Therefore, this API can be used for purposes such as choosing a format for
* rendering dates and times in a calendar app, especially when the developer wants
* the format to be consistent with the OS.
*
* > [!NOTE] This API must be called after the `ready` event is emitted.
*
* > [!NOTE] To see example return values of this API compared to other locale and
* language APIs, see `app.getPreferredSystemLanguages()`.
*/
getSystemLocale(): string;
/**
* The version of the loaded application. If no version is found in the
* application's `package.json` file, the version of the current bundle or
* executable is returned.
*/
getVersion(): string;
/**
* This method returns whether or not this instance of your app is currently
* holding the single instance lock. You can request the lock with
* `app.requestSingleInstanceLock()` and release with
* `app.releaseSingleInstanceLock()`
*/
hasSingleInstanceLock(): boolean;
/**
* Hides all application windows without minimizing them.
*
* @platform darwin
*/
hide(): void;
/**
* Imports the certificate in pkcs12 format into the platform certificate store.
* `callback` is called with the `result` of import operation, a value of `0`
* indicates success while any other value indicates failure according to Chromium
* net_error_list.
*
* @platform linux
*/
importCertificate(options: ImportCertificateOptions, callback: (result: number) => void): void;
/**
* Invalidates the current Handoff user activity.
*
* @platform darwin
*/
invalidateCurrentActivity(): void;
/**
* `true` if Chrome's accessibility support is enabled, `false` otherwise. This API
* will return `true` if the use of assistive technologies, such as screen readers,
* has been detected. See
* https://www.chromium.org/developers/design-documents/accessibility for more
* details.
*
* @platform darwin,win32
*/
isAccessibilitySupportEnabled(): boolean;
/**
* `true` if the application is active (i.e. focused).
*
* @platform darwin
*/
isActive(): boolean;
/**
* Whether the current executable is the default handler for a protocol (aka URI
* scheme).
*
* > [!NOTE] On macOS, you can use this method to check if the app has been
* registered as the default protocol handler for a protocol. You can also verify
* this by checking `~/Library/Preferences/com.apple.LaunchServices.plist` on the
* macOS machine. Please refer to Apple's documentation for details.
*
* The API uses the Windows Registry and `LSCopyDefaultHandlerForURLScheme`
* internally.
*/
isDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
/**
* whether or not the current OS version allows for native emoji pickers.
*/
isEmojiPanelSupported(): boolean;
/**
* whether hardware acceleration is currently enabled.
*
* > [!NOTE] This information is only usable after the `gpu-info-update` event is
* emitted.
*/
isHardwareAccelerationEnabled(): boolean;
/**
* `true` if the application—including all of its windows—is hidden (e.g. with
* `Command-H`), `false` otherwise.
*
* @platform darwin
*/
isHidden(): boolean;
/**
* Whether the application is currently running from the systems Application
* folder. Use in combination with `app.moveToApplicationsFolder()`
*
* @platform darwin
*/
isInApplicationsFolder(): boolean;
/**
* `true` if Electron has finished initializing, `false` otherwise. See also
* `app.whenReady()`.
*/
isReady(): boolean;
/**
* whether `Secure Keyboard Entry` is enabled.
*
* By default this API will return `false`.
*
* @platform darwin
*/
isSecureKeyboardEntryEnabled(): boolean;
/**
* Whether the current desktop environment is Unity launcher.
*
* @platform linux
*/
isUnityRunning(): boolean;
/**
* Whether the move was successful. Please note that if the move is successful,
* your application will quit and relaunch.
*
* No confirmation dialog will be presented by default. If you wish to allow the
* user to confirm the operation, you may do so using the `dialog` API.
*
* **NOTE:** This method throws errors if anything other than the user causes the
* move to fail. For instance if the user cancels the authorization dialog, this
* method returns false. If we fail to perform the copy, then this method will
* throw an error. The message in the error should be informative and tell you
* exactly what went wrong.
*
* By default, if an app of the same name as the one being moved exists in the
* Applications directory and is _not_ running, the existing app will be trashed
* and the active app moved into its place. If it _is_ running, the preexisting
* running app will assume focus and the previously active app will quit itself.
* This behavior can be changed by providing the optional conflict handler, where
* the boolean returned by the handler determines whether or not the move conflict
* is resolved with default behavior. i.e. returning `false` will ensure no
* further action is taken, returning `true` will result in the default behavior
* and the method continuing.
*
* For example:
*
* Would mean that if an app already exists in the user directory, if the user
* chooses to 'Continue Move' then the function would continue with its default
* behavior and the existing app will be trashed and the active app moved into its
* place.
*
* @platform darwin
*/
moveToApplicationsFolder(options?: MoveToApplicationsFolderOptions): boolean;
/**
* Try to close all windows. The `before-quit` event will be emitted first. If all
* windows are successfully closed, the `will-quit` event will be emitted and by
* default the application will terminate.
*
* This method guarantees that all `beforeunload` and `unload` event handlers are
* correctly executed. It is possible that a window cancels the quitting by
* returning `false` in the `beforeunload` event handler.
*/
quit(): void;
/**
* Relaunches the app when the current instance exits.
*
* By default, the new instance will use the same working directory and command
* line arguments as the current instance. When `args` is specified, the `args`
* will be passed as the command line arguments instead. When `execPath` is
* specified, the `execPath` will be executed for the relaunch instead of the
* current app.
*
* Note that this method does not quit the app when executed. You have to call
* `app.quit` or `app.exit` after calling `app.relaunch` to make the app restart.
*
* When `app.relaunch` is called multiple times, multiple instances will be started
* after the current instance exits.
*
* An example of restarting the current instance immediately and adding a new
* command line argument to the new instance:
*/
relaunch(options?: RelaunchOptions): void;
/**
* Releases all locks that were created by `requestSingleInstanceLock`. This will
* allow multiple instances of the application to once again run side by side.
*/
releaseSingleInstanceLock(): void;
/**
* Whether the call succeeded.
*
* This method checks if the current executable as the default handler for a
* protocol (aka URI scheme). If so, it will remove the app as the default handler.
*
* @platform darwin,win32
*/
removeAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
/**
* The return value of this method indicates whether or not this instance of your
* application successfully obtained the lock. If it failed to obtain the lock,
* you can assume that another instance of your application is already running with
* the lock and exit immediately.
*
* I.e. This method returns `true` if your process is the primary instance of your
* application and your app should continue loading. It returns `false` if your
* process should immediately quit as it has sent its parameters to another
* instance that has already acquired the lock.
*
* On macOS, the system enforces single instance automatically when users try to
* open a second instance of your app in Finder, and the `open-file` and `open-url`
* events will be emitted for that. However when users start your app in command
* line, the system's single instance mechanism will be bypassed, and you have to
* use this method to ensure single instance.
*
* An example of activating the window of primary instance when a second instance
* starts:
*/
requestSingleInstanceLock(additionalData?: Record<any, any>): boolean;
/**
* Marks the current Handoff user activity as inactive without invalidating it.
*
* @platform darwin
*/
resignCurrentActivity(): void;
/**
* Resolves with the proxy information for `url` that will be used when attempting
* to make requests using Net in the utility process.
*/
resolveProxy(url: string): Promise<string>;
/**
* Set the about panel options. This will override the values defined in the app's
* `.plist` file on macOS. See the Apple docs for more details. On Linux, values
* must be set in order to be shown; there are no defaults.
*
* If you do not set `credits` but still wish to surface them in your app, AppKit
* will look for a file named "Credits.html", "Credits.rtf", and "Credits.rtfd", in
* that order, in the bundle returned by the NSBundle class method main. The first
* file found is used, and if none is found, the info area is left blank. See Apple
* documentation for more information.
*/
setAboutPanelOptions(options: AboutPanelOptionsOptions): void;
/**
* Manually enables Chrome's accessibility support, allowing to expose
* accessibility switch to users in application settings. See Chromium's
* accessibility docs for more details. Disabled by default.
*
* This API must be called after the `ready` event is emitted.
*
* > [!NOTE] Rendering accessibility tree can significantly affect the performance
* of your app. It should not be enabled by default. Calling this method will
* enable the following accessibility support features: `nativeAPIs`,
* `webContents`, `inlineTextBoxes`, and `extendedProperties`.
*
* @platform darwin,win32
*/
setAccessibilitySupportEnabled(enabled: boolean): void;
/**
* Possible values are:
*
* * `nativeAPIs` - Native OS accessibility APIs integration enabled.
* * `webContents` - Web contents accessibility tree exposure enabled.
* * `inlineTextBoxes` - Inline text boxes (character bounding boxes) enabled.
* * `extendedProperties` - Extended accessibility properties enabled.
* * `screenReader` - Screen reader specific mode enabled.
* * `html` - HTML accessibility tree construction enabled.
* * `labelImages` - Accessibility support for automatic image annotations.
* * `pdfPrinting` - Accessibility support for PDF printing enabled.
*
* To disable all supported features, pass an empty array `[]`.
*
* Example:
*
* @platform darwin,win32
*/
setAccessibilitySupportFeatures(features: string[]): void;
/**
* Sets the activation policy for a given app.
*
* Activation policy types:
*
* * 'regular' - The application is an ordinary app that appears in the Dock and
* may have a user interface.
* * 'accessory' - The application doesn’t appear in the Dock and doesn’t have a
* menu bar, but it may be activated programmatically or by clicking on one of its
* windows.
* * 'prohibited' - The application doesn’t appear in the Dock and may not create
* windows or be activated.
*
* @platform darwin
*/
setActivationPolicy(policy: 'regular' | 'accessory' | 'prohibited'): void;
/**
* Sets or creates a directory your app's logs which can then be manipulated with
* `app.getPath()` or `app.setPath(pathName, newPath)`.
*
* Calling `app.setAppLogsPath()` without a `path` parameter will result in this
* directory being set to `~/Library/Logs/YourAppName` on _macOS_, and inside the
* `userData` directory on _Linux_ and _Windows_.
*/
setAppLogsPath(path?: string): void;
/**
* Changes the Application User Model ID to `id`.
*
* @platform win32
*/
setAppUserModelId(id: string): void;
/**
* Whether the call succeeded.
*
* Sets the current executable as the default handler for a protocol (aka URI
* scheme). It allows you to integrate your app deeper into the operating system.
* Once registered, all links with `your-protocol://` will be opened with the
* current executable. The whole link, including protocol, will be passed to your
* application as a parameter.
*
* > [!NOTE] On macOS, you can only register protocols that have been added to your
* app's `info.plist`, which cannot be modified at runtime. However, you can change
* the file during build time via Electron Forge, Electron Packager, or by editing
* `info.plist` with a text editor. Please refer to Apple's documentation for
* details.
*
* > [!NOTE] In a Windows Store environment (when packaged as an `appx`) this API
* will return `true` for all calls but the registry key it sets won't be
* accessible by other applications. In order to register your Windows Store
* application as a default protocol handler you must declare the protocol in your
* manifest.
*
* The API uses the Windows Registry and `LSSetDefaultHandlerForURLScheme`
* internally.
*/
setAsDefaultProtocolClient(protocol: string, path?: string, args?: string[]): boolean;
/**
* Whether the call succeeded.
*
* Sets the counter badge for current app. Setting the count to `0` will hide the
* badge.
*
* On macOS, it shows on the dock icon. On Linux, it only works for Unity launcher.
*
* > [!NOTE] Unity launcher requires a `.desktop` file to work. For more
* information, please read the Unity integration documentation.
*
* > [!NOTE] On macOS, you need to ensure that your application has the permission
* to display notifications for this method to work.
*
* @platform linux,darwin
*/
setBadgeCount(count?: number): boolean;
/**
* The handler is called when a password is needed to unlock a client certificate
* for `hostname`.
*/
setClientCertRequestPasswordHandler(handler: (clientCertRequestParams: ClientCertRequestParams) => Promise<string>): void;
/**
* Sets or removes a custom Jump List for the application, and returns one of the
* following strings:
*
* * `ok` - Nothing went wrong.
* * `error` - One or more errors occurred, enable runtime logging to figure out
* the likely cause.
* * `invalidSeparatorError` - An attempt was made to add a separator to a custom
* category in the Jump List. Separators are only allowed in the standard `Tasks`
* category.
* * `fileTypeRegistrationError` - An attempt was made to add a file link to the
* Jump List for a file type the app isn't registered to handle.
* * `customCategoryAccessDeniedError` - Custom categories can't be added to the
* Jump List due to user privacy or group policy settings.
*
* If `categories` is `null` the previously set custom Jump List (if any) will be
* replaced by the standard Jump List for the app (managed by Windows).
*
* > [!NOTE] If a `JumpListCategory` object has neither the `type` nor the `name`
* property set then its `type` is assumed to be `tasks`. If the `name` property is
* set but the `type` property is omitted then the `type` is assumed to be
* `custom`.
*
* > [!NOTE] Users can remove items from custom categories, and Windows will not
* allow a removed item to be added back into a custom category until **after** the
* next successful call to `app.setJumpList(categories)`. Any attempt to re-add a
* removed item to a custom category earlier than that will result in the entire
* custom category being omitted from the Jump List. The list of removed items can
* be obtained using `app.getJumpListSettings()`.
*
* > [!NOTE] The maximum length of a Jump List item's `description` property is 260
* characters. Beyond this limit, the item will not be added to the Jump List, nor
* will it be displayed.
*
* Here's a very simple example of creating a custom Jump List:
*
* @platform win32
*/
setJumpList(categories: (JumpListCategory[]) | (null)): ('ok' | 'error' | 'invalidSeparatorError' | 'fileTypeRegistrationError' | 'customCategoryAccessDeniedError');
/**
* Set the app's login item settings.
*
* To work with Electron's `autoUpdater` on Windows, which uses Squirrel, you'll
* want to set the launch path to your executable's name but a directory up, which
* is a stub application automatically generated by Squirrel which will
* automatically launch the latest version.
*
* For more information about setting different services as login items on macOS 13
* and up, see `SMAppService`.
*
* @platform darwin,win32
*/
setLoginItemSettings(settings: Settings): void;
/**
* Overrides the current application's name.
*
* > [!NOTE] This function overrides the name used internally by Electron; it does
* not affect the name that the OS uses.
*/
setName(name: string): void;
/**
* Overrides the `path` to a special directory or file associated with `name`. If
* the path specifies a directory that does not exist, an `Error` is thrown. In
* that case, the directory should be created with `fs.mkdirSync` or similar.
*
* You can only override paths of a `name` defined in `app.getPath`.
*
* By default, web pages' cookies and caches will be stored under the `sessionData`
* directory. If you want to change this location, you have to override the
* `sessionData` path before the `ready` event of the `app` module is emitted.
*/
setPath(name: string, path: string): void;
/**
* Resolves when the proxy setting process is complete.
*
* Sets the proxy settings for networks requests made without an associated
* Session. Currently this will affect requests made with Net in the utility
* process and internal requests made by the runtime (ex: geolocation queries).
*
* This method can only be called after app is ready.
*/
setProxy(config: ProxyConfig): Promise<void>;
/**
* Set the `Secure Keyboard Entry` is enabled in your application.
*
* By using this API, important information such as password and other sensitive
* information can be prevented from being intercepted by other processes.
*
* See Apple's documentation for more details.
*
* > [!NOTE] Enable `Secure Keyboard Entry` only when it is needed and disable it
* when it is no longer needed.
*
* @platform darwin
*/
setSecureKeyboardEntryEnabled(enabled: boolean): void;
/**
* Changes the Toast Activator CLSID to `id`. If one is not set via this method, it
* will be randomly generated for the app.
*
* * The value must be a valid GUID/CLSID in one of the following forms:
* * Canonical brace-wrapped: `{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}`
* (preferred)
* * Canonical without braces: `XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX` (braces
* will be added automatically)
* * Hex digits are case-insensitive.
*
* This method should be called early (before showing notifications) so the value
* is baked into the registration/shortcut. Supplying an empty string or an
* unparsable value throws and leaves the existing (or generated) CLSID unchanged.
* If this method is never called, a random CLSID is generated once per run and
* exposed via `app.toastActivatorCLSID`.
*
* @platform win32
*/
setToastActivatorCLSID(id: string): void;
/**
* Creates an `NSUserActivity` and sets it as the current activity. The activity is
* eligible for Handoff to another device afterward.
*
* @platform darwin
*/
setUserActivity(type: string, userInfo: any, webpageURL?: string): void;
/**
* Adds `tasks` to the Tasks category of the Jump List on Windows.
*
* `tasks` is an array of `Task` objects.
*
* Whether the call succeeded.
*
* > [!NOTE] If you'd like to customize the Jump List even more use
* `app.setJumpList(categories)` instead.
*
* @platform win32
*/
setUserTasks(tasks: Task[]): boolean;
/**
* Shows application windows after they were hidden. Does not automatically focus
* them.
*
* @platform darwin
*/
show(): void;
/**
* Show the app's about panel options. These options can be overridden with
* `app.setAboutPanelOptions(options)`. This function runs asynchronously.
*/
showAboutPanel(): void;
/**
* Show the platform's native emoji picker.
*
* @platform darwin,win32
*/
showEmojiPanel(): void;
/**
* This function **must** be called once you have finished accessing the security
* scoped file. If you do not remember to stop accessing the bookmark, kernel
* resources will be leaked and your app will lose its ability to reach outside the
* sandbox completely, until your app is restarted.
*
* Start accessing a security scoped resource. With this method Electron
* applications that are packaged for the Mac App Store may reach outside their
* sandbox to access files chosen by the user. See Apple's documentation for a
* description of how this system works.
*
* @platform mas
*/
startAccessingSecurityScopedResource(bookmarkData: string): Function;
/**
* Updates the current activity if its type matches `type`, merging the entries
* from `userInfo` into its current `userInfo` dictionary.
*
* @platform darwin
*/
updateCurrentActivity(type: string, userInfo: any): void;
/**
* fulfilled when Electron is initialized. May be used as a convenient alternative
* to checking `app.isReady()` and subscribing to the `ready` event if the app is
* not ready yet.
*/
whenReady(): Promise<void>;
/**
* A `boolean` property that's `true` if Chrome's accessibility support is enabled,
* `false` otherwise. This property will be `true` if the use of assistive
* technologies, such as screen readers, has been detected. Setting this property
* to `true` manually enables Chrome's accessibility support, allowing developers
* to expose accessibility switch to users in application settings.
*
* See Chromium's accessibility docs for more details. Disabled by default.
*
* This API must be called after the `ready` event is emitted.
*
* > [!NOTE] Rendering accessibility tree can significantly affect the performance
* of your app. It should not be enabled by default.
*
* @platform darwin,win32
*/
accessibilitySupportEnabled: boolean;
/**
* A `Menu | null` property that returns `Menu` if one has been set and `null`
* otherwise. Users can pass a Menu to set this property.
*/
applicationMenu: (Menu) | (null);
/**
* An `Integer` property that returns the badge count for current app. Setting the
* count to `0` will hide the badge.
*
* On macOS, setting this with any nonzero integer shows on the dock icon. On
* Linux, this property only works for Unity launcher.
*
* > [!NOTE] Unity launcher requires a `.desktop` file to work. For more
* information, please read the Unity integration documentation.
*
* > [!NOTE] On macOS, you need to ensure that your application has the permission
* to display notifications for this property to take effect.
*
* @platform linux,darwin
*/
badgeCount: number;
/**
* A `CommandLine` object that allows you to read and manipulate the command line
* arguments that Chromium uses.
*
*/
readonly commandLine: CommandLine;
/**
* A `Dock | undefined` property (`Dock` on macOS, `undefined` on all other
* platforms) that allows you to perform actions on your app icon in the user's
* dock.
*
* @platform darwin
*/
readonly dock: (Dock) | (undefined);
/**
* A `boolean` property that returns `true` if the app is packaged, `false`
* otherwise. For many apps, this property can be used to distinguish development
* and production environments.
*
*/
readonly isPackaged: boolean;
/**
* A `string` property that indicates the current application's name, which is the
* name in the application's `package.json` file.
*
* Usually the `name` field of `package.json` is a short lowercase name, according
* to the npm modules spec. You should usually also specify a `productName` field,
* which is your application's full capitalized name, and which will be preferred
* over `name` by Electron.
*/
name: string;
/**
* A `boolean` which when `true` indicates that the app is currently running under
* an ARM64 translator (like the macOS Rosetta Translator Environment or Windows
* WOW).
*
* You can use this property to prompt users to download the arm64 version of your
* application when they are mistakenly running the x64 version under Rosetta or
* WOW.
*
* @platform darwin,win32
*/
readonly runningUnderARM64Translation: boolean;
/**
* A `string` property that returns the app's Toast Activator CLSID.
*
* @platform win32
*/
readonly toastActivatorCLSID: string;
/**
* A `string` which is the user agent string Electron will use as a global
* fallback.
*
* This is the user agent that will be used when no user agent is set at the
* `webContents` or `session` level. It is useful for ensuring that your entire
* app has the same user agent. Set to a custom value as early as possible in your
* app's initialization to ensure that your overridden value is used.
*/
userAgentFallback: string;
}
interface AutoUpdater extends NodeJS.EventEmitter {
// Docs: https://electronjs.org/docs/api/auto-updater
/**
* This event is emitted after a user calls `quitAndInstall()`.
*
* When this API is called, the `before-quit` event is not emitted before all
* windows are closed. As a result you should listen to this event if you wish to
* perform actions before the windows are closed while a process is quitting, as
* well as listening to `before-quit`.
*/
on(event: 'before-quit-for-update', listener: () => void): this;
off(event: 'before-quit-for-update', listener: () => void): this;
once(event: 'before-quit-for-update', listener: () => void): this;
addListener(event: 'before-quit-for-update', listener: () => void): this;
removeListener(event: 'before-quit-for-update', listener: () => void): this;
/**
* Emitted when checking for an available update has started.
*/
on(event: 'checking-for-update', listener: () => void): this;
off(event: 'checking-for-update', listener: () => void): this;
once(event: 'checking-for-update', listener: () => void): this;
addListener(event: 'checking-for-update', listener: () => void): this;
removeListener(event: 'checking-for-update', listener: () => void): this;
/**
* Emitted when there is an error while updating.
*/
on(event: 'error', listener: (error: Error) => void): this;
off(event: 'error', listener: (error: Error) => void): this;
once(event: 'error', listener: (error: Error) => void): this;
addListener(event: 'error', listener: (error: Error) => void): this;
removeListener(event: 'error', listener: (error: Error) => void): this;
/**
* Emitted when there is an available update. The update is downloaded
* automatically.
*/
on(event: 'update-available', listener: () => void): this;
off(event: 'update-available', listener: () => void): this;
once(event: 'update-available', listener: () => void): this;
addListener(event: 'update-available', listener: () => void): this;
removeListener(event: 'update-available', listener: () => void): this;
/**
* Emitted when an update has been downloaded.
*
* With Squirrel.Windows only `releaseName` is available.
*
* > [!NOTE] It is not strictly necessary to handle this event. A successfully
* downloaded update will still be applied the next time the application starts.
*/
on(event: 'update-downloaded', listener: (event: Event,
releaseNotes: string,
releaseName: string,
releaseDate: Date,
updateURL: string) => void): this;
off(event: 'update-downloaded', listener: (event: Event,
releaseNotes: string,
releaseName: string,
releaseDate: Date,
updateURL: string) => void): this;
once(event: 'update-downloaded', listener: (event: Event,
releaseNotes: string,
releaseName: string,
releaseDate: Date,
updateURL: string) => void): this;
addListener(event: 'update-downloaded', listener: (event: Event,
releaseNotes: string,
releaseName: string,
releaseDate: Date,
updateURL: string) => void): this;
removeListener(event: 'update-downloaded', listener: (event: Event,
releaseNotes: string,
releaseName: string,
releaseDate: Date,
updateURL: string) => void): this;
/**
* Emitted when there is no available update.
*/
on(event: 'update-not-available', listener: () => void): this;
off(event: 'update-not-available', listener: () => void): this;
once(event: 'update-not-available', listener: () => void): this;
addListener(event: 'update-not-available', listener: () => void): this;
removeListener(event: 'update-not-available', listener: () => void): this;
/**
* Asks the server whether there is an update. You must call `setFeedURL` before
* using this API.
*
* > [!NOTE] If an update is available it will be downloaded automatically. Calling
* `autoUpdater.checkForUpdates()` twice will download the update two times.
*/
checkForUpdates(): void;
/**
* The current update feed URL.
*/
getFeedURL(): string;
/**
* Restarts the app and installs the update after it has been downloaded. It should
* only be called after `update-downloaded` has been emitted.
*
* Under the hood calling `autoUpdater.quitAndInstall()` will close all application
* windows first, and automatically call `app.quit()` after all windows have been
* closed.
*
* > [!NOTE] It is not strictly necessary to call this function to apply an update,
* as a successfully downloaded update will always be applied the next time the
* application starts.
*/
quitAndInstall(): void;
/**
* Sets the `url` and initialize the auto updater.
*/
setFeedURL(options: FeedURLOptions): void;
}
class BaseWindow extends NodeEventEmitter {
// Docs: https://electronjs.org/docs/api/base-window
/**
* Emitted when the window is set or unset to show always on top of other windows.
*/
on(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
off(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
once(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
addListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
removeListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
/**
* Emitted when an App Command is invoked. These are typically related to keyboard
* media keys or browser commands, as well as the "Back" button built into some
* mice on Windows.
*
* Commands are lowercased, underscores are replaced with hyphens, and the
* `APPCOMMAND_` prefix is stripped off. e.g. `APPCOMMAND_BROWSER_BACKWARD` is
* emitted as `browser-backward`.
*
* The following app commands are explicitly supported on Linux:
*
* * `browser-backward`
* * `browser-forward`
*
* @platform win32,linux
*/
on(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
off(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
once(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
addListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
removeListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* Emitted when the window loses focus.
*/
on(event: 'blur', listener: (event: Event) => void): this;
off(event: 'blur', listener: (event: Event) => void): this;
once(event: 'blur', listener: (event: Event) => void): this;
addListener(event: 'blur', listener: (event: Event) => void): this;
removeListener(event: 'blur', listener: (event: Event) => void): this;
/**
* Emitted when the window is going to be closed. It's emitted before the
* `beforeunload` and `unload` event of the DOM. Calling `event.preventDefault()`
* will cancel the close.
*
* Usually you would want to use the `beforeunload` handler to decide whether the
* window should be closed, which will also be called when the window is reloaded.
* In Electron, returning any value other than `undefined` would cancel the close.
* For example:
*
* > [!NOTE] There is a subtle difference between the behaviors of
* `window.onbeforeunload = handler` and `window.addEventListener('beforeunload',
* handler)`. It is recommended to always set the `event.returnValue` explicitly,
* instead of only returning a value, as the former works more consistently within
* Electron.
*/
on(event: 'close', listener: (event: Event) => void): this;
off(event: 'close', listener: (event: Event) => void): this;
once(event: 'close', listener: (event: Event) => void): this;
addListener(event: 'close', listener: (event: Event) => void): this;
removeListener(event: 'close', listener: (event: Event) => void): this;
/**
* Emitted when the window is closed. After you have received this event you should
* remove the reference to the window and avoid using it any more.
*/
on(event: 'closed', listener: () => void): this;
off(event: 'closed', listener: () => void): this;
once(event: 'closed', listener: () => void): this;
addListener(event: 'closed', listener: () => void): this;
removeListener(event: 'closed', listener: () => void): this;
/**
* Emitted when the window enters a full-screen state.
*/
on(event: 'enter-full-screen', listener: () => void): this;
off(event: 'enter-full-screen', listener: () => void): this;
once(event: 'enter-full-screen', listener: () => void): this;
addListener(event: 'enter-full-screen', listener: () => void): this;
removeListener(event: 'enter-full-screen', listener: () => void): this;
/**
* Emitted when the window gains focus.
*/
on(event: 'focus', listener: (event: Event) => void): this;
off(event: 'focus', listener: (event: Event) => void): this;
once(event: 'focus', listener: (event: Event) => void): this;
addListener(event: 'focus', listener: (event: Event) => void): this;
removeListener(event: 'focus', listener: (event: Event) => void): this;
/**
* Emitted when the window is hidden.
*/
on(event: 'hide', listener: () => void): this;
off(event: 'hide', listener: () => void): this;
once(event: 'hide', listener: () => void): this;
addListener(event: 'hide', listener: () => void): this;
removeListener(event: 'hide', listener: () => void): this;
/**
* Emitted when the window leaves a full-screen state.
*/
on(event: 'leave-full-screen', listener: () => void): this;
off(event: 'leave-full-screen', listener: () => void): this;
once(event: 'leave-full-screen', listener: () => void): this;
addListener(event: 'leave-full-screen', listener: () => void): this;
removeListener(event: 'leave-full-screen', listener: () => void): this;
/**
* Emitted when window is maximized.
*/
on(event: 'maximize', listener: () => void): this;
off(event: 'maximize', listener: () => void): this;
once(event: 'maximize', listener: () => void): this;
addListener(event: 'maximize', listener: () => void): this;
removeListener(event: 'maximize', listener: () => void): this;
/**
* Emitted when the window is minimized.
*/
on(event: 'minimize', listener: () => void): this;
off(event: 'minimize', listener: () => void): this;
once(event: 'minimize', listener: () => void): this;
addListener(event: 'minimize', listener: () => void): this;
removeListener(event: 'minimize', listener: () => void): this;
/**
* Emitted when the window is being moved to a new position.
*/
on(event: 'move', listener: () => void): this;
off(event: 'move', listener: () => void): this;
once(event: 'move', listener: () => void): this;
addListener(event: 'move', listener: () => void): this;
removeListener(event: 'move', listener: () => void): this;
/**
* Emitted once when the window is moved to a new position.
*
* > [!NOTE] On macOS, this event is an alias of `move`.
*
* @platform darwin,win32
*/
on(event: 'moved', listener: () => void): this;
/**
* @platform darwin,win32
*/
off(event: 'moved', listener: () => void): this;
/**
* @platform darwin,win32
*/
once(event: 'moved', listener: () => void): this;
/**
* @platform darwin,win32
*/
addListener(event: 'moved', listener: () => void): this;
/**
* @platform darwin,win32
*/
removeListener(event: 'moved', listener: () => void): this;
/**
* Emitted when the user clicks the native macOS new tab button. The new tab button
* is only visible if the current `BrowserWindow` has a `tabbingIdentifier`.
*
* You must create a window in this handler in order for macOS tabbing to work as
* expected.
*
* @platform darwin
*/
on(event: 'new-window-for-tab', listener: () => void): this;
/**
* @platform darwin
*/
off(event: 'new-window-for-tab', listener: () => void): this;
/**
* @platform darwin
*/
once(event: 'new-window-for-tab', listener: () => void): this;
/**
* @platform darwin
*/
addListener(event: 'new-window-for-tab', listener: () => void): this;
/**
* @platform darwin
*/
removeListener(event: 'new-window-for-tab', listener: () => void): this;
/**
* Emitted when a session is about to end due to a shutdown, machine restart, or
* user log-off. Calling `event.preventDefault()` can delay the system shutdown,
* though it’s generally best to respect the user’s choice to end the session.
* However, you may choose to use it if ending the session puts the user at risk of
* losing data.
*
* @platform win32
*/
on(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
off(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
once(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
addListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
removeListener(event: 'query-session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* Emitted after the window has been resized.
*/
on(event: 'resize', listener: () => void): this;
off(event: 'resize', listener: () => void): this;
once(event: 'resize', listener: () => void): this;
addListener(event: 'resize', listener: () => void): this;
removeListener(event: 'resize', listener: () => void): this;
/**
* Emitted once when the window has finished being resized.
*
* This is usually emitted when the window has been resized manually. On macOS,
* resizing the window with `setBounds`/`setSize` and setting the `animate`
* parameter to `true` will also emit this event once resizing has finished.
*
* @platform darwin,win32
*/
on(event: 'resized', listener: () => void): this;
/**
* @platform darwin,win32
*/
off(event: 'resized', listener: () => void): this;
/**
* @platform darwin,win32
*/
once(event: 'resized', listener: () => void): this;
/**
* @platform darwin,win32
*/
addListener(event: 'resized', listener: () => void): this;
/**
* @platform darwin,win32
*/
removeListener(event: 'resized', listener: () => void): this;
/**
* Emitted when the window is restored from a minimized state.
*/
on(event: 'restore', listener: () => void): this;
off(event: 'restore', listener: () => void): this;
once(event: 'restore', listener: () => void): this;
addListener(event: 'restore', listener: () => void): this;
removeListener(event: 'restore', listener: () => void): this;
/**
* Emitted on trackpad rotation gesture. Continually emitted until rotation gesture
* is ended. The `rotation` value on each emission is the angle in degrees rotated
* since the last emission. The last emitted event upon a rotation gesture will
* always be of value `0`. Counter-clockwise rotation values are positive, while
* clockwise ones are negative.
*
* @platform darwin
*/
on(event: 'rotate-gesture', listener: (event: Event,
rotation: number) => void): this;
/**
* @platform darwin
*/
off(event: 'rotate-gesture', listener: (event: Event,
rotation: number) => void): this;
/**
* @platform darwin
*/
once(event: 'rotate-gesture', listener: (event: Event,
rotation: number) => void): this;
/**
* @platform darwin
*/
addListener(event: 'rotate-gesture', listener: (event: Event,
rotation: number) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'rotate-gesture', listener: (event: Event,
rotation: number) => void): this;
/**
* Emitted when a session is about to end due to a shutdown, machine restart, or
* user log-off. Once this event fires, there is no way to prevent the session from
* ending.
*
* @platform win32
*/
on(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
off(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
once(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
addListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* @platform win32
*/
removeListener(event: 'session-end', listener: (event: WindowSessionEndEvent) => void): this;
/**
* Emitted when the window opens a sheet.
*
* @platform darwin
*/
on(event: 'sheet-begin', listener: () => void): this;
/**
* @platform darwin
*/
off(event: 'sheet-begin', listener: () => void): this;
/**
* @platform darwin
*/
once(event: 'sheet-begin', listener: () => void): this;
/**
* @platform darwin
*/
addListener(event: 'sheet-begin', listener: () => void): this;
/**
* @platform darwin
*/
removeListener(event: 'sheet-begin', listener: () => void): this;
/**
* Emitted when the window has closed a sheet.
*
* @platform darwin
*/
on(event: 'sheet-end', listener: () => void): this;
/**
* @platform darwin
*/
off(event: 'sheet-end', listener: () => void): this;
/**
* @platform darwin
*/
once(event: 'sheet-end', listener: () => void): this;
/**
* @platform darwin
*/
addListener(event: 'sheet-end', listener: () => void): this;
/**
* @platform darwin
*/
removeListener(event: 'sheet-end', listener: () => void): this;
/**
* Emitted when the window is shown.
*/
on(event: 'show', listener: () => void): this;
off(event: 'show', listener: () => void): this;
once(event: 'show', listener: () => void): this;
addListener(event: 'show', listener: () => void): this;
removeListener(event: 'show', listener: () => void): this;
/**
* Emitted on 3-finger swipe. Possible directions are `up`, `right`, `down`,
* `left`.
*
* The method underlying this event is built to handle older macOS-style trackpad
* swiping, where the content on the screen doesn't move with the swipe. Most macOS
* trackpads are not configured to allow this kind of swiping anymore, so in order
* for it to emit properly the 'Swipe between pages' preference in `System
* Preferences > Trackpad > More Gestures` must be set to 'Swipe with two or three
* fingers'.
*
* @platform darwin
*/
on(event: 'swipe', listener: (event: Event,
direction: string) => void): this;
/**
* @platform darwin
*/
off(event: 'swipe', listener: (event: Event,
direction: string) => void): this;
/**
* @platform darwin
*/
once(event: 'swipe', listener: (event: Event,
direction: string) => void): this;
/**
* @platform darwin
*/
addListener(event: 'swipe', listener: (event: Event,
direction: string) => void): this;
/**
* @platform darwin
*/
removeListener(event: 'swipe', listener: (event: Event,
direction: string) => void): this;
/**
* Emitted when the system context menu is triggered on the window, this is
* normally only triggered when the user right clicks on the non-client area of
* your window. This is the window titlebar or any area you have declared as
* `-webkit-app-region: drag` in a frameless window.
*
* Calling `event.preventDefault()` will prevent the menu from being displayed.
*
* To convert `point` to DIP, use `screen.screenToDipPoint(point)`.
*
* @platform win32,linux
*/
on(event: 'system-context-menu', listener: (event: Event,
/**
* The screen coordinates where the context menu was triggered.
*/
point: Point) => void): this;
/**
* @platform win32,linux
*/
off(event: 'system-context-menu', listener: (event: Event,
/**
* The screen coordinates where the context menu was triggered.
*/
point: Point) => void): this;
/**
* @platform win32,linux
*/
once(event: 'system-context-menu', listener: (event: Event,
/**
* The screen coordinates where the context menu was triggered.
*/
point: Point) => void): this;
/**
* @platform win32,linux
*/
addListener(event: 'system-context-menu', listener: (event: Event,
/**
* The screen coordinates where the context menu was triggered.
*/
point: Point) => void): this;
/**
* @platform win32,linux
*/
removeListener(event: 'system-context-menu', listener: (event: Event,
/**
* The screen coordinates where the context menu was triggered.
*/
point: Point) => void): this;
/**
* Emitted when the window exits from a maximized state.
*/
on(event: 'unmaximize', listener: () => void): this;
off(event: 'unmaximize', listener: () => void): this;
once(event: 'unmaximize', listener: () => void): this;
addListener(event: 'unmaximize', listener: () => void): this;
removeListener(event: 'unmaximize', listener: () => void): this;
/**
* Emitted before the window is moved. On Windows, calling `event.preventDefault()`
* will prevent the window from being moved.
*
* Note that this is only emitted when the window is being moved manually. Moving
* the window with `setPosition`/`setBounds`/`center` will not emit this event.
*
* @platform darwin,win32
*/
on(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: Rectangle) => void): this;
/**
* @platform darwin,win32
*/
off(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: Rectangle) => void): this;
/**
* @platform darwin,win32
*/
once(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: Rectangle) => void): this;
/**
* @platform darwin,win32
*/
addListener(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: Rectangle) => void): this;
/**
* @platform darwin,win32
*/
removeListener(event: 'will-move', listener: (event: Event,
/**
* Location the window is being moved to.
*/
newBounds: Rectangle) => void): this;
/**
* Emitted before the window is resized. Calling `event.preventDefault()` will
* prevent the window from being resized.
*
* Note that this is only emitted when the window is being resized manually.
* Resizing the window with `setBounds`/`setSize` will not emit this event.
*
* The possible values and behaviors of the `edge` option are platform dependent.
* Possible values are:
*
* * On Windows, possible values are `bottom`, `top`, `left`, `right`, `top-left`,
* `top-right`, `bottom-left`, `bottom-right`.
* * On macOS, possible values are `bottom` and `right`.
* * The value `bottom` is used to denote vertical resizing.
* * The value `right` is used to denote horizontal resizing.
*
* @platform darwin,win32
*/
on(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: Rectangle,
details: WillResizeDetails) => void): this;
/**
* @platform darwin,win32
*/
off(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: Rectangle,
details: WillResizeDetails) => void): this;
/**
* @platform darwin,win32
*/
once(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: Rectangle,
details: WillResizeDetails) => void): this;
/**
* @platform darwin,win32
*/
addListener(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: Rectangle,
details: WillResizeDetails) => void): this;
/**
* @platform darwin,win32
*/
removeListener(event: 'will-resize', listener: (event: Event,
/**
* Size the window is being resized to.
*/
newBounds: Rectangle,
details: WillResizeDetails) => void): this;
/**
* BaseWindow
*/
constructor(options?: BaseWindowConstructorOptions);
/**
* The window with the given `id`.
*/
static fromId(id: number): (BaseWindow) | (null);
/**
* An array of all opened browser windows.
*/
static getAllWindows(): BaseWindow[];
/**
* The window that is focused in this application, otherwise returns `null`.
*/
static getFocusedWindow(): (BaseWindow) | (null);
/**
* Adds a window as a tab on this window, after the tab for the window instance.
*
* @platform darwin
*/
addTabbedWindow(baseWindow: BaseWindow): void;
/**
* Removes focus from the window.
*/
blur(): void;
/**
* Moves window to the center of the screen.
*/
center(): void;
/**
* Try to close the window. This has the same effect as a user manually clicking
* the close button of the window. The web page may cancel the close though. See
* the close event.
*/
close(): void;
/**
* Closes the currently open Quick Look panel.
*
* @platform darwin
*/
closeFilePreview(): void;
/**
* Force closing the window, the `unload` and `beforeunload` event won't be emitted
* for the web page, and `close` event will also not be emitted for this window,
* but it guarantees the `closed` event will be emitted.
*/
destroy(): void;
/**
* Starts or stops flashing the window to attract user's attention.
*/
flashFrame(flag: boolean): void;
/**
* Focuses on the window.
*/
focus(): void;
/**
* the system accent color and highlighting of active window border in Hex RGB
* format.
*
* If a color has been set for the window that differs from the system accent
* color, the window accent color will be returned. Otherwise, a boolean will be
* returned, with `true` indicating that the window uses the global system accent
* color, and `false` indicating that accent color highlighting is disabled for
* this window.
*
* @platform win32
*/
getAccentColor(): (string) | (boolean);
/**
* Gets the background color of the window in Hex (`#RRGGBB`) format.
*
* See Setting `backgroundColor`.
*
* > [!NOTE] The alpha value is _not_ returned alongside the red, green, and blue
* values.
*/
getBackgroundColor(): string;
/**
* The `bounds` of the window as `Object`.
*
* > [!NOTE] On macOS, the y-coordinate value returned will be at minimum the Tray
* height. For example, calling `win.setBounds({ x: 25, y: 20, width: 800, height:
* 600 })` with a tray height of 38 means that `win.getBounds()` will return `{ x:
* 25, y: 38, width: 800, height: 600 }`.
*
* > [!NOTE] On Wayland, this method will return `{ x: 0, y: 0, ... }` as
* introspecting or programmatically changing the global window coordinates is
* prohibited.
*/
getBounds(): Rectangle;
/**
* All child windows.
*/
getChildWindows(): BaseWindow[];
/**
* The `bounds` of the window's client area as `Object`.
*/
getContentBounds(): Rectangle;
/**
* Contains the window's client area's width and height.
*/
getContentSize(): number[];
/**
* The content view of the window.
*/
getContentView(): View;
/**
* Contains the window's maximum width and height.
*/
getMaximumSize(): number[];
/**
* Window id in the format of DesktopCapturerSource's id. For example
* "window:1324:0".
*
* More precisely the format is `window:id:other_id` where `id` is `HWND` on
* Windows, `CGWindowID` (`uint64_t`) on macOS and `Window` (`unsigned long`) on
* Linux. `other_id` is used to identify web contents (tabs) so within the same top
* level window.
*/
getMediaSourceId(): string;
/**
* Contains the window's minimum width and height.
*/
getMinimumSize(): number[];
/**
* The platform-specific handle of the window.
*
* The native type of the handle is `HWND` on Windows, `NSView*` on macOS, and
* `Window` (`unsigned long`) on Linux.
*/
getNativeWindowHandle(): Buffer;
/**
* Contains the window bounds of the normal state
*
* > [!NOTE] Whatever the current state of the window : maximized, minimized or in
* fullscreen, this function always returns the position and size of the window in
* normal state. In normal state, getBounds and getNormalBounds returns the same
* `Rectangle`.
*/
getNormalBounds(): Rectangle;
/**
* between 0.0 (fully transparent) and 1.0 (fully opaque). On Linux, always returns
* 1.
*/
getOpacity(): number;
/**
* The parent window or `null` if there is no parent.
*/
getParentWindow(): (BaseWindow) | (null);
/**
* Contains the window's current position.
*
* > [!NOTE] On Wayland, this method will return `[0, 0]` as introspecting or
* programmatically changing the global window coordinates is prohibited.
*/
getPosition(): number[];
/**
* The pathname of the file the window represents.
*
* @platform darwin
*/
getRepresentedFilename(): string;
/**
* Contains the window's width and height.
*/
getSize(): number[];
/**
* The title of the native window.
*
* > [!NOTE] The title of the web page can be different from the title of the
* native window.
*/
getTitle(): string;
/**
* The custom position for the traffic light buttons in frameless window, `null`
* will be returned when there is no custom position.
*
* @platform darwin
*/
getWindowButtonPosition(): (Point) | (null);
/**
* Whether the window has a shadow.
*/
hasShadow(): boolean;
/**
* Hides the window.
*/
hide(): void;
/**
* Hooks a windows message. The `callback` is called when the message is received
* in the WndProc.
*
* @platform win32
*/
hookWindowMessage(message: number, callback: (wParam: Buffer, lParam: Buffer) => void): void;
/**
* Invalidates the window shadow so that it is recomputed based on the current
* window shape.
*
* `BaseWindow`s that are transparent can sometimes leave behind visual artifacts
* on macOS. This method can be used to clear these artifacts when, for example,
* performing an animation.
*
* @platform darwin
*/
invalidateShadow(): void;
/**
* Whether the window is always on top of other windows.
*/
isAlwaysOnTop(): boolean;
/**
* Whether the window can be manually closed by user.
*
* On Linux always returns `true`.
*
* @platform darwin,win32
*/
isClosable(): boolean;
/**
* whether or not content protection is currently enabled.
*
* @platform darwin,win32
*/
isContentProtected(): boolean;
/**
* Whether the window is destroyed.
*/
isDestroyed(): boolean;
/**
* Whether the window's document has been edited.
*
* @platform darwin
*/
isDocumentEdited(): boolean;
/**
* whether the window is enabled.
*/
isEnabled(): boolean;
/**
* Whether the window can be focused.
*
* @platform darwin,win32
*/
isFocusable(): boolean;
/**
* Whether the window is focused.
*/
isFocused(): boolean;
/**
* Whether the window is in fullscreen mode.
*/
isFullScreen(): boolean;
/**
* Whether the maximize/zoom window button toggles fullscreen mode or maximizes the
* window.
*/
isFullScreenable(): boolean;
/**
* Whether the window will be hidden when the user toggles into mission control.
*
* @platform darwin
*/
isHiddenInMissionControl(): boolean;
/**
* Whether the window is in kiosk mode.
*/
isKiosk(): boolean;
/**
* Whether the window can be manually maximized by user.
*
* On Linux always returns `true`.
*
* @platform darwin,win32
*/
isMaximizable(): boolean;
/**
* Whether the window is maximized.
*/
isMaximized(): boolean;
/**
* Whether menu bar automatically hides itself.
*
* @platform win32,linux
*/
isMenuBarAutoHide(): boolean;
/**
* Whether the menu bar is visible.
*
* @platform win32,linux
*/
isMenuBarVisible(): boolean;
/**
* Whether the window can be manually minimized by the user.
*
* On Linux always returns `true`.
*
* @platform darwin,win32
*/
isMinimizable(): boolean;
/**
* Whether the window is minimized.
*/
isMinimized(): boolean;
/**
* Whether current window is a modal window.
*/
isModal(): boolean;
/**
* Whether the window can be moved by user.
*
* On Linux always returns `true`.
*
* @platform darwin,win32
*/
isMovable(): boolean;
/**
* Whether the window is in normal state (not maximized, not minimized, not in
* fullscreen mode).
*/
isNormal(): boolean;
/**
* Whether the window can be manually resized by the user.
*/
isResizable(): boolean;
/**
* Whether the window is in simple (pre-Lion) fullscreen mode.
*
* @platform darwin
*/
isSimpleFullScreen(): boolean;
/**
* whether the window is arranged via Snap.
*
* The window is snapped via buttons shown when the mouse is hovered over window
* maximize button, or by dragging it to the edges of the screen.
*
* @platform win32
*/
isSnapped(): boolean;
/**
* Whether the window is in Windows 10 tablet mode.
*
* Since Windows 10 users can use their PC as tablet, under this mode apps can
* choose to optimize their UI for tablets, such as enlarging the titlebar and
* hiding titlebar buttons.
*
* This API returns whether the window is in tablet mode, and the `resize` event
* can be used to listen to changes to tablet mode.
*
* @platform win32
*/
isTabletMode(): boolean;
/**
* Whether the window is visible to the user in the foreground of the app.
*/
isVisible(): boolean;
/**
* Whether the window is visible on all workspaces.
*
* > [!NOTE] This API always returns false on Windows.
*
* @platform darwin,linux
*/
isVisibleOnAllWorkspaces(): boolean;
/**
* `true` or `false` depending on whether the message is hooked.
*
* @platform win32
*/
isWindowMessageHooked(message: number): boolean;
/**
* Maximizes the window. This will also show (but not focus) the window if it isn't
* being displayed already.
*/
maximize(): void;
/**
* Merges all windows into one window with multiple tabs when native tabs are
* enabled and there is more than one open window.
*
* @platform darwin
*/
mergeAllWindows(): void;
/**
* Minimizes the window. On some platforms the minimized window will be shown in
* the Dock.
*/
minimize(): void;
/**
* Moves window above the source window in the sense of z-order. If the
* `mediaSourceId` is not of type window or if the window does not exist then this
* method throws an error.
*/
moveAbove(mediaSourceId: string): void;
/**
* Moves the current tab into a new window if native tabs are enabled and there is
* more than one tab in the current window.
*
* @platform darwin
*/
moveTabToNewWindow(): void;
/**
* Moves window to top(z-order) regardless of focus
*/
moveTop(): void;
/**
* Uses Quick Look to preview a file at a given path.
*
* @platform darwin
*/
previewFile(path: string, displayName?: string): void;
/**
* Remove the window's menu bar.
*
* @platform linux,win32
*/
removeMenu(): void;
/**
* Restores the window from minimized state to its previous state.
*/
restore(): void;
/**
* Selects the next tab when native tabs are enabled and there are other tabs in
* the window.
*
* @platform darwin
*/
selectNextTab(): void;
/**
* Selects the previous tab when native tabs are enabled and there are other tabs
* in the window.
*
* @platform darwin
*/
selectPreviousTab(): void;
/**
* Sets the system accent color and highlighting of active window border.
*
* The `accentColor` parameter accepts the following values:
*
* * **Color string** - Like `true`, but sets a custom accent color using standard
* CSS color formats (Hex, RGB, RGBA, HSL, HSLA, or named colors). Alpha values in
* RGBA/HSLA formats are ignored and the color is treated as fully opaque.
* * **`true`** - Enable accent color highlighting for the window with the system
* accent color regardless of whether accent colors are enabled for windows in
* System `Settings.`
* * **`false`** - Disable accent color highlighting for the window regardless of
* whether accent colors are currently enabled for windows in System Settings.
* * **`null`** - Reset window accent color behavior to follow behavior set in
* System Settings.
*
* Examples:
*
* @platform win32
*/
setAccentColor(accentColor: (boolean) | (string) | (null)): void;
/**
* Sets whether the window should show always on top of other windows. After
* setting this, the window is still a normal window, not a toolbox window which
* can not be focused on.
*/
setAlwaysOnTop(flag: boolean, level?: 'normal' | 'floating' | 'torn-off-menu' | 'modal-panel' | 'main-menu' | 'status' | 'pop-up-menu' | 'screen-saver' | 'dock', relativeLevel?: number): void;
/**
* Sets the properties for the window's taskbar button.
*
* > [!NOTE] `relaunchCommand` and `relaunchDisplayName` must always be set
* together. If one of those properties is not set, then neither will be used.
*
* @platform win32
*/
setAppDetails(options: AppDetailsOptions): void;
/**
* This will make a window maintain an aspect ratio. The extra size allows a
* developer to have space, specified in pixels, not included within the aspect
* ratio calculations. This API already takes into account the difference between a
* window's size and its content size.
*
* Consider a normal window with an HD video player and associated controls.
* Perhaps there are 15 pixels of controls on the left edge, 25 pixels of controls
* on the right edge and 50 pixels of controls below the player. In order to
* maintain a 16:9 aspect ratio (standard aspect ratio for HD @1920x1080) within
* the player itself we would call this function with arguments of 16/9 and {
* width: 40, height: 50 }. The second argument doesn't care where the extra width
* and height are within the content view--only that they exist. Sum any extra
* width and height areas you have within the overall content view.
*
* The aspect ratio is not respected when window is resized programmatically with
* APIs like `win.setSize`.
*
* To reset an aspect ratio, pass 0 as the `aspectRatio` value:
* `win.setAspectRatio(0)`.
*/
setAspectRatio(aspectRatio: number, extraSize?: Size): void;
/**
* Controls whether to hide cursor when typing.
*
* @platform darwin
*/
setAutoHideCursor(autoHide: boolean): void;
/**
* Sets whether the window menu bar should hide itself automatically. Once set the
* menu bar will only show when users press the single `Alt` key.
*
* If the menu bar is already visible, calling `setAutoHideMenuBar(true)` won't
* hide it immediately.
*
* @platform win32,linux
*/
setAutoHideMenuBar(hide: boolean): void;
/**
* Examples of valid `backgroundColor` values:
*
* * Hex
* * #fff (shorthand RGB)
* * #ffff (shorthand ARGB)
* * #ffffff (RGB)
* * #ffffffff (ARGB)
* * RGB
* * `rgb\(([\d]+),\s*([\d]+),\s*([\d]+)\)`
* * e.g. rgb(255, 255, 255)
* * RGBA
* * `rgba\(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+)\)`
* * e.g. rgba(255, 255, 255, 1.0)
* * HSL
* * `hsl\((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%\)`
* * e.g. hsl(200, 20%, 50%)
* * HSLA
* * `hsla\((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)`
* * e.g. hsla(200, 20%, 50%, 0.5)
* * Color name
* * Options are listed in SkParseColor.cpp
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
* * e.g. `blueviolet` or `red`
*
* Sets the background color of the window. See Setting `backgroundColor`.
*/
setBackgroundColor(backgroundColor: string): void;
/**
* This method sets the browser window's system-drawn background material,
* including behind the non-client area.
*
* See the Windows documentation for more details.
*
* > [!NOTE] This method is only supported on Windows 11 22H2 and up.
*
* @platform win32
*/
setBackgroundMaterial(material: 'auto' | 'none' | 'mica' | 'acrylic' | 'tabbed'): void;
/**
* Resizes and moves the window to the supplied bounds. Any properties that are not
* supplied will default to their current values.
*
* > [!NOTE] On macOS, the y-coordinate value cannot be smaller than the Tray
* height. The tray height has changed over time and depends on the operating
* system, but is between 20-40px. Passing a value lower than the tray height will
* result in a window that is flush to the tray.
*/
setBounds(bounds: Partial<Rectangle>, animate?: boolean): void;
/**
* Sets whether the window can be manually closed by user. On Linux does nothing.
*
* @platform darwin,win32
*/
setClosable(closable: boolean): void;
/**
* Resizes and moves the window's client area (e.g. the web page) to the supplied
* bounds.
*/
setContentBounds(bounds: Rectangle, animate?: boolean): void;
/**
* Prevents the window contents from being captured by other apps.
*
* On macOS it sets the NSWindow's sharingType to NSWindowSharingNone. On Windows
* it calls SetWindowDisplayAffinity with `WDA_EXCLUDEFROMCAPTURE`. For Windows 10
* version 2004 and up the window will be removed from capture entirely, older
* Windows versions behave as if `WDA_MONITOR` is applied capturing a black window.
*
* @platform darwin,win32
*/
setContentProtection(enable: boolean): void;
/**
* Resizes the window's client area (e.g. the web page) to `width` and `height`.
*/
setContentSize(width: number, height: number, animate?: boolean): void;
/**
* Sets the content view of the window.
*/
setContentView(view: View): void;
/**
* Specifies whether the window’s document has been edited, and the icon in title
* bar will become gray when set to `true`.
*
* @platform darwin
*/
setDocumentEdited(edited: boolean): void;
/**
* Disable or enable the window.
*/
setEnabled(enable: boolean): void;
/**
* Changes whether the window can be focused.
*
* On macOS it does not remove the focus from the window.
*
* @platform darwin,win32
*/
setFocusable(focusable: boolean): void;
/**
* Sets whether the window should be in fullscreen mode.
*
* > [!NOTE] On macOS, fullscreen transitions take place asynchronously. If further
* actions depend on the fullscreen state, use the 'enter-full-screen' or >
* 'leave-full-screen' events.
*/
setFullScreen(flag: boolean): void;
/**
* Sets whether the maximize/zoom window button toggles fullscreen mode or
* maximizes the window.
*/
setFullScreenable(fullscreenable: boolean): void;
/**
* Sets whether the window should have a shadow.
*/
setHasShadow(hasShadow: boolean): void;
/**
* Sets whether the window will be hidden when the user toggles into mission
* control.
*
* @platform darwin
*/
setHiddenInMissionControl(hidden: boolean): void;
/**
* Changes window icon.
*
* @platform win32,linux
*/
setIcon(icon: (NativeImage) | (string)): void;
/**
* Makes the window ignore all mouse events.
*
* All mouse events happened in this window will be passed to the window below this
* window, but if this window has focus, it will still receive keyboard events.
*/
setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
/**
* Enters or leaves kiosk mode.
*/
setKiosk(flag: boolean): void;
/**
* Sets whether the window can be manually maximized by user. On Linux does
* nothing.
*
* @platform darwin,win32
*/
setMaximizable(maximizable: boolean): void;
/**
* Sets the maximum size of window to `width` and `height`.
*/
setMaximumSize(width: number, height: number): void;
/**
* Sets the `menu` as the window's menu bar.
*
* @platform linux,win32
*/
setMenu(menu: (Menu) | (null)): void;
/**
* Sets whether the menu bar should be visible. If the menu bar is auto-hide, users
* can still bring up the menu bar by pressing the single `Alt` key.
*
* @platform win32,linux
*/
setMenuBarVisibility(visible: boolean): void;
/**
* Sets whether the window can be manually minimized by user. On Linux does
* nothing.
*
* @platform darwin,win32
*/
setMinimizable(minimizable: boolean): void;
/**
* Sets the minimum size of window to `width` and `height`.
*/
setMinimumSize(width: number, height: number): void;
/**
* Sets whether the window can be moved by user. On Linux does nothing.
*
* @platform darwin,win32
*/
setMovable(movable: boolean): void;
/**
* Sets the opacity of the window. On Linux, does nothing. Out of bound number
* values are clamped to the [0, 1] range.
*
* @platform win32,darwin
*/
setOpacity(opacity: number): void;
/**
* Sets a 16 x 16 pixel overlay onto the current taskbar icon, usually used to
* convey some sort of application status or to passively notify the user.
*
* @platform win32
*/
setOverlayIcon(overlay: (NativeImage) | (null), description: string): void;
/**
* Sets `parent` as current window's parent window, passing `null` will turn
* current window into a top-level window.
*/
setParentWindow(parent: (BaseWindow) | (null)): void;
/**
* Moves window to `x` and `y`.
*/
setPosition(x: number, y: number, animate?: boolean): void;
/**
* Sets progress value in progress bar. Valid range is [0, 1.0].
*
* Remove progress bar when progress < 0; Change to indeterminate mode when
* progress > 1.
*
* On Linux platform, only supports Unity desktop environment, you need to specify
* the `*.desktop` file name to `desktopName` field in `package.json`. By default,
* it will assume `{app.name}.desktop`.
*
* On Windows, a mode can be passed. Accepted values are `none`, `normal`,
* `indeterminate`, `error`, and `paused`. If you call `setProgressBar` without a
* mode set (but with a value within the valid range), `normal` will be assumed.
*/
setProgressBar(progress: number, options?: ProgressBarOptions): void;
/**
* Sets the pathname of the file the window represents, and the icon of the file
* will show in window's title bar.
*
* @platform darwin
*/
setRepresentedFilename(filename: string): void;
/**
* Sets whether the window can be manually resized by the user.
*/
setResizable(resizable: boolean): void;
/**
* Setting a window shape determines the area within the window where the system
* permits drawing and user interaction. Outside of the given region, no pixels
* will be drawn and no mouse events will be registered. Mouse events outside of
* the region will not be received by that window, but will fall through to
* whatever is behind the window.
*
* @experimental
* @platform win32,linux
*/
setShape(rects: Rectangle[]): void;
/**
* Changes the attachment point for sheets on macOS. By default, sheets are
* attached just below the window frame, but you may want to display them beneath a
* HTML-rendered toolbar. For example:
*
* @platform darwin
*/
setSheetOffset(offsetY: number, offsetX?: number): void;
/**
* Enters or leaves simple fullscreen mode.
*
* Simple fullscreen mode emulates the native fullscreen behavior found in versions
* of macOS prior to Lion (10.7).
*
* @platform darwin
*/
setSimpleFullScreen(flag: boolean): void;
/**
* Resizes the window to `width` and `height`. If `width` or `height` are below any
* set minimum size constraints the window will snap to its minimum size.
*/
setSize(width: number, height: number, animate?: boolean): void;
/**
* Makes the window not show in the taskbar.
*
* @platform darwin,win32
*/
setSkipTaskbar(skip: boolean): void;
/**
* Whether the buttons were added successfully
*
* Add a thumbnail toolbar with a specified set of buttons to the thumbnail image
* of a window in a taskbar button layout. Returns a `boolean` object indicates
* whether the thumbnail has been added successfully.
*
* The number of buttons in thumbnail toolbar should be no greater than 7 due to
* the limited room. Once you setup the thumbnail toolbar, the toolbar cannot be
* removed due to the platform's limitation. But you can call the API with an empty
* array to clean the buttons.
*
* The `buttons` is an array of `Button` objects:
*
* * `Button` Object
* * `icon` NativeImage - The icon showing in thumbnail toolbar.
* * `click` Function
* * `tooltip` string (optional) - The text of the button's tooltip.
* * `flags` string[] (optional) - Control specific states and behaviors of the
* button. By default, it is `['enabled']`.
*
* The `flags` is an array that can include following `string`s:
*
* * `enabled` - The button is active and available to the user.
* * `disabled` - The button is disabled. It is present, but has a visual state
* indicating it will not respond to user action.
* * `dismissonclick` - When the button is clicked, the thumbnail window closes
* immediately.
* * `nobackground` - Do not draw a button border, use only the image.
* * `hidden` - The button is not shown to the user.
* * `noninteractive` - The button is enabled but not interactive; no pressed
* button state is drawn. This value is intended for instances where the button is
* used in a notification.
*
* @platform win32
*/
setThumbarButtons(buttons: ThumbarButton[]): boolean;
/**
* Sets the region of the window to show as the thumbnail image displayed when
* hovering over the window in the taskbar. You can reset the thumbnail to be the
* entire window by specifying an empty region: `{ x: 0, y: 0, width: 0, height: 0
* }`.
*
* @platform win32
*/
setThumbnailClip(region: Rectangle): void;
/**
* Sets the toolTip that is displayed when hovering over the window thumbnail in
* the taskbar.
*
* @platform win32
*/
setThumbnailToolTip(toolTip: string): void;
/**
* Changes the title of native window to `title`.
*/
setTitle(title: string): void;
/**
* On a Window with Window Controls Overlay already enabled, this method updates
* the style of the title bar overlay.
*
* On Linux, the `symbolColor` is automatically calculated to have minimum
* accessible contrast to the `color` if not explicitly set.
*
* @platform win32,linux
*/
setTitleBarOverlay(options: TitleBarOverlayOptions): void;
/**
* Sets the touchBar layout for the current window. Specifying `null` or
* `undefined` clears the touch bar. This method only has an effect if the machine
* has a touch bar.
*
* > [!NOTE] The TouchBar API is currently experimental and may change or be
* removed in future Electron releases.
*
* @platform darwin
*/
setTouchBar(touchBar: (TouchBar) | (null)): void;
/**
* Adds a vibrancy effect to the window. Passing `null` or an empty string will
* remove the vibrancy effect on the window.
*
* @platform darwin
*/
setVibrancy(type: (('titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page')) | (null)): void;
/**
* Sets whether the window should be visible on all workspaces.
*
* > [!NOTE] This API does nothing on Windows.
*
* @platform darwin,linux
*/
setVisibleOnAllWorkspaces(visible: boolean, options?: VisibleOnAllWorkspacesOptions): void;
/**
* Set a custom position for the traffic light buttons in frameless window. Passing
* `null` will reset the position to default.
*
* @platform darwin
*/
setWindowButtonPosition(position: (Point) | (null)): void;
/**
* Sets whether the window traffic light buttons should be visible.
*
* @platform darwin
*/
setWindowButtonVisibility(visible: boolean): void;
/**
* Shows and gives focus to the window.
*/
show(): void;
/**
* Shows or hides the tab overview when native tabs are enabled.
*
* @platform darwin
*/
showAllTabs(): void;
/**
* Shows the window but doesn't focus on it.
*/
showInactive(): void;
/**
* Toggles the visibility of the tab bar if native tabs are enabled and there is
* only one tab in the current window.
*
* @platform darwin
*/
toggleTabBar(): void;
/**
* Unhooks all of the window messages.
*
* @platform win32
*/
unhookAllWindowMessages(): void;
/**
* Unhook the window message.
*
* @platform win32
*/
unhookWindowMessage(message: number): void;
/**
* Unmaximizes the window.
*/
unmaximize(): void;
/**
* A `string` property that defines an alternative title provided only to
* accessibility tools such as screen readers. This string is not directly visible
* to users.
*/
accessibleTitle: string;
/**
* A `boolean` property that determines whether the window menu bar should hide
* itself automatically. Once set, the menu bar will only show when users press the
* single `Alt` key.
*
* If the menu bar is already visible, setting this property to `true` won't hide
* it immediately.
*
* @platform linux,win32
*/
autoHideMenuBar: boolean;
/**
* A `boolean` property that determines whether the window can be manually closed
* by user.
*
* On Linux the setter is a no-op, although the getter returns `true`.
*
* @platform darwin,win32
*/
closable: boolean;
/**
* A `View` property for the content view of the window.
*/
contentView: View;
/**
* A `boolean` property that specifies whether the window’s document has been
* edited.
*
* The icon in title bar will become gray when set to `true`.
*
* @platform darwin
*/
documentEdited: boolean;
/**
* A `boolean` property that determines whether the window is excluded from the
* application’s Windows menu. `false` by default.
*
* @platform darwin
*/
excludedFromShownWindowsMenu: boolean;
/**
* A `boolean` property that determines whether the window is focusable.
*
* @platform win32,darwin
*/
focusable: boolean;
/**
* A `boolean` property that determines whether the window is in fullscreen mode.
*/
fullScreen: boolean;
/**
* A `boolean` property that determines whether the maximize/zoom window button
* toggles fullscreen mode or maximizes the window.
*/
fullScreenable: boolean;
/**
* A `Integer` property representing the unique ID of the window. Each ID is unique
* among all `BaseWindow` instances of the entire Electron application.
*
*/
readonly id: number;
/**
* A `boolean` property that determines whether the window is in kiosk mode.
*/
kiosk: boolean;
/**
* A `boolean` property that determines whether the window can be manually
* maximized by user.
*
* On Linux the setter is a no-op, although the getter returns `true`.
*
* @platform darwin,win32
*/
maximizable: boolean;
/**
* A `boolean` property that determines whether the menu bar should be visible.
*
* > [!NOTE] If the menu bar is auto-hide, users can still bring up the menu bar by
* pressing the single `Alt` key.
*
* @platform win32,linux
*/
menuBarVisible: boolean;
/**
* A `boolean` property that determines whether the window can be manually
* minimized by user.
*
* On Linux the setter is a no-op, although the getter returns `true`.
*
* @platform darwin,win32
*/
minimizable: boolean;
/**
* A `boolean` property that determines Whether the window can be moved by user.
*
* On Linux the setter is a no-op, although the getter returns `true`.
*
* @platform darwin,win32
*/
movable: boolean;
/**
* A `string` property that determines the pathname of the file the window
* represents, and the icon of the file will show in window's title bar.
*
* @platform darwin
*/
representedFilename: string;
/**
* A `boolean` property that determines whether the window can be manually resized
* by user.
*/
resizable: boolean;
/**
* A `boolean` property that determines whether the window has a shadow.
*/
shadow: boolean;
/**
* A `boolean` property that determines whether the window is in simple (pre-Lion)
* fullscreen mode.
*/
simpleFullScreen: boolean;
/**
* A `boolean` property that indicates whether the window is arranged via Snap.
*
* @platform win32
*/
readonly snapped: boolean;
/**
* A `string` (optional) property that is equal to the `tabbingIdentifier` passed
* to the `BrowserWindow` constructor or `undefined` if none was set.
*
* @platform darwin
*/
readonly tabbingIdentifier?: string;
/**
* A `string` property that determines the title of the native window.
*
* > [!NOTE] The title of the web page can be different from the title of the
* native window.
*/
title: string;
/**
* A `boolean` property that determines whether the window is visible on all
* workspaces.
*
* > [!NOTE] Always returns false on Windows.
*
* @platform darwin,linux
*/
visibleOnAllWorkspaces: boolean;
}
interface BaseWindowConstructorOptions {
// Docs: https://electronjs.org/docs/api/structures/base-window-options
/**
* The accent color for the window. By default, follows user preference in System
* Settings. Set to `false` to explicitly disable, or set the color in Hex, RGB,
* RGBA, HSL, HSLA or named CSS color format. Alpha values will be ignored.
*
* @platform win32
*/
accentColor?: (boolean) | (string);
/**
* Whether clicking an inactive window will also click through to the web contents.
* Default is `false` on macOS. This option is not configurable on other platforms.
*
* @platform darwin
*/
acceptFirstMouse?: boolean;
/**
* Whether the window should always stay on top of other windows. Default is
* `false`.
*/
alwaysOnTop?: boolean;
/**
* Auto hide the menu bar unless the `Alt` key is pressed. Default is `false`.
*
* @platform linux,win32
*/
autoHideMenuBar?: boolean;
/**
* The window's background color in Hex, RGB, RGBA, HSL, HSLA or named CSS color
* format. Alpha in #AARRGGBB format is supported if `transparent` is set to
* `true`. Default is `#FFF` (white). See win.setBackgroundColor for more
* information.
*/
backgroundColor?: string;
/**
* Set the window's system-drawn background material, including behind the
* non-client area. Can be `auto`, `none`, `mica`, `acrylic` or `tabbed`. See
* win.setBackgroundMaterial for more information.
*
* @platform win32
*/
backgroundMaterial?: ('auto' | 'none' | 'mica' | 'acrylic' | 'tabbed');
/**
* Show window in the center of the screen. Default is `false`.
*/
center?: boolean;
/**
* Whether window is closable. This is not implemented on Linux. Default is `true`.
*
* @platform darwin,win32
*/
closable?: boolean;
/**
* Forces using dark theme for the window, only works on some GTK+3 desktop
* environments. Default is `false`.
*/
darkTheme?: boolean;
/**
* Whether to hide cursor when typing. Default is `false`.
*/
disableAutoHideCursor?: boolean;
/**
* Enable the window to be resized larger than screen. Only relevant for macOS, as
* other OSes allow larger-than-screen windows by default. Default is `false`.
*
* @platform darwin
*/
enableLargerThanScreen?: boolean;
/**
* Whether the window can be focused. Default is `true`. On Windows setting
* `focusable: false` also implies setting `skipTaskbar: true`. On Linux setting
* `focusable: false` makes the window stop interacting with wm, so the window will
* always stay on top in all workspaces.
*/
focusable?: boolean;
/**
* Specify `false` to create a frameless window. Default is `true`.
*/
frame?: boolean;
/**
* Whether the window should show in fullscreen. When explicitly set to `false` the
* fullscreen button will be hidden or disabled on macOS. Default is `false`.
*/
fullscreen?: boolean;
/**
* Whether the window can be put into fullscreen mode. On macOS, also whether the
* maximize/zoom button should toggle full screen mode or maximize window. Default
* is `true`.
*/
fullscreenable?: boolean;
/**
* Whether window should have a shadow. Default is `true`.
*/
hasShadow?: boolean;
/**
* Window's height in pixels. Default is `600`.
*/
height?: number;
/**
* Whether window should be hidden when the user toggles into mission control.
*
* @platform darwin
*/
hiddenInMissionControl?: boolean;
/**
* The window icon. On Windows it is recommended to use `ICO` icons to get best
* visual effects, you can also leave it undefined so the executable's icon will be
* used.
*/
icon?: (NativeImage) | (string);
/**
* Whether the window is in kiosk mode. Default is `false`.
*/
kiosk?: boolean;
/**
* Window's maximum height. Default is no limit.
*/
maxHeight?: number;
/**
* Whether window is maximizable. This is not implemented on Linux. Default is
* `true`.
*
* @platform darwin,win32
*/
maximizable?: boolean;
/**
* Window's maximum width. Default is no limit.
*/
maxWidth?: number;
/**
* Window's minimum height. Default is `0`.
*/
minHeight?: number;
/**
* Whether window is minimizable. This is not implemented on Linux. Default is
* `true`.
*
* @platform darwin,win32
*/
minimizable?: boolean;
/**
* Window's minimum width. Default is `0`.
*/
minWidth?: number;
/**
* Whether this is a modal window. This only works when the window is a child
* window. Default is `false`.
*/
modal?: boolean;
/**
* Whether window is movable. This is not implemented on Linux. Default is `true`.
*
* @platform darwin,win32
*/
movable?: boolean;
/**
* Set the initial opacity of the window, between 0.0 (fully transparent) and 1.0
* (fully opaque). This is only implemented on Windows and macOS.
*
* @platform darwin,win32
*/
opacity?: number;
/**
* Specify parent window. Default is `null`.
*/
parent?: BaseWindow;
/**
* Whether window is resizable. Default is `true`.
*/
resizable?: boolean;
/**
* Whether frameless window should have rounded corners. Default is `true`. On
* Windows versions older than Windows 11 Build 22000 this property has no effect,
* and frameless windows will not have rounded corners.
*
* @platform darwin,win32
*/
roundedCorners?: boolean;
/**
* Whether window should be shown when created. Default is `true`.
*/
show?: boolean;
/**
* Use pre-Lion fullscreen on macOS. Default is `false`.
*
* @platform darwin
*/
simpleFullscreen?: boolean;
/**
* Whether to show the window in taskbar. Default is `false`.
*
* @platform darwin,win32
*/
skipTaskbar?: boolean;
/**
* Tab group name, allows opening the window as a native tab. Windows with the same
* tabbing identifier will be grouped together. This also adds a native new tab
* button to your window's tab bar and allows your `app` and window to receive the
* `new-window-for-tab` event.
*
* @platform darwin
*/
tabbingIdentifier?: string;
/**
* Use `WS_THICKFRAME` style for frameless windows on Windows, which adds the
* standard window frame. Setting it to `false` will remove window shadow and
* window animations, and disable window resizing via dragging the window edges.
* Default is `true`.
*
* @platform win32
*/
thickFrame?: boolean;
/**
* Default window title. Default is `"Electron"`. If the HTML tag `<title>` is
* defined in the HTML file loaded by `loadURL()`, this property will be ignored.
*/
title?: string;
/**
* When using a frameless window in conjunction with
* `win.setWindowButtonVisibility(true)` on macOS or using a `titleBarStyle` so
* that the standard window controls ("traffic lights" on macOS) are visible, this
* property enables the Window Controls Overlay JavaScript APIs and CSS Environment
* Variables. Specifying `true` will result in an overlay with default system
* colors. Default is `false`.
*/
titleBarOverlay?: (TitleBarOverlay) | (boolean);
/**
* The style of window title bar. Default is `default`. Possible values are:
*/
titleBarStyle?: ('default' | 'hidden' | 'hiddenInset' | 'customButtonsOnHover');
/**
* Set a custom position for the traffic light buttons in frameless windows.
*
* @platform darwin
*/
trafficLightPosition?: Point;
/**
* Makes the window transparent. Default is `false`. On Windows, does not work
* unless the window is frameless. When you add a `View` to a `BaseWindow`, you'll
* need to call `view.setBackgroundColor` with a transparent background color on
* that view to make its background transparent as well.
*/
transparent?: boolean;
/**
* The type of window, default is normal window. See more about this below.
*/
type?: string;
/**
* The `width` and `height` would be used as web page's size, which means the
* actual window's size will include window frame's size and be slightly larger.
* Default is `false`.
*/
useContentSize?: boolean;
/**
* Add a type of vibrancy effect to the window, only on macOS. Can be
* `appearance-based`, `titlebar`, `selection`, `menu`, `popover`, `sidebar`,
* `header`, `sheet`, `window`, `hud`, `fullscreen-ui`, `tooltip`, `content`,
* `under-window`, or `under-page`.
*
* @platform darwin
*/
vibrancy?: ('appearance-based' | 'titlebar' | 'selection' | 'menu' | 'popover' | 'sidebar' | 'header' | 'sheet' | 'window' | 'hud' | 'fullscreen-ui' | 'tooltip' | 'content' | 'under-window' | 'under-page');
/**
* Specify how the material appearance should reflect window activity state on
* macOS. Must be used with the `vibrancy` property. Possible values are:
*
* @platform darwin
*/
visualEffectState?: ('followWindow' | 'active' | 'inactive');
/**
* Window's width in pixels. Default is `800`.
*/
width?: number;
/**
* (**required** if y is used) Window's left offset from screen. Default is to
* center the window.
*/
x?: number;
/**
* (**required** if x is used) Window's top offset from screen. Default is to
* center the window.
*/
y?: number;
/**
* Controls the behavior on macOS when option-clicking the green stoplight button
* on the toolbar or by clicking the Window > Zoom menu item. If `true`, the window
* will grow to the preferred width of the web page when zoomed, `false` will cause
* it to zoom to the width of the screen. This will also affect the behavior when
* calling `maximize()` directly. Default is `false`.
*
* @platform darwin
*/
zoomToPageWidth?: boolean;
}
interface BluetoothDevice {
// Docs: https://electronjs.org/docs/api/structures/bluetooth-device
deviceId: string;
deviceName: string;
}
class BrowserView {
// Docs: https://electronjs.org/docs/api/browser-view
/**
* BrowserView
*/
constructor(options?: BrowserViewConstructorOptions);
/**
* The `bounds` of this BrowserView instance as `Object`.
*
* @experimental
* @deprecated
*/
getBounds(): Rectangle;
/**
* @experimental
* @deprecated
*/
setAutoResize(options: AutoResizeOptions): void;
/**
* Examples of valid `color` values:
*
* * Hex
* * `#fff` (RGB)
* * `#ffff` (ARGB)
* * `#ffffff` (RRGGBB)
* * `#ffffffff` (AARRGGBB)
* * RGB
* * `rgb\(([\d]+),\s*([\d]+),\s*([\d]+)\)`
* * e.g. `rgb(255, 255, 255)`
* * RGBA
* * `rgba\(([\d]+),\s*([\d]+),\s*([\d]+),\s*([\d.]+)\)`
* * e.g. `rgba(255, 255, 255, 1.0)`
* * HSL
* * `hsl\((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%\)`
* * e.g. `hsl(200, 20%, 50%)`
* * HSLA
* * `hsla\((-?[\d.]+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)`
* * e.g. `hsla(200, 20%, 50%, 0.5)`
* * Color name
* * Options are listed in SkParseColor.cpp
* * Similar to CSS Color Module Level 3 keywords, but case-sensitive.
* * e.g. `blueviolet` or `red`
*
* > [!NOTE] Hex format with alpha takes `AARRGGBB` or `ARGB`, _not_ `RRGGBBAA` or
* `RGB`.
*
* @experimental
* @deprecated
*/
setBackgroundColor(color: string): void;
/**
* Resizes and moves the view to the supplied bounds relative to the window.
*
* @experimental
* @deprecated
*/
setBounds(bounds: Rectangle): void;
/**
* A `WebContents` object owned by this view.
*
* @experimental
* @deprecated
*/
webContents: WebContents;
}
class BrowserWindow extends BaseWindow {
// Docs: https://electronjs.org/docs/api/browser-window
/**
* Emitted when the window is set or unset to show always on top of other windows.
*/
on(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
off(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
once(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
addListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
removeListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
/**
* Emitted when the window is set or unset to show always on top of other windows.
*/
on(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
off(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
once(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
addListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
removeListener(event: 'always-on-top-changed', listener: (event: Event,
isAlwaysOnTop: boolean) => void): this;
/**
* Emitted when an App Command is invoked. These are typically related to keyboard
* media keys or browser commands, as well as the "Back" button built into some
* mice on Windows.
*
* Commands are lowercased, underscores are replaced with hyphens, and the
* `APPCOMMAND_` prefix is stripped off. e.g. `APPCOMMAND_BROWSER_BACKWARD` is
* emitted as `browser-backward`.
*
* The following app commands are explicitly supported on Linux:
*
* * `browser-backward`
* * `browser-forward`
*
* @platform win32,linux
*/
on(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
off(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
once(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
addListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
removeListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* Emitted when an App Command is invoked. These are typically related to keyboard
* media keys or browser commands, as well as the "Back" button built into some
* mice on Windows.
*
* Commands are lowercased, underscores are replaced with hyphens, and the
* `APPCOMMAND_` prefix is stripped off. e.g. `APPCOMMAND_BROWSER_BACKWARD` is
* emitted as `browser-backward`.
*
* The following app commands are explicitly supported on Linux:
*
* * `browser-backward`
* * `browser-forward`
*
* @platform win32,linux
*/
on(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
off(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
once(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
addListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* @platform win32,linux
*/
removeListener(event: 'app-command', listener: (event: Event,
command: string) => void): this;
/**
* Emitted when the window loses focus.
*/
on(event: 'blur', listener: () => void): this;
off(event: 'blur', listener: () => void): this;
once(event: 'blur', listener: () => void): this;
addListener(event: 'blur', listener: () => void): this;
removeListener(event: 'blur', listener: () => void): this;
/**
* Emitted when the window loses focus.
*/
on(event: 'blur', listener: (event: Event) => void): this;
off(event: 'blur', listener: (event: Event) => void): this;
once(event: 'blur', listener: (event: Event) => void): this;
addListener(event: 'blur', listener: (event: Event) => void): this;
removeListener(event: 'blur', listener: (event: Event) => void): this;
/**
* Emitted when the window is going to be closed. It's emitted before the
* `beforeunload` and `unload` event of the DOM. Calling `event.preventDefault()`
* will cancel the close.
*
* Usually you would want to use the `beforeunload` handler to decide whether the
* window should be closed, which will also be called when the window is reloaded.
* In Electron, returning any value other than `undefined` would cancel the close.
* For example:
*
* > [!NOTE] There is a subtle difference between the behaviors of
* `window.onbeforeunload = handler` and `window.addEventListener('beforeunload',
* handler)`. It is recommended to always set the `event.returnValue` explicitly,
* instead of only returning a value, as the former works more consistently within
* Electron.
*/
on(event: 'close', listener: (event: Event) => void): this;
off(event: 'close', listener: (event: Event) => void): this;
once(event: 'close', listener: (event: Event) => void): this;
addListener(event: 'close', listener: (event: Event) => void): this;
removeListener(event: 'close', listener: (event: Event) => void): this;
/**
* Emitted when the window is going to be closed. It's emitted before the
* `beforeunload` and `unload` event of the DOM. Calling `event.preventDefault()`
* will cancel the close.
*
* Usually you would want to use the `beforeunload` handler to decide whether the
* window should be closed, which will also be called when the window is reloaded.
* In Electron, returning any value other than `undefined` would cancel the close.
* For example:
*
* > [!NOTE] There is a subtle difference between the behaviors of
* `window.onbeforeunload = handler` and `window.addEventListener('beforeunload',
* handler)`. It is recommended to always set the `event.returnValue` explicitly,
* instead of only returning a value, as the former works more consistently within
* Electron.
*/
on(event: 'close', listener: (event: Event) => void): this;
off(event: 'close', listener: (event: Event) => void): this;
once(event: 'close', listener: (event: Event) => void): this;
addListener(event: 'close', listener: (event: Event) => void): this;
removeListener(event: 'close', listener: (event: Event) => void): this;
/**
* Emitted when the window is closed. After you have received this event you should
* remove the reference to the window and avoid using it any more.
*/
on(event: 'closed', listener: () => void): this;
off(event: 'closed', listener: () => void): this;
once(event: 'closed', listener: () => void): this;
addListener(event: 'closed', listener: () => void): this;
removeListener(event: 'closed', listener: () => void): this;
/**
* Emitted when the window is closed. After you have received this event you should
* remove the reference to the window and avoid using it any more.
*/
on(event: 'closed', listener: () => void): this;
off(event: 'closed', listener: () => void): this;
once(event: 'closed', listener: () => void): this;
addListener(event: 'closed', listener: () => void): this;
removeListener(event: 'closed', listener: () => void): this;
/**
* Emitted when the window enters a full-screen state.
*/
on(event: 'enter-full-screen', listener: () => void): this;
off(event: 'enter-full-screen', listener: () => void): this;
once(event: 'enter-full-screen', listener: () => void): this;
addListener(event: 'enter-full-screen', listener: () => void): this;
removeListener(event: 'enter-full-screen', listener: () => void): this;
/**
* Emitted when the window enters a full-screen state.
*/
on(event: 'enter-full-screen', listener: () => void): this;
off(event: 'enter-full-screen', listener: () => void): this;
once(event: 'enter-full-screen', listener: () => void): this;
addListener(event: 'enter-full-screen', listener: () => void): this;
removeListener(event: 'enter-full-screen', listener: () => void): this;
/**
* Emitted when the window enters a full-screen state triggered by HTML API.
gitextract_4dobgyvs/ ├── .gitignore ├── LICENSE ├── README.md ├── checksums.json ├── cli.js ├── docs/ │ └── api/ │ ├── components.md │ └── structures/ │ ├── component-error.md │ ├── component-result.md │ ├── component-status.md │ └── components-error.md ├── electron.d.ts ├── index.js ├── install.js ├── package.json ├── path.txt └── vmp-resign.py
Showing preview only (201K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (2207 symbols across 4 files)
FILE: electron.d.ts
type DOMEvent (line 8) | type DOMEvent = Event;
type GlobalResponse (line 9) | type GlobalResponse = Response;
type GlobalRequest (line 10) | type GlobalRequest = Request;
type Accelerator (line 15) | type Accelerator = string;
type Event (line 16) | type Event<Params extends object = {}> = {
type ActivationArguments (line 21) | interface ActivationArguments {
type App (line 48) | interface App extends NodeJS.EventEmitter {
type AutoUpdater (line 1965) | interface AutoUpdater extends NodeJS.EventEmitter {
class BaseWindow (line 2079) | class BaseWindow extends NodeEventEmitter {
type BaseWindowConstructorOptions (line 3729) | interface BaseWindowConstructorOptions {
type BluetoothDevice (line 4027) | interface BluetoothDevice {
class BrowserView (line 4035) | class BrowserView {
class BrowserWindow (line 4103) | class BrowserWindow extends BaseWindow {
type BrowserWindowConstructorOptions (line 6542) | interface BrowserWindowConstructorOptions extends BaseWindowConstructorO...
type Certificate (line 6559) | interface Certificate {
type CertificatePrincipal (line 6605) | interface CertificatePrincipal {
class ClientRequest (line 6635) | class ClientRequest extends NodeEventEmitter {
type Clipboard (line 6859) | interface Clipboard {
type ColorSpace (line 6977) | interface ColorSpace {
class CommandLine (line 6999) | class CommandLine {
type ComponentError (line 7045) | interface ComponentError extends Error {
type ComponentResult (line 7055) | interface ComponentResult extends ComponentStatus {
type Components (line 7065) | interface Components {
type ComponentsError (line 7129) | interface ComponentsError extends Error {
type ComponentStatus (line 7139) | interface ComponentStatus {
type ContentTracing (line 7157) | interface ContentTracing {
type ContextBridge (line 7215) | interface ContextBridge {
type Cookie (line 7230) | interface Cookie {
class Cookies (line 7281) | class Cookies extends NodeEventEmitter {
type CPUUsage (line 7386) | interface CPUUsage {
type CrashReport (line 7405) | interface CrashReport {
type CrashReporter (line 7413) | interface CrashReporter {
type CustomScheme (line 7502) | interface CustomScheme {
class Debugger (line 7513) | class Debugger extends NodeEventEmitter {
type DesktopCapturer (line 7646) | interface DesktopCapturer {
type DesktopCapturerSource (line 7665) | interface DesktopCapturerSource {
type Dialog (line 7704) | interface Dialog {
type Display (line 7971) | interface Display {
class Dock (line 8054) | class Dock {
class DownloadItem (line 8139) | class DownloadItem extends NodeEventEmitter {
type Extension (line 8341) | interface Extension {
type ExtensionInfo (line 8362) | interface ExtensionInfo {
class Extensions (line 8370) | class Extensions extends NodeEventEmitter {
type FileFilter (line 8468) | interface FileFilter {
type FilePathWithHeaders (line 8476) | interface FilePathWithHeaders {
type FilesystemPermissionRequest (line 8490) | interface FilesystemPermissionRequest extends PermissionRequest {
type GlobalShortcut (line 8508) | interface GlobalShortcut {
type GPUFeatureStatus (line 8567) | interface GPUFeatureStatus {
type HIDDevice (line 8625) | interface HIDDevice {
class ImageView (line 8660) | class ImageView extends View {
type InAppPurchase (line 8686) | interface InAppPurchase extends NodeJS.EventEmitter {
class IncomingMessage (line 8759) | class IncomingMessage extends NodeEventEmitter {
type InputEvent (line 8886) | interface InputEvent {
type IpcMain (line 8911) | interface IpcMain extends NodeJS.EventEmitter {
type IpcMainEvent (line 8971) | interface IpcMainEvent extends Event {
type IpcMainInvokeEvent (line 9014) | interface IpcMainInvokeEvent extends Event {
class IpcMainServiceWorker (line 9042) | class IpcMainServiceWorker extends NodeEventEmitter {
type IpcMainServiceWorkerEvent (line 9077) | interface IpcMainServiceWorkerEvent extends Event {
type IpcMainServiceWorkerInvokeEvent (line 9115) | interface IpcMainServiceWorkerInvokeEvent extends Event {
type IpcRenderer (line 9138) | interface IpcRenderer extends NodeJS.EventEmitter {
type IpcRendererEvent (line 9279) | interface IpcRendererEvent extends Event {
type JumpListCategory (line 9293) | interface JumpListCategory {
type JumpListItem (line 9312) | interface JumpListItem {
type KeyboardEvent (line 9363) | interface KeyboardEvent {
type KeyboardInputEvent (line 9390) | interface KeyboardInputEvent extends InputEvent {
type MediaAccessPermissionRequest (line 9405) | interface MediaAccessPermissionRequest extends PermissionRequest {
type MemoryInfo (line 9419) | interface MemoryInfo {
type MemoryUsageDetails (line 9440) | interface MemoryUsageDetails {
class Menu (line 9449) | class Menu extends NodeEventEmitter {
class MenuItem (line 9551) | class MenuItem {
class MessageChannelMain (line 9688) | class MessageChannelMain {
class MessagePortMain (line 9702) | class MessagePortMain extends NodeEventEmitter {
type MimeTypedBuffer (line 9738) | interface MimeTypedBuffer {
type MouseInputEvent (line 9756) | interface MouseInputEvent extends InputEvent {
type MouseWheelInputEvent (line 9778) | interface MouseWheelInputEvent extends MouseInputEvent {
class NativeImage (line 9796) | class NativeImage {
type NativeTheme (line 9958) | interface NativeTheme extends NodeJS.EventEmitter {
type NavigationEntry (line 10067) | interface NavigationEntry {
class NavigationHistory (line 10081) | class NavigationHistory {
type Net (line 10153) | interface Net {
type NetLog (line 10222) | interface NetLog {
class Notification (line 10247) | class Notification extends NodeEventEmitter {
type NotificationAction (line 10572) | interface NotificationAction {
type NotificationResponse (line 10593) | interface NotificationResponse {
type OffscreenSharedTexture (line 10619) | interface OffscreenSharedTexture {
type OpenExternalPermissionRequest (line 10637) | interface OpenExternalPermissionRequest extends PermissionRequest {
type ParentPort (line 10647) | interface ParentPort extends NodeJS.EventEmitter {
type PaymentDiscount (line 10666) | interface PaymentDiscount {
type PermissionRequest (line 10694) | interface PermissionRequest {
type Point (line 10708) | interface Point {
type PostBody (line 10716) | interface PostBody {
type PowerMonitor (line 10737) | interface PowerMonitor extends NodeJS.EventEmitter {
type PowerSaveBlocker (line 11009) | interface PowerSaveBlocker {
type PreloadScript (line 11041) | interface PreloadScript {
type PreloadScriptRegistration (line 11060) | interface PreloadScriptRegistration {
type PrinterInfo (line 11079) | interface PrinterInfo {
type ProcessMemoryInfo (line 11101) | interface ProcessMemoryInfo {
type ProcessMetric (line 11123) | interface ProcessMetric {
type Product (line 11173) | interface Product {
type ProductDiscount (line 11234) | interface ProductDiscount {
type ProductSubscriptionPeriod (line 11270) | interface ProductSubscriptionPeriod {
type Protocol (line 11285) | interface Protocol {
type ProtocolRequest (line 11492) | interface ProtocolRequest {
type ProtocolResponse (line 11503) | interface ProtocolResponse {
type ProtocolResponseUploadData (line 11568) | interface ProtocolResponseUploadData {
type ProxyConfig (line 11582) | interface ProxyConfig {
type PushNotifications (line 11606) | interface PushNotifications extends NodeJS.EventEmitter {
type Rectangle (line 11661) | interface Rectangle {
type Referrer (line 11683) | interface Referrer {
type RenderProcessGoneDetails (line 11699) | interface RenderProcessGoneDetails {
type ResolvedEndpoint (line 11714) | interface ResolvedEndpoint {
type ResolvedHost (line 11725) | interface ResolvedHost {
type SafeStorage (line 11735) | interface SafeStorage {
type Screen (line 11807) | interface Screen extends NodeJS.EventEmitter {
type ScrubberItem (line 11918) | interface ScrubberItem {
type SegmentedControlSegment (line 11932) | interface SegmentedControlSegment {
type SerialPort (line 11950) | interface SerialPort {
type ServiceWorkerInfo (line 11992) | interface ServiceWorkerInfo {
class ServiceWorkerMain (line 12016) | class ServiceWorkerMain {
class ServiceWorkers (line 12075) | class ServiceWorkers extends NodeEventEmitter {
class Session (line 12200) | class Session extends NodeEventEmitter {
type SharedDictionaryInfo (line 13274) | interface SharedDictionaryInfo {
type SharedDictionaryUsageInfo (line 13326) | interface SharedDictionaryUsageInfo {
type SharedTexture (line 13349) | interface SharedTexture {
type SharedTextureHandle (line 13393) | interface SharedTextureHandle {
type SharedTextureImported (line 13421) | interface SharedTextureImported {
type SharedTextureImportedSubtle (line 13447) | interface SharedTextureImportedSubtle {
type SharedTextureImportTextureInfo (line 13485) | interface SharedTextureImportTextureInfo {
type SharedTextureSubtle (line 13516) | interface SharedTextureSubtle {
type SharedTextureSyncToken (line 13532) | interface SharedTextureSyncToken {
type SharedTextureTransfer (line 13542) | interface SharedTextureTransfer {
type SharedWorkerInfo (line 13580) | interface SharedWorkerInfo {
class ShareMenu (line 13594) | class ShareMenu {
type SharingItem (line 13612) | interface SharingItem {
type Shell (line 13630) | interface Shell {
type ShortcutDetails (line 13692) | interface ShortcutDetails {
type Size (line 13733) | interface Size {
type SystemPreferences (line 13741) | interface SystemPreferences extends NodeJS.EventEmitter {
type Task (line 14080) | interface Task {
type ThumbarButton (line 14119) | interface ThumbarButton {
class TouchBar (line 14139) | class TouchBar {
class TouchBarButton (line 14197) | class TouchBarButton {
class TouchBarColorPicker (line 14235) | class TouchBarColorPicker {
class TouchBarGroup (line 14255) | class TouchBarGroup {
class TouchBarLabel (line 14265) | class TouchBarLabel {
class TouchBarOtherItemsProxy (line 14290) | class TouchBarOtherItemsProxy {
class TouchBarPopover (line 14300) | class TouchBarPopover {
class TouchBarScrubber (line 14320) | class TouchBarScrubber {
class TouchBarSegmentedControl (line 14376) | class TouchBarSegmentedControl {
class TouchBarSlider (line 14408) | class TouchBarSlider {
class TouchBarSpacer (line 14438) | class TouchBarSpacer {
type TraceCategoriesAndOptions (line 14453) | interface TraceCategoriesAndOptions {
type TraceConfig (line 14480) | interface TraceConfig {
type Transaction (line 14532) | interface Transaction {
class Tray (line 14564) | class Tray extends NodeEventEmitter {
type UploadData (line 15307) | interface UploadData {
type UploadFile (line 15325) | interface UploadFile {
type UploadRawData (line 15352) | interface UploadRawData {
type USBDevice (line 15366) | interface USBDevice {
type UserDefaultTypes (line 15441) | interface UserDefaultTypes {
class UtilityProcess (line 15455) | class UtilityProcess extends NodeEventEmitter {
class View (line 15639) | class View extends NodeEventEmitter {
class WebContents (line 15717) | class WebContents extends NodeEventEmitter {
class WebContentsView (line 18414) | class WebContentsView extends View {
type WebFrame (line 18439) | interface WebFrame {
class WebFrameMain (line 18650) | class WebFrameMain extends NodeEventEmitter {
type WebPreferences (line 18845) | interface WebPreferences {
class WebRequest (line 19102) | class WebRequest {
type WebRequestFilter (line 19212) | interface WebRequestFilter {
type WebSource (line 19234) | interface WebSource {
type WebUtils (line 19242) | interface WebUtils {
type WebviewTag (line 19258) | interface WebviewTag extends HTMLElement {
type WindowOpenHandlerResponse (line 19901) | interface WindowOpenHandlerResponse {
type WindowSessionEndEvent (line 19928) | interface WindowSessionEndEvent extends Event {
type AboutPanelOptionsOptions (line 19939) | interface AboutPanelOptionsOptions {
type AddRepresentationOptions (line 19986) | interface AddRepresentationOptions {
type AdjustSelectionOptions (line 20009) | interface AdjustSelectionOptions {
type AnimationSettings (line 20020) | interface AnimationSettings {
type AppDetailsOptions (line 20038) | interface AppDetailsOptions {
type ApplicationInfoForProtocolReturnValue (line 20063) | interface ApplicationInfoForProtocolReturnValue {
type AuthenticationResponseDetails (line 20078) | interface AuthenticationResponseDetails {
type AuthInfo (line 20083) | interface AuthInfo {
type AutoResizeOptions (line 20091) | interface AutoResizeOptions {
type BeforeSendResponse (line 20114) | interface BeforeSendResponse {
type BitmapOptions (line 20122) | interface BitmapOptions {
type BlinkMemoryInfo (line 20129) | interface BlinkMemoryInfo {
type BluetoothPairingHandlerHandlerDetails (line 20140) | interface BluetoothPairingHandlerHandlerDetails {
type BoundsOptions (line 20157) | interface BoundsOptions {
type BrowserViewConstructorOptions (line 20165) | interface BrowserViewConstructorOptions {
type CallbackResponse (line 20172) | interface CallbackResponse {
type CertificateTrustDialogOptions (line 20181) | interface CertificateTrustDialogOptions {
type ClearCodeCachesOptions (line 20192) | interface ClearCodeCachesOptions {
type ClearDataOptions (line 20201) | interface ClearDataOptions {
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 20227) | interface ClearSharedDictionaryCacheForIsolationKeyOptions {
type ClearStorageDataOptions (line 20242) | interface ClearStorageDataOptions {
type ClientCertRequestParams (line 20255) | interface ClientCertRequestParams {
type ClientRequestConstructorOptions (line 20270) | interface ClientRequestConstructorOptions {
type CloseOpts (line 20374) | interface CloseOpts {
type Collections (line 20383) | interface Collections {
type Config (line 20421) | interface Config {
type Configuration (line 20444) | interface Configuration {
type Configurations (line 20460) | interface Configurations {
type ConfigureHostResolverOptions (line 20463) | interface ConfigureHostResolverOptions {
type ConsoleMessageEvent (line 20503) | interface ConsoleMessageEvent extends DOMEvent {
type ContextMenuEvent (line 20520) | interface ContextMenuEvent extends DOMEvent {
type ContextMenuParams (line 20524) | interface ContextMenuParams {
type ContinueActivityDetails (line 20647) | interface ContinueActivityDetails {
type CookiesGetFilter (line 20655) | interface CookiesGetFilter {
type CookiesSetDetails (line 20687) | interface CookiesSetDetails {
type CrashReporterStartOptions (line 20732) | interface CrashReporterStartOptions {
type CreateFromBitmapOptions (line 20789) | interface CreateFromBitmapOptions {
type CreateFromBufferOptions (line 20798) | interface CreateFromBufferOptions {
type CreateInterruptedDownloadOptions (line 20813) | interface CreateInterruptedDownloadOptions {
type Data (line 20845) | interface Data {
type DecryptStringAsyncReturnValue (line 20856) | interface DecryptStringAsyncReturnValue {
type DefaultFontFamily (line 20870) | interface DefaultFontFamily {
type Details (line 20901) | interface Details {
type DevicePermissionHandlerHandlerDetails (line 20926) | interface DevicePermissionHandlerHandlerDetails {
type DevtoolsOpenUrlEvent (line 20942) | interface DevtoolsOpenUrlEvent extends DOMEvent {
type DevtoolsSearchQueryEvent (line 20949) | interface DevtoolsSearchQueryEvent extends DOMEvent {
type DidChangeThemeColorEvent (line 20957) | interface DidChangeThemeColorEvent extends DOMEvent {
type DidCreateWindowDetails (line 20961) | interface DidCreateWindowDetails {
type DidFailLoadEvent (line 20995) | interface DidFailLoadEvent extends DOMEvent {
type DidFrameFinishLoadEvent (line 21002) | interface DidFrameFinishLoadEvent extends DOMEvent {
type DidFrameNavigateEvent (line 21006) | interface DidFrameNavigateEvent extends DOMEvent {
type DidNavigateEvent (line 21021) | interface DidNavigateEvent extends DOMEvent {
type DidNavigateInPageEvent (line 21025) | interface DidNavigateInPageEvent extends DOMEvent {
type DidRedirectNavigationEvent (line 21030) | interface DidRedirectNavigationEvent extends DOMEvent {
type DidStartNavigationEvent (line 21038) | interface DidStartNavigationEvent extends DOMEvent {
type DisplayBalloonOptions (line 21046) | interface DisplayBalloonOptions {
type DisplayMediaRequestHandlerHandlerRequest (line 21073) | interface DisplayMediaRequestHandlerHandlerRequest {
type DisplayMediaRequestHandlerOpts (line 21097) | interface DisplayMediaRequestHandlerOpts {
type DownloadURLOptions (line 21105) | interface DownloadURLOptions {
type EnableNetworkEmulationOptions (line 21112) | interface EnableNetworkEmulationOptions {
type ExecutionScript (line 21131) | interface ExecutionScript {
type FeedURLOptions (line 21144) | interface FeedURLOptions {
type FileIconOptions (line 21172) | interface FileIconOptions {
type FileSystemAccessRestrictedDetails (line 21176) | interface FileSystemAccessRestrictedDetails {
type FindInPageOptions (line 21191) | interface FindInPageOptions {
type FocusOptions (line 21207) | interface FocusOptions {
type ForkOptions (line 21216) | interface ForkOptions {
type FoundInPageEvent (line 21277) | interface FoundInPageEvent extends DOMEvent {
type FrameCreatedDetails (line 21281) | interface FrameCreatedDetails {
type FromPartitionOptions (line 21289) | interface FromPartitionOptions {
type FromPathOptions (line 21297) | interface FromPathOptions {
type HandlerDetails (line 21305) | interface HandlerDetails {
type HeadersReceivedResponse (line 21338) | interface HeadersReceivedResponse {
type HeapStatistics (line 21351) | interface HeapStatistics {
type HidDeviceAddedDetails (line 21363) | interface HidDeviceAddedDetails {
type HidDeviceRemovedDetails (line 21372) | interface HidDeviceRemovedDetails {
type HidDeviceRevokedDetails (line 21381) | interface HidDeviceRevokedDetails {
type IgnoreMouseEventsOptions (line 21389) | interface IgnoreMouseEventsOptions {
type ImportCertificateOptions (line 21400) | interface ImportCertificateOptions {
type ImportSharedTextureOptions (line 21411) | interface ImportSharedTextureOptions {
type Info (line 21423) | interface Info {
type Input (line 21438) | interface Input {
type InsertCSSOptions (line 21485) | interface InsertCSSOptions {
type IpcMessageEvent (line 21493) | interface IpcMessageEvent extends DOMEvent {
type Item (line 21502) | interface Item {
type JumpListSettings (line 21517) | interface JumpListSettings {
type LoadCommitEvent (line 21533) | interface LoadCommitEvent extends DOMEvent {
type LoadExtensionOptions (line 21538) | interface LoadExtensionOptions {
type LoadFileOptions (line 21547) | interface LoadFileOptions {
type LoadURLOptions (line 21562) | interface LoadURLOptions {
type LoginAuthenticationResponseDetails (line 21584) | interface LoginAuthenticationResponseDetails {
type LoginItemSettings (line 21588) | interface LoginItemSettings {
type LoginItemSettingsOptions (line 21644) | interface LoginItemSettingsOptions {
type MenuItemConstructorOptions (line 21674) | interface MenuItemConstructorOptions {
type MessageBoxOptions (line 21782) | interface MessageBoxOptions {
type MessageBoxReturnValue (line 21859) | interface MessageBoxReturnValue {
type MessageBoxSyncOptions (line 21870) | interface MessageBoxSyncOptions {
type MessageDetails (line 21932) | interface MessageDetails {
type MessageEvent (line 21962) | interface MessageEvent {
type MoveToApplicationsFolderOptions (line 21967) | interface MoveToApplicationsFolderOptions {
type NativePixmap (line 21974) | interface NativePixmap {
type NotificationActionEventParams (line 21995) | interface NotificationActionEventParams {
type NotificationCloseEventParams (line 22008) | interface NotificationCloseEventParams {
type NotificationConstructorOptions (line 22016) | interface NotificationConstructorOptions {
type NotificationReplyEventParams (line 22113) | interface NotificationReplyEventParams {
type Offscreen (line 22120) | interface Offscreen {
type OnBeforeRedirectListenerDetails (line 22147) | interface OnBeforeRedirectListenerDetails {
type OnBeforeRequestListenerDetails (line 22176) | interface OnBeforeRequestListenerDetails {
type OnBeforeSendHeadersListenerDetails (line 22197) | interface OnBeforeSendHeadersListenerDetails {
type OnCompletedListenerDetails (line 22219) | interface OnCompletedListenerDetails {
type OnErrorOccurredListenerDetails (line 22244) | interface OnErrorOccurredListenerDetails {
type OnHeadersReceivedListenerDetails (line 22269) | interface OnHeadersReceivedListenerDetails {
type OnResponseStartedListenerDetails (line 22292) | interface OnResponseStartedListenerDetails {
type OnSendHeadersListenerDetails (line 22319) | interface OnSendHeadersListenerDetails {
type OpenDevToolsOptions (line 22340) | interface OpenDevToolsOptions {
type OpenDialogOptions (line 22358) | interface OpenDialogOptions {
type OpenDialogReturnValue (line 22386) | interface OpenDialogReturnValue {
type OpenDialogSyncOptions (line 22406) | interface OpenDialogSyncOptions {
type OpenExternalOptions (line 22434) | interface OpenExternalOptions {
type Options (line 22456) | interface Options {
type Opts (line 22459) | interface Opts {
type PageFaviconUpdatedEvent (line 22470) | interface PageFaviconUpdatedEvent extends DOMEvent {
type PageTitleUpdatedEvent (line 22477) | interface PageTitleUpdatedEvent extends DOMEvent {
type Parameters (line 22482) | interface Parameters {
type Payment (line 22512) | interface Payment {
type PermissionCheckHandlerHandlerDetails (line 22531) | interface PermissionCheckHandlerHandlerDetails {
type PopupOptions (line 22568) | interface PopupOptions {
type PowerMonitorSpeedLimitChangeEventParams (line 22613) | interface PowerMonitorSpeedLimitChangeEventParams {
type PowerMonitorThermalStateChangeEventParams (line 22620) | interface PowerMonitorThermalStateChangeEventParams {
type PreconnectOptions (line 22628) | interface PreconnectOptions {
type PrintToPDFOptions (line 22639) | interface PrintToPDFOptions {
type Privileges (line 22703) | interface Privileges {
type ProgressBarOptions (line 22739) | interface ProgressBarOptions {
type Provider (line 22749) | interface Provider {
type PurchaseProductOpts (line 22753) | interface PurchaseProductOpts {
type ReadBookmark (line 22765) | interface ReadBookmark {
type ReceivedSharedTextureData (line 22770) | interface ReceivedSharedTextureData {
type RegistrationCompletedDetails (line 22777) | interface RegistrationCompletedDetails {
type RelaunchOptions (line 22784) | interface RelaunchOptions {
type RenderProcessGoneEvent (line 22789) | interface RenderProcessGoneEvent extends DOMEvent {
type Request (line 22793) | interface Request {
type ResizeOptions (line 22814) | interface ResizeOptions {
type ResolveHostOptions (line 22834) | interface ResolveHostOptions {
type ResourceUsage (line 22860) | interface ResourceUsage {
type Response (line 22869) | interface Response {
type RestoreOptions (line 22884) | interface RestoreOptions {
type Result (line 22897) | interface Result {
type SaveDialogOptions (line 22914) | interface SaveDialogOptions {
type SaveDialogReturnValue (line 22958) | interface SaveDialogReturnValue {
type SaveDialogSyncOptions (line 22977) | interface SaveDialogSyncOptions {
type SelectHidDeviceDetails (line 23021) | interface SelectHidDeviceDetails {
type SelectUsbDeviceDetails (line 23030) | interface SelectUsbDeviceDetails {
type SendSharedTextureOptions (line 23039) | interface SendSharedTextureOptions {
type SerialPortRevokedDetails (line 23053) | interface SerialPortRevokedDetails {
type ServiceWorkersRunningStatusChangedEventParams (line 23066) | interface ServiceWorkersRunningStatusChangedEventParams {
type Settings (line 23078) | interface Settings {
type SharedDictionaryInfoOptions (line 23137) | interface SharedDictionaryInfoOptions {
type SourcesOptions (line 23152) | interface SourcesOptions {
type StartLoggingOptions (line 23173) | interface StartLoggingOptions {
type StartTask (line 23188) | interface StartTask {
type Streams (line 23196) | interface Streams {
type SystemMemoryInfo (line 23213) | interface SystemMemoryInfo {
type TextureInfo (line 23250) | interface TextureInfo {
type TitleBarOverlay (line 23292) | interface TitleBarOverlay {
type TitleBarOverlayOptions (line 23314) | interface TitleBarOverlayOptions {
type TitleOptions (line 23329) | interface TitleOptions {
type ToBitmapOptions (line 23338) | interface ToBitmapOptions {
type ToDataURLOptions (line 23345) | interface ToDataURLOptions {
type ToPNGOptions (line 23352) | interface ToPNGOptions {
type TouchBarButtonConstructorOptions (line 23359) | interface TouchBarButtonConstructorOptions {
type TouchBarColorPickerConstructorOptions (line 23390) | interface TouchBarColorPickerConstructorOptions {
type TouchBarConstructorOptions (line 23405) | interface TouchBarConstructorOptions {
type TouchBarGroupConstructorOptions (line 23410) | interface TouchBarGroupConstructorOptions {
type TouchBarLabelConstructorOptions (line 23417) | interface TouchBarLabelConstructorOptions {
type TouchBarPopoverConstructorOptions (line 23432) | interface TouchBarPopoverConstructorOptions {
type TouchBarScrubberConstructorOptions (line 23452) | interface TouchBarScrubberConstructorOptions {
type TouchBarSegmentedControlConstructorOptions (line 23490) | interface TouchBarSegmentedControlConstructorOptions {
type TouchBarSliderConstructorOptions (line 23514) | interface TouchBarSliderConstructorOptions {
type TouchBarSpacerConstructorOptions (line 23537) | interface TouchBarSpacerConstructorOptions {
type TraceBufferUsageReturnValue (line 23544) | interface TraceBufferUsageReturnValue {
type UdpPortRange (line 23549) | interface UdpPortRange {
type UpdateTargetUrlEvent (line 23560) | interface UpdateTargetUrlEvent extends DOMEvent {
type UploadProgress (line 23564) | interface UploadProgress {
type UsbDeviceRevokedDetails (line 23585) | interface UsbDeviceRevokedDetails {
type USBProtectedClassesHandlerHandlerDetails (line 23593) | interface USBProtectedClassesHandlerHandlerDetails {
type VibrancyOptions (line 23600) | interface VibrancyOptions {
type VisibleOnAllWorkspacesOptions (line 23608) | interface VisibleOnAllWorkspacesOptions {
type WebContentsAudioStateChangedEventParams (line 23627) | interface WebContentsAudioStateChangedEventParams {
type WebContentsConsoleMessageEventParams (line 23634) | interface WebContentsConsoleMessageEventParams {
type WebContentsDidRedirectNavigationEventParams (line 23658) | interface WebContentsDidRedirectNavigationEventParams {
type WebContentsDidStartNavigationEventParams (line 23687) | interface WebContentsDidStartNavigationEventParams {
type WebContentsPaintEventParams (line 23716) | interface WebContentsPaintEventParams {
type WebContentsPrintOptions (line 23726) | interface WebContentsPrintOptions {
type WebContentsViewConstructorOptions (line 23800) | interface WebContentsViewConstructorOptions {
type WebContentsWillFrameNavigateEventParams (line 23812) | interface WebContentsWillFrameNavigateEventParams {
type WebContentsWillNavigateEventParams (line 23841) | interface WebContentsWillNavigateEventParams {
type WebContentsWillRedirectEventParams (line 23870) | interface WebContentsWillRedirectEventParams {
type WebRTCUDPPortRange (line 23899) | interface WebRTCUDPPortRange {
type WebviewTagPrintOptions (line 23910) | interface WebviewTagPrintOptions {
type WillFrameNavigateEvent (line 23983) | interface WillFrameNavigateEvent extends DOMEvent {
type WillNavigateEvent (line 23990) | interface WillNavigateEvent extends DOMEvent {
type WillResizeDetails (line 23994) | interface WillResizeDetails {
type Animate (line 24002) | interface Animate {
type Children (line 24013) | interface Children {
type EditFlags (line 24016) | interface EditFlags {
type Env (line 24051) | interface Env {
type FeatureReports (line 24054) | interface FeatureReports {
type FoundInPageResult (line 24057) | interface FoundInPageResult {
type InputReports (line 24074) | interface InputReports {
type Interfaces (line 24077) | interface Interfaces {
type LaunchItems (line 24093) | interface LaunchItems {
type Margins (line 24128) | interface Margins {
type MediaFlags (line 24152) | interface MediaFlags {
type Metadata (line 24207) | interface Metadata {
type OutputReports (line 24227) | interface OutputReports {
type PageRanges (line 24230) | interface PageRanges {
type Params (line 24241) | interface Params {
type Planes (line 24359) | interface Planes {
type Video (line 24380) | interface Video {
type Alternate (line 24393) | interface Alternate {
type Alternates (line 24421) | interface Alternates {
type Endpoints (line 24424) | interface Endpoints {
type Event (line 24448) | type Event<Params extends object = {}> = Electron.Event<Params>;
type Clipboard (line 24450) | type Clipboard = Electron.Clipboard;
type CrashReporter (line 24452) | type CrashReporter = Electron.CrashReporter;
type NativeImage (line 24454) | type NativeImage = Electron.NativeImage;
type SharedTexture (line 24456) | type SharedTexture = Electron.SharedTexture;
type Shell (line 24458) | type Shell = Electron.Shell;
type AboutPanelOptionsOptions (line 24459) | type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
type AddRepresentationOptions (line 24460) | type AddRepresentationOptions = Electron.AddRepresentationOptions;
type AdjustSelectionOptions (line 24461) | type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
type AnimationSettings (line 24462) | type AnimationSettings = Electron.AnimationSettings;
type AppDetailsOptions (line 24463) | type AppDetailsOptions = Electron.AppDetailsOptions;
type ApplicationInfoForProtocolReturnValue (line 24464) | type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoFor...
type AuthenticationResponseDetails (line 24465) | type AuthenticationResponseDetails = Electron.AuthenticationResponseDeta...
type AuthInfo (line 24466) | type AuthInfo = Electron.AuthInfo;
type AutoResizeOptions (line 24467) | type AutoResizeOptions = Electron.AutoResizeOptions;
type BeforeSendResponse (line 24468) | type BeforeSendResponse = Electron.BeforeSendResponse;
type BitmapOptions (line 24469) | type BitmapOptions = Electron.BitmapOptions;
type BlinkMemoryInfo (line 24470) | type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
type BluetoothPairingHandlerHandlerDetails (line 24471) | type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHa...
type BoundsOptions (line 24472) | type BoundsOptions = Electron.BoundsOptions;
type BrowserViewConstructorOptions (line 24473) | type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOpti...
type CallbackResponse (line 24474) | type CallbackResponse = Electron.CallbackResponse;
type CertificateTrustDialogOptions (line 24475) | type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOpti...
type ClearCodeCachesOptions (line 24476) | type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
type ClearDataOptions (line 24477) | type ClearDataOptions = Electron.ClearDataOptions;
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 24478) | type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSh...
type ClearStorageDataOptions (line 24479) | type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
type ClientCertRequestParams (line 24480) | type ClientCertRequestParams = Electron.ClientCertRequestParams;
type ClientRequestConstructorOptions (line 24481) | type ClientRequestConstructorOptions = Electron.ClientRequestConstructor...
type CloseOpts (line 24482) | type CloseOpts = Electron.CloseOpts;
type Collections (line 24483) | type Collections = Electron.Collections;
type Config (line 24484) | type Config = Electron.Config;
type Configuration (line 24485) | type Configuration = Electron.Configuration;
type Configurations (line 24486) | type Configurations = Electron.Configurations;
type ConfigureHostResolverOptions (line 24487) | type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
type ConsoleMessageEvent (line 24488) | type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
type ContextMenuEvent (line 24489) | type ContextMenuEvent = Electron.ContextMenuEvent;
type ContextMenuParams (line 24490) | type ContextMenuParams = Electron.ContextMenuParams;
type ContinueActivityDetails (line 24491) | type ContinueActivityDetails = Electron.ContinueActivityDetails;
type CookiesGetFilter (line 24492) | type CookiesGetFilter = Electron.CookiesGetFilter;
type CookiesSetDetails (line 24493) | type CookiesSetDetails = Electron.CookiesSetDetails;
type CrashReporterStartOptions (line 24494) | type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
type CreateFromBitmapOptions (line 24495) | type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
type CreateFromBufferOptions (line 24496) | type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
type CreateInterruptedDownloadOptions (line 24497) | type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownlo...
type Data (line 24498) | type Data = Electron.Data;
type DecryptStringAsyncReturnValue (line 24499) | type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnVa...
type DefaultFontFamily (line 24500) | type DefaultFontFamily = Electron.DefaultFontFamily;
type Details (line 24501) | type Details = Electron.Details;
type DevicePermissionHandlerHandlerDetails (line 24502) | type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHa...
type DevtoolsOpenUrlEvent (line 24503) | type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
type DevtoolsSearchQueryEvent (line 24504) | type DevtoolsSearchQueryEvent = Electron.DevtoolsSearchQueryEvent;
type DidChangeThemeColorEvent (line 24505) | type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
type DidCreateWindowDetails (line 24506) | type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
type DidFailLoadEvent (line 24507) | type DidFailLoadEvent = Electron.DidFailLoadEvent;
type DidFrameFinishLoadEvent (line 24508) | type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent;
type DidFrameNavigateEvent (line 24509) | type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent;
type DidNavigateEvent (line 24510) | type DidNavigateEvent = Electron.DidNavigateEvent;
type DidNavigateInPageEvent (line 24511) | type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent;
type DidRedirectNavigationEvent (line 24512) | type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
type DidStartNavigationEvent (line 24513) | type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
type DisplayBalloonOptions (line 24514) | type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
type DisplayMediaRequestHandlerHandlerRequest (line 24515) | type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaReq...
type DisplayMediaRequestHandlerOpts (line 24516) | type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandle...
type DownloadURLOptions (line 24517) | type DownloadURLOptions = Electron.DownloadURLOptions;
type EnableNetworkEmulationOptions (line 24518) | type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOpti...
type ExecutionScript (line 24519) | type ExecutionScript = Electron.ExecutionScript;
type FeedURLOptions (line 24520) | type FeedURLOptions = Electron.FeedURLOptions;
type FileIconOptions (line 24521) | type FileIconOptions = Electron.FileIconOptions;
type FileSystemAccessRestrictedDetails (line 24522) | type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestri...
type FindInPageOptions (line 24523) | type FindInPageOptions = Electron.FindInPageOptions;
type FocusOptions (line 24524) | type FocusOptions = Electron.FocusOptions;
type ForkOptions (line 24525) | type ForkOptions = Electron.ForkOptions;
type FoundInPageEvent (line 24526) | type FoundInPageEvent = Electron.FoundInPageEvent;
type FrameCreatedDetails (line 24527) | type FrameCreatedDetails = Electron.FrameCreatedDetails;
type FromPartitionOptions (line 24528) | type FromPartitionOptions = Electron.FromPartitionOptions;
type FromPathOptions (line 24529) | type FromPathOptions = Electron.FromPathOptions;
type HandlerDetails (line 24530) | type HandlerDetails = Electron.HandlerDetails;
type HeadersReceivedResponse (line 24531) | type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
type HeapStatistics (line 24532) | type HeapStatistics = Electron.HeapStatistics;
type HidDeviceAddedDetails (line 24533) | type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
type HidDeviceRemovedDetails (line 24534) | type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
type HidDeviceRevokedDetails (line 24535) | type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
type IgnoreMouseEventsOptions (line 24536) | type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
type ImportCertificateOptions (line 24537) | type ImportCertificateOptions = Electron.ImportCertificateOptions;
type ImportSharedTextureOptions (line 24538) | type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
type Info (line 24539) | type Info = Electron.Info;
type Input (line 24540) | type Input = Electron.Input;
type InsertCSSOptions (line 24541) | type InsertCSSOptions = Electron.InsertCSSOptions;
type IpcMessageEvent (line 24542) | type IpcMessageEvent = Electron.IpcMessageEvent;
type Item (line 24543) | type Item = Electron.Item;
type JumpListSettings (line 24544) | type JumpListSettings = Electron.JumpListSettings;
type LoadCommitEvent (line 24545) | type LoadCommitEvent = Electron.LoadCommitEvent;
type LoadExtensionOptions (line 24546) | type LoadExtensionOptions = Electron.LoadExtensionOptions;
type LoadFileOptions (line 24547) | type LoadFileOptions = Electron.LoadFileOptions;
type LoadURLOptions (line 24548) | type LoadURLOptions = Electron.LoadURLOptions;
type LoginAuthenticationResponseDetails (line 24549) | type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationRe...
type LoginItemSettings (line 24550) | type LoginItemSettings = Electron.LoginItemSettings;
type LoginItemSettingsOptions (line 24551) | type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
type MenuItemConstructorOptions (line 24552) | type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
type MessageBoxOptions (line 24553) | type MessageBoxOptions = Electron.MessageBoxOptions;
type MessageBoxReturnValue (line 24554) | type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
type MessageBoxSyncOptions (line 24555) | type MessageBoxSyncOptions = Electron.MessageBoxSyncOptions;
type MessageDetails (line 24556) | type MessageDetails = Electron.MessageDetails;
type MessageEvent (line 24557) | type MessageEvent = Electron.MessageEvent;
type MoveToApplicationsFolderOptions (line 24558) | type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolder...
type NativePixmap (line 24559) | type NativePixmap = Electron.NativePixmap;
type NotificationActionEventParams (line 24560) | type NotificationActionEventParams = Electron.NotificationActionEventPar...
type NotificationCloseEventParams (line 24561) | type NotificationCloseEventParams = Electron.NotificationCloseEventParams;
type NotificationConstructorOptions (line 24562) | type NotificationConstructorOptions = Electron.NotificationConstructorOp...
type NotificationReplyEventParams (line 24563) | type NotificationReplyEventParams = Electron.NotificationReplyEventParams;
type Offscreen (line 24564) | type Offscreen = Electron.Offscreen;
type OnBeforeRedirectListenerDetails (line 24565) | type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListener...
type OnBeforeRequestListenerDetails (line 24566) | type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDe...
type OnBeforeSendHeadersListenerDetails (line 24567) | type OnBeforeSendHeadersListenerDetails = Electron.OnBeforeSendHeadersLi...
type OnCompletedListenerDetails (line 24568) | type OnCompletedListenerDetails = Electron.OnCompletedListenerDetails;
type OnErrorOccurredListenerDetails (line 24569) | type OnErrorOccurredListenerDetails = Electron.OnErrorOccurredListenerDe...
type OnHeadersReceivedListenerDetails (line 24570) | type OnHeadersReceivedListenerDetails = Electron.OnHeadersReceivedListen...
type OnResponseStartedListenerDetails (line 24571) | type OnResponseStartedListenerDetails = Electron.OnResponseStartedListen...
type OnSendHeadersListenerDetails (line 24572) | type OnSendHeadersListenerDetails = Electron.OnSendHeadersListenerDetails;
type OpenDevToolsOptions (line 24573) | type OpenDevToolsOptions = Electron.OpenDevToolsOptions;
type OpenDialogOptions (line 24574) | type OpenDialogOptions = Electron.OpenDialogOptions;
type OpenDialogReturnValue (line 24575) | type OpenDialogReturnValue = Electron.OpenDialogReturnValue;
type OpenDialogSyncOptions (line 24576) | type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
type OpenExternalOptions (line 24577) | type OpenExternalOptions = Electron.OpenExternalOptions;
type Options (line 24578) | type Options = Electron.Options;
type Opts (line 24579) | type Opts = Electron.Opts;
type PageFaviconUpdatedEvent (line 24580) | type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
type PageTitleUpdatedEvent (line 24581) | type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
type Parameters (line 24582) | type Parameters = Electron.Parameters;
type Payment (line 24583) | type Payment = Electron.Payment;
type PermissionCheckHandlerHandlerDetails (line 24584) | type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHand...
type PopupOptions (line 24585) | type PopupOptions = Electron.PopupOptions;
type PowerMonitorSpeedLimitChangeEventParams (line 24586) | type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpee...
type PowerMonitorThermalStateChangeEventParams (line 24587) | type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorTh...
type PreconnectOptions (line 24588) | type PreconnectOptions = Electron.PreconnectOptions;
type PrintToPDFOptions (line 24589) | type PrintToPDFOptions = Electron.PrintToPDFOptions;
type Privileges (line 24590) | type Privileges = Electron.Privileges;
type ProgressBarOptions (line 24591) | type ProgressBarOptions = Electron.ProgressBarOptions;
type Provider (line 24592) | type Provider = Electron.Provider;
type PurchaseProductOpts (line 24593) | type PurchaseProductOpts = Electron.PurchaseProductOpts;
type ReadBookmark (line 24594) | type ReadBookmark = Electron.ReadBookmark;
type ReceivedSharedTextureData (line 24595) | type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
type RegistrationCompletedDetails (line 24596) | type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
type RelaunchOptions (line 24597) | type RelaunchOptions = Electron.RelaunchOptions;
type RenderProcessGoneEvent (line 24598) | type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
type Request (line 24599) | type Request = Electron.Request;
type ResizeOptions (line 24600) | type ResizeOptions = Electron.ResizeOptions;
type ResolveHostOptions (line 24601) | type ResolveHostOptions = Electron.ResolveHostOptions;
type ResourceUsage (line 24602) | type ResourceUsage = Electron.ResourceUsage;
type Response (line 24603) | type Response = Electron.Response;
type RestoreOptions (line 24604) | type RestoreOptions = Electron.RestoreOptions;
type Result (line 24605) | type Result = Electron.Result;
type SaveDialogOptions (line 24606) | type SaveDialogOptions = Electron.SaveDialogOptions;
type SaveDialogReturnValue (line 24607) | type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
type SaveDialogSyncOptions (line 24608) | type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
type SelectHidDeviceDetails (line 24609) | type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
type SelectUsbDeviceDetails (line 24610) | type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
type SendSharedTextureOptions (line 24611) | type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
type SerialPortRevokedDetails (line 24612) | type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
type ServiceWorkersRunningStatusChangedEventParams (line 24613) | type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWor...
type Settings (line 24614) | type Settings = Electron.Settings;
type SharedDictionaryInfoOptions (line 24615) | type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
type SourcesOptions (line 24616) | type SourcesOptions = Electron.SourcesOptions;
type StartLoggingOptions (line 24617) | type StartLoggingOptions = Electron.StartLoggingOptions;
type StartTask (line 24618) | type StartTask = Electron.StartTask;
type Streams (line 24619) | type Streams = Electron.Streams;
type SystemMemoryInfo (line 24620) | type SystemMemoryInfo = Electron.SystemMemoryInfo;
type TextureInfo (line 24621) | type TextureInfo = Electron.TextureInfo;
type TitleBarOverlay (line 24622) | type TitleBarOverlay = Electron.TitleBarOverlay;
type TitleBarOverlayOptions (line 24623) | type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
type TitleOptions (line 24624) | type TitleOptions = Electron.TitleOptions;
type ToBitmapOptions (line 24625) | type ToBitmapOptions = Electron.ToBitmapOptions;
type ToDataURLOptions (line 24626) | type ToDataURLOptions = Electron.ToDataURLOptions;
type ToPNGOptions (line 24627) | type ToPNGOptions = Electron.ToPNGOptions;
type TouchBarButtonConstructorOptions (line 24628) | type TouchBarButtonConstructorOptions = Electron.TouchBarButtonConstruct...
type TouchBarColorPickerConstructorOptions (line 24629) | type TouchBarColorPickerConstructorOptions = Electron.TouchBarColorPicke...
type TouchBarConstructorOptions (line 24630) | type TouchBarConstructorOptions = Electron.TouchBarConstructorOptions;
type TouchBarGroupConstructorOptions (line 24631) | type TouchBarGroupConstructorOptions = Electron.TouchBarGroupConstructor...
type TouchBarLabelConstructorOptions (line 24632) | type TouchBarLabelConstructorOptions = Electron.TouchBarLabelConstructor...
type TouchBarPopoverConstructorOptions (line 24633) | type TouchBarPopoverConstructorOptions = Electron.TouchBarPopoverConstru...
type TouchBarScrubberConstructorOptions (line 24634) | type TouchBarScrubberConstructorOptions = Electron.TouchBarScrubberConst...
type TouchBarSegmentedControlConstructorOptions (line 24635) | type TouchBarSegmentedControlConstructorOptions = Electron.TouchBarSegme...
type TouchBarSliderConstructorOptions (line 24636) | type TouchBarSliderConstructorOptions = Electron.TouchBarSliderConstruct...
type TouchBarSpacerConstructorOptions (line 24637) | type TouchBarSpacerConstructorOptions = Electron.TouchBarSpacerConstruct...
type TraceBufferUsageReturnValue (line 24638) | type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
type UdpPortRange (line 24639) | type UdpPortRange = Electron.UdpPortRange;
type UpdateTargetUrlEvent (line 24640) | type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
type UploadProgress (line 24641) | type UploadProgress = Electron.UploadProgress;
type UsbDeviceRevokedDetails (line 24642) | type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
type USBProtectedClassesHandlerHandlerDetails (line 24643) | type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedCla...
type VibrancyOptions (line 24644) | type VibrancyOptions = Electron.VibrancyOptions;
type VisibleOnAllWorkspacesOptions (line 24645) | type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOpti...
type WebContentsAudioStateChangedEventParams (line 24646) | type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudio...
type WebContentsConsoleMessageEventParams (line 24647) | type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleM...
type WebContentsDidRedirectNavigationEventParams (line 24648) | type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsD...
type WebContentsDidStartNavigationEventParams (line 24649) | type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidS...
type WebContentsPaintEventParams (line 24650) | type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
type WebContentsPrintOptions (line 24651) | type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
type WebContentsViewConstructorOptions (line 24652) | type WebContentsViewConstructorOptions = Electron.WebContentsViewConstru...
type WebContentsWillFrameNavigateEventParams (line 24653) | type WebContentsWillFrameNavigateEventParams = Electron.WebContentsWillF...
type WebContentsWillNavigateEventParams (line 24654) | type WebContentsWillNavigateEventParams = Electron.WebContentsWillNaviga...
type WebContentsWillRedirectEventParams (line 24655) | type WebContentsWillRedirectEventParams = Electron.WebContentsWillRedire...
type WebRTCUDPPortRange (line 24656) | type WebRTCUDPPortRange = Electron.WebRTCUDPPortRange;
type WebviewTagPrintOptions (line 24657) | type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
type WillFrameNavigateEvent (line 24658) | type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
type WillNavigateEvent (line 24659) | type WillNavigateEvent = Electron.WillNavigateEvent;
type WillResizeDetails (line 24660) | type WillResizeDetails = Electron.WillResizeDetails;
type Animate (line 24661) | type Animate = Electron.Animate;
type Children (line 24662) | type Children = Electron.Children;
type EditFlags (line 24663) | type EditFlags = Electron.EditFlags;
type Env (line 24664) | type Env = Electron.Env;
type FeatureReports (line 24665) | type FeatureReports = Electron.FeatureReports;
type FoundInPageResult (line 24666) | type FoundInPageResult = Electron.FoundInPageResult;
type InputReports (line 24667) | type InputReports = Electron.InputReports;
type Interfaces (line 24668) | type Interfaces = Electron.Interfaces;
type LaunchItems (line 24669) | type LaunchItems = Electron.LaunchItems;
type Margins (line 24670) | type Margins = Electron.Margins;
type MediaFlags (line 24671) | type MediaFlags = Electron.MediaFlags;
type Metadata (line 24672) | type Metadata = Electron.Metadata;
type OutputReports (line 24673) | type OutputReports = Electron.OutputReports;
type PageRanges (line 24674) | type PageRanges = Electron.PageRanges;
type Params (line 24675) | type Params = Electron.Params;
type Planes (line 24676) | type Planes = Electron.Planes;
type Video (line 24677) | type Video = Electron.Video;
type Alternate (line 24678) | type Alternate = Electron.Alternate;
type Alternates (line 24679) | type Alternates = Electron.Alternates;
type Endpoints (line 24680) | type Endpoints = Electron.Endpoints;
type BaseWindowConstructorOptions (line 24681) | type BaseWindowConstructorOptions = Electron.BaseWindowConstructorOptions;
type BrowserWindowConstructorOptions (line 24682) | type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructor...
type ActivationArguments (line 24683) | type ActivationArguments = Electron.ActivationArguments;
type BluetoothDevice (line 24684) | type BluetoothDevice = Electron.BluetoothDevice;
type Certificate (line 24685) | type Certificate = Electron.Certificate;
type CertificatePrincipal (line 24686) | type CertificatePrincipal = Electron.CertificatePrincipal;
type ColorSpace (line 24687) | type ColorSpace = Electron.ColorSpace;
type ComponentError (line 24688) | type ComponentError = Electron.ComponentError;
type ComponentResult (line 24689) | type ComponentResult = Electron.ComponentResult;
type ComponentsError (line 24690) | type ComponentsError = Electron.ComponentsError;
type ComponentStatus (line 24691) | type ComponentStatus = Electron.ComponentStatus;
type Cookie (line 24692) | type Cookie = Electron.Cookie;
type CPUUsage (line 24693) | type CPUUsage = Electron.CPUUsage;
type CrashReport (line 24694) | type CrashReport = Electron.CrashReport;
type CustomScheme (line 24695) | type CustomScheme = Electron.CustomScheme;
type DesktopCapturerSource (line 24696) | type DesktopCapturerSource = Electron.DesktopCapturerSource;
type Display (line 24697) | type Display = Electron.Display;
type Extension (line 24698) | type Extension = Electron.Extension;
type ExtensionInfo (line 24699) | type ExtensionInfo = Electron.ExtensionInfo;
type FileFilter (line 24700) | type FileFilter = Electron.FileFilter;
type FilePathWithHeaders (line 24701) | type FilePathWithHeaders = Electron.FilePathWithHeaders;
type FilesystemPermissionRequest (line 24702) | type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
type GPUFeatureStatus (line 24703) | type GPUFeatureStatus = Electron.GPUFeatureStatus;
type HIDDevice (line 24704) | type HIDDevice = Electron.HIDDevice;
type InputEvent (line 24705) | type InputEvent = Electron.InputEvent;
type IpcMainEvent (line 24706) | type IpcMainEvent = Electron.IpcMainEvent;
type IpcMainInvokeEvent (line 24707) | type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
type IpcMainServiceWorkerEvent (line 24708) | type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
type IpcMainServiceWorkerInvokeEvent (line 24709) | type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvo...
type IpcRendererEvent (line 24710) | type IpcRendererEvent = Electron.IpcRendererEvent;
type JumpListCategory (line 24711) | type JumpListCategory = Electron.JumpListCategory;
type JumpListItem (line 24712) | type JumpListItem = Electron.JumpListItem;
type KeyboardEvent (line 24713) | type KeyboardEvent = Electron.KeyboardEvent;
type KeyboardInputEvent (line 24714) | type KeyboardInputEvent = Electron.KeyboardInputEvent;
type MediaAccessPermissionRequest (line 24715) | type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
type MemoryInfo (line 24716) | type MemoryInfo = Electron.MemoryInfo;
type MemoryUsageDetails (line 24717) | type MemoryUsageDetails = Electron.MemoryUsageDetails;
type MimeTypedBuffer (line 24718) | type MimeTypedBuffer = Electron.MimeTypedBuffer;
type MouseInputEvent (line 24719) | type MouseInputEvent = Electron.MouseInputEvent;
type MouseWheelInputEvent (line 24720) | type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
type NavigationEntry (line 24721) | type NavigationEntry = Electron.NavigationEntry;
type NotificationAction (line 24722) | type NotificationAction = Electron.NotificationAction;
type NotificationResponse (line 24723) | type NotificationResponse = Electron.NotificationResponse;
type OffscreenSharedTexture (line 24724) | type OffscreenSharedTexture = Electron.OffscreenSharedTexture;
type OpenExternalPermissionRequest (line 24725) | type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequ...
type PaymentDiscount (line 24726) | type PaymentDiscount = Electron.PaymentDiscount;
type PermissionRequest (line 24727) | type PermissionRequest = Electron.PermissionRequest;
type Point (line 24728) | type Point = Electron.Point;
type PostBody (line 24729) | type PostBody = Electron.PostBody;
type PreloadScript (line 24730) | type PreloadScript = Electron.PreloadScript;
type PreloadScriptRegistration (line 24731) | type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
type PrinterInfo (line 24732) | type PrinterInfo = Electron.PrinterInfo;
type ProcessMemoryInfo (line 24733) | type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
type ProcessMetric (line 24734) | type ProcessMetric = Electron.ProcessMetric;
type Product (line 24735) | type Product = Electron.Product;
type ProductDiscount (line 24736) | type ProductDiscount = Electron.ProductDiscount;
type ProductSubscriptionPeriod (line 24737) | type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
type ProtocolRequest (line 24738) | type ProtocolRequest = Electron.ProtocolRequest;
type ProtocolResponse (line 24739) | type ProtocolResponse = Electron.ProtocolResponse;
type ProtocolResponseUploadData (line 24740) | type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
type ProxyConfig (line 24741) | type ProxyConfig = Electron.ProxyConfig;
type Rectangle (line 24742) | type Rectangle = Electron.Rectangle;
type Referrer (line 24743) | type Referrer = Electron.Referrer;
type RenderProcessGoneDetails (line 24744) | type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
type ResolvedEndpoint (line 24745) | type ResolvedEndpoint = Electron.ResolvedEndpoint;
type ResolvedHost (line 24746) | type ResolvedHost = Electron.ResolvedHost;
type ScrubberItem (line 24747) | type ScrubberItem = Electron.ScrubberItem;
type SegmentedControlSegment (line 24748) | type SegmentedControlSegment = Electron.SegmentedControlSegment;
type SerialPort (line 24749) | type SerialPort = Electron.SerialPort;
type ServiceWorkerInfo (line 24750) | type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
type SharedDictionaryInfo (line 24751) | type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
type SharedDictionaryUsageInfo (line 24752) | type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
type SharedTextureHandle (line 24753) | type SharedTextureHandle = Electron.SharedTextureHandle;
type SharedTextureImported (line 24754) | type SharedTextureImported = Electron.SharedTextureImported;
type SharedTextureImportedSubtle (line 24755) | type SharedTextureImportedSubtle = Electron.SharedTextureImportedSubtle;
type SharedTextureImportTextureInfo (line 24756) | type SharedTextureImportTextureInfo = Electron.SharedTextureImportTextur...
type SharedTextureSubtle (line 24757) | type SharedTextureSubtle = Electron.SharedTextureSubtle;
type SharedTextureSyncToken (line 24758) | type SharedTextureSyncToken = Electron.SharedTextureSyncToken;
type SharedTextureTransfer (line 24759) | type SharedTextureTransfer = Electron.SharedTextureTransfer;
type SharedWorkerInfo (line 24760) | type SharedWorkerInfo = Electron.SharedWorkerInfo;
type SharingItem (line 24761) | type SharingItem = Electron.SharingItem;
type ShortcutDetails (line 24762) | type ShortcutDetails = Electron.ShortcutDetails;
type Size (line 24763) | type Size = Electron.Size;
type Task (line 24764) | type Task = Electron.Task;
type ThumbarButton (line 24765) | type ThumbarButton = Electron.ThumbarButton;
type TraceCategoriesAndOptions (line 24766) | type TraceCategoriesAndOptions = Electron.TraceCategoriesAndOptions;
type TraceConfig (line 24767) | type TraceConfig = Electron.TraceConfig;
type Transaction (line 24768) | type Transaction = Electron.Transaction;
type UploadData (line 24769) | type UploadData = Electron.UploadData;
type UploadFile (line 24770) | type UploadFile = Electron.UploadFile;
type UploadRawData (line 24771) | type UploadRawData = Electron.UploadRawData;
type USBDevice (line 24772) | type USBDevice = Electron.USBDevice;
type UserDefaultTypes (line 24773) | type UserDefaultTypes = Electron.UserDefaultTypes;
type WebPreferences (line 24774) | type WebPreferences = Electron.WebPreferences;
type WebRequestFilter (line 24775) | type WebRequestFilter = Electron.WebRequestFilter;
type WebSource (line 24776) | type WebSource = Electron.WebSource;
type WindowOpenHandlerResponse (line 24777) | type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
type WindowSessionEndEvent (line 24778) | type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
type Event (line 24782) | type Event<Params extends object = {}> = Electron.Event<Params>;
type App (line 24784) | type App = Electron.App;
type AutoUpdater (line 24786) | type AutoUpdater = Electron.AutoUpdater;
class BaseWindow (line 24787) | class BaseWindow extends Electron.BaseWindow {}
class BrowserView (line 24788) | class BrowserView extends Electron.BrowserView {}
class BrowserWindow (line 24789) | class BrowserWindow extends Electron.BrowserWindow {}
type ClientRequest (line 24790) | type ClientRequest = Electron.ClientRequest;
type CommandLine (line 24791) | type CommandLine = Electron.CommandLine;
type Components (line 24793) | type Components = Electron.Components;
type ContentTracing (line 24795) | type ContentTracing = Electron.ContentTracing;
type Cookies (line 24796) | type Cookies = Electron.Cookies;
type Debugger (line 24797) | type Debugger = Electron.Debugger;
type DesktopCapturer (line 24799) | type DesktopCapturer = Electron.DesktopCapturer;
type Dialog (line 24801) | type Dialog = Electron.Dialog;
type Dock (line 24802) | type Dock = Electron.Dock;
type DownloadItem (line 24803) | type DownloadItem = Electron.DownloadItem;
type Extensions (line 24804) | type Extensions = Electron.Extensions;
type GlobalShortcut (line 24806) | type GlobalShortcut = Electron.GlobalShortcut;
class ImageView (line 24807) | class ImageView extends Electron.ImageView {}
type InAppPurchase (line 24809) | type InAppPurchase = Electron.InAppPurchase;
type IncomingMessage (line 24810) | type IncomingMessage = Electron.IncomingMessage;
type IpcMain (line 24812) | type IpcMain = Electron.IpcMain;
class IpcMainServiceWorker (line 24813) | class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
class Menu (line 24814) | class Menu extends Electron.Menu {}
class MenuItem (line 24815) | class MenuItem extends Electron.MenuItem {}
class MessageChannelMain (line 24816) | class MessageChannelMain extends Electron.MessageChannelMain {}
type MessagePortMain (line 24817) | type MessagePortMain = Electron.MessagePortMain;
type NativeTheme (line 24819) | type NativeTheme = Electron.NativeTheme;
type NavigationHistory (line 24820) | type NavigationHistory = Electron.NavigationHistory;
type Net (line 24822) | type Net = Electron.Net;
type NetLog (line 24824) | type NetLog = Electron.NetLog;
class Notification (line 24825) | class Notification extends Electron.Notification {}
type PowerMonitor (line 24827) | type PowerMonitor = Electron.PowerMonitor;
type PowerSaveBlocker (line 24829) | type PowerSaveBlocker = Electron.PowerSaveBlocker;
type Protocol (line 24831) | type Protocol = Electron.Protocol;
type PushNotifications (line 24833) | type PushNotifications = Electron.PushNotifications;
type SafeStorage (line 24835) | type SafeStorage = Electron.SafeStorage;
type Screen (line 24837) | type Screen = Electron.Screen;
type ServiceWorkerMain (line 24838) | type ServiceWorkerMain = Electron.ServiceWorkerMain;
type ServiceWorkers (line 24839) | type ServiceWorkers = Electron.ServiceWorkers;
type Session (line 24841) | type Session = Electron.Session;
class ShareMenu (line 24842) | class ShareMenu extends Electron.ShareMenu {}
type SystemPreferences (line 24844) | type SystemPreferences = Electron.SystemPreferences;
class TouchBar (line 24845) | class TouchBar extends Electron.TouchBar {}
type TouchBarButton (line 24846) | type TouchBarButton = Electron.TouchBarButton;
type TouchBarColorPicker (line 24847) | type TouchBarColorPicker = Electron.TouchBarColorPicker;
type TouchBarGroup (line 24848) | type TouchBarGroup = Electron.TouchBarGroup;
type TouchBarLabel (line 24849) | type TouchBarLabel = Electron.TouchBarLabel;
type TouchBarOtherItemsProxy (line 24850) | type TouchBarOtherItemsProxy = Electron.TouchBarOtherItemsProxy;
type TouchBarPopover (line 24851) | type TouchBarPopover = Electron.TouchBarPopover;
type TouchBarScrubber (line 24852) | type TouchBarScrubber = Electron.TouchBarScrubber;
type TouchBarSegmentedControl (line 24853) | type TouchBarSegmentedControl = Electron.TouchBarSegmentedControl;
type TouchBarSlider (line 24854) | type TouchBarSlider = Electron.TouchBarSlider;
type TouchBarSpacer (line 24855) | type TouchBarSpacer = Electron.TouchBarSpacer;
class Tray (line 24856) | class Tray extends Electron.Tray {}
type UtilityProcess (line 24858) | type UtilityProcess = Electron.UtilityProcess;
class View (line 24859) | class View extends Electron.View {}
type WebContents (line 24861) | type WebContents = Electron.WebContents;
class WebContentsView (line 24862) | class WebContentsView extends Electron.WebContentsView {}
type WebFrameMain (line 24864) | type WebFrameMain = Electron.WebFrameMain;
type WebRequest (line 24865) | type WebRequest = Electron.WebRequest;
type AboutPanelOptionsOptions (line 24866) | type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
type AddRepresentationOptions (line 24867) | type AddRepresentationOptions = Electron.AddRepresentationOptions;
type AdjustSelectionOptions (line 24868) | type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
type AnimationSettings (line 24869) | type AnimationSettings = Electron.AnimationSettings;
type AppDetailsOptions (line 24870) | type AppDetailsOptions = Electron.AppDetailsOptions;
type ApplicationInfoForProtocolReturnValue (line 24871) | type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoFor...
type AuthenticationResponseDetails (line 24872) | type AuthenticationResponseDetails = Electron.AuthenticationResponseDeta...
type AuthInfo (line 24873) | type AuthInfo = Electron.AuthInfo;
type AutoResizeOptions (line 24874) | type AutoResizeOptions = Electron.AutoResizeOptions;
type BeforeSendResponse (line 24875) | type BeforeSendResponse = Electron.BeforeSendResponse;
type BitmapOptions (line 24876) | type BitmapOptions = Electron.BitmapOptions;
type BlinkMemoryInfo (line 24877) | type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
type BluetoothPairingHandlerHandlerDetails (line 24878) | type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHa...
type BoundsOptions (line 24879) | type BoundsOptions = Electron.BoundsOptions;
type BrowserViewConstructorOptions (line 24880) | type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOpti...
type CallbackResponse (line 24881) | type CallbackResponse = Electron.CallbackResponse;
type CertificateTrustDialogOptions (line 24882) | type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOpti...
type ClearCodeCachesOptions (line 24883) | type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
type ClearDataOptions (line 24884) | type ClearDataOptions = Electron.ClearDataOptions;
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 24885) | type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSh...
type ClearStorageDataOptions (line 24886) | type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
type ClientCertRequestParams (line 24887) | type ClientCertRequestParams = Electron.ClientCertRequestParams;
type ClientRequestConstructorOptions (line 24888) | type ClientRequestConstructorOptions = Electron.ClientRequestConstructor...
type CloseOpts (line 24889) | type CloseOpts = Electron.CloseOpts;
type Collections (line 24890) | type Collections = Electron.Collections;
type Config (line 24891) | type Config = Electron.Config;
type Configuration (line 24892) | type Configuration = Electron.Configuration;
type Configurations (line 24893) | type Configurations = Electron.Configurations;
type ConfigureHostResolverOptions (line 24894) | type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
type ConsoleMessageEvent (line 24895) | type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
type ContextMenuEvent (line 24896) | type ContextMenuEvent = Electron.ContextMenuEvent;
type ContextMenuParams (line 24897) | type ContextMenuParams = Electron.ContextMenuParams;
type ContinueActivityDetails (line 24898) | type ContinueActivityDetails = Electron.ContinueActivityDetails;
type CookiesGetFilter (line 24899) | type CookiesGetFilter = Electron.CookiesGetFilter;
type CookiesSetDetails (line 24900) | type CookiesSetDetails = Electron.CookiesSetDetails;
type CrashReporterStartOptions (line 24901) | type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
type CreateFromBitmapOptions (line 24902) | type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
type CreateFromBufferOptions (line 24903) | type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
type CreateInterruptedDownloadOptions (line 24904) | type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownlo...
type Data (line 24905) | type Data = Electron.Data;
type DecryptStringAsyncReturnValue (line 24906) | type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnVa...
type DefaultFontFamily (line 24907) | type DefaultFontFamily = Electron.DefaultFontFamily;
type Details (line 24908) | type Details = Electron.Details;
type DevicePermissionHandlerHandlerDetails (line 24909) | type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHa...
type DevtoolsOpenUrlEvent (line 24910) | type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
type DevtoolsSearchQueryEvent (line 24911) | type DevtoolsSearchQueryEvent = Electron.DevtoolsSearchQueryEvent;
type DidChangeThemeColorEvent (line 24912) | type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
type DidCreateWindowDetails (line 24913) | type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
type DidFailLoadEvent (line 24914) | type DidFailLoadEvent = Electron.DidFailLoadEvent;
type DidFrameFinishLoadEvent (line 24915) | type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent;
type DidFrameNavigateEvent (line 24916) | type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent;
type DidNavigateEvent (line 24917) | type DidNavigateEvent = Electron.DidNavigateEvent;
type DidNavigateInPageEvent (line 24918) | type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent;
type DidRedirectNavigationEvent (line 24919) | type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
type DidStartNavigationEvent (line 24920) | type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
type DisplayBalloonOptions (line 24921) | type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
type DisplayMediaRequestHandlerHandlerRequest (line 24922) | type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaReq...
type DisplayMediaRequestHandlerOpts (line 24923) | type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandle...
type DownloadURLOptions (line 24924) | type DownloadURLOptions = Electron.DownloadURLOptions;
type EnableNetworkEmulationOptions (line 24925) | type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOpti...
type ExecutionScript (line 24926) | type ExecutionScript = Electron.ExecutionScript;
type FeedURLOptions (line 24927) | type FeedURLOptions = Electron.FeedURLOptions;
type FileIconOptions (line 24928) | type FileIconOptions = Electron.FileIconOptions;
type FileSystemAccessRestrictedDetails (line 24929) | type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestri...
type FindInPageOptions (line 24930) | type FindInPageOptions = Electron.FindInPageOptions;
type FocusOptions (line 24931) | type FocusOptions = Electron.FocusOptions;
type ForkOptions (line 24932) | type ForkOptions = Electron.ForkOptions;
type FoundInPageEvent (line 24933) | type FoundInPageEvent = Electron.FoundInPageEvent;
type FrameCreatedDetails (line 24934) | type FrameCreatedDetails = Electron.FrameCreatedDetails;
type FromPartitionOptions (line 24935) | type FromPartitionOptions = Electron.FromPartitionOptions;
type FromPathOptions (line 24936) | type FromPathOptions = Electron.FromPathOptions;
type HandlerDetails (line 24937) | type HandlerDetails = Electron.HandlerDetails;
type HeadersReceivedResponse (line 24938) | type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
type HeapStatistics (line 24939) | type HeapStatistics = Electron.HeapStatistics;
type HidDeviceAddedDetails (line 24940) | type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
type HidDeviceRemovedDetails (line 24941) | type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
type HidDeviceRevokedDetails (line 24942) | type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
type IgnoreMouseEventsOptions (line 24943) | type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
type ImportCertificateOptions (line 24944) | type ImportCertificateOptions = Electron.ImportCertificateOptions;
type ImportSharedTextureOptions (line 24945) | type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
type Info (line 24946) | type Info = Electron.Info;
type Input (line 24947) | type Input = Electron.Input;
type InsertCSSOptions (line 24948) | type InsertCSSOptions = Electron.InsertCSSOptions;
type IpcMessageEvent (line 24949) | type IpcMessageEvent = Electron.IpcMessageEvent;
type Item (line 24950) | type Item = Electron.Item;
type JumpListSettings (line 24951) | type JumpListSettings = Electron.JumpListSettings;
type LoadCommitEvent (line 24952) | type LoadCommitEvent = Electron.LoadCommitEvent;
type LoadExtensionOptions (line 24953) | type LoadExtensionOptions = Electron.LoadExtensionOptions;
type LoadFileOptions (line 24954) | type LoadFileOptions = Electron.LoadFileOptions;
type LoadURLOptions (line 24955) | type LoadURLOptions = Electron.LoadURLOptions;
type LoginAuthenticationResponseDetails (line 24956) | type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationRe...
type LoginItemSettings (line 24957) | type LoginItemSettings = Electron.LoginItemSettings;
type LoginItemSettingsOptions (line 24958) | type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
type MenuItemConstructorOptions (line 24959) | type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
type MessageBoxOptions (line 24960) | type MessageBoxOptions = Electron.MessageBoxOptions;
type MessageBoxReturnValue (line 24961) | type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
type MessageBoxSyncOptions (line 24962) | type MessageBoxSyncOptions = Electron.MessageBoxSyncOptions;
type MessageDetails (line 24963) | type MessageDetails = Electron.MessageDetails;
type MessageEvent (line 24964) | type MessageEvent = Electron.MessageEvent;
type MoveToApplicationsFolderOptions (line 24965) | type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolder...
type NativePixmap (line 24966) | type NativePixmap = Electron.NativePixmap;
type NotificationActionEventParams (line 24967) | type NotificationActionEventParams = Electron.NotificationActionEventPar...
type NotificationCloseEventParams (line 24968) | type NotificationCloseEventParams = Electron.NotificationCloseEventParams;
type NotificationConstructorOptions (line 24969) | type NotificationConstructorOptions = Electron.NotificationConstructorOp...
type NotificationReplyEventParams (line 24970) | type NotificationReplyEventParams = Electron.NotificationReplyEventParams;
type Offscreen (line 24971) | type Offscreen = Electron.Offscreen;
type OnBeforeRedirectListenerDetails (line 24972) | type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListener...
type OnBeforeRequestListenerDetails (line 24973) | type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDe...
type OnBeforeSendHeadersListenerDetails (line 24974) | type OnBeforeSendHeadersListenerDetails = Electron.OnBeforeSendHeadersLi...
type OnCompletedListenerDetails (line 24975) | type OnCompletedListenerDetails = Electron.OnCompletedListenerDetails;
type OnErrorOccurredListenerDetails (line 24976) | type OnErrorOccurredListenerDetails = Electron.OnErrorOccurredListenerDe...
type OnHeadersReceivedListenerDetails (line 24977) | type OnHeadersReceivedListenerDetails = Electron.OnHeadersReceivedListen...
type OnResponseStartedListenerDetails (line 24978) | type OnResponseStartedListenerDetails = Electron.OnResponseStartedListen...
type OnSendHeadersListenerDetails (line 24979) | type OnSendHeadersListenerDetails = Electron.OnSendHeadersListenerDetails;
type OpenDevToolsOptions (line 24980) | type OpenDevToolsOptions = Electron.OpenDevToolsOptions;
type OpenDialogOptions (line 24981) | type OpenDialogOptions = Electron.OpenDialogOptions;
type OpenDialogReturnValue (line 24982) | type OpenDialogReturnValue = Electron.OpenDialogReturnValue;
type OpenDialogSyncOptions (line 24983) | type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
type OpenExternalOptions (line 24984) | type OpenExternalOptions = Electron.OpenExternalOptions;
type Options (line 24985) | type Options = Electron.Options;
type Opts (line 24986) | type Opts = Electron.Opts;
type PageFaviconUpdatedEvent (line 24987) | type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
type PageTitleUpdatedEvent (line 24988) | type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
type Parameters (line 24989) | type Parameters = Electron.Parameters;
type Payment (line 24990) | type Payment = Electron.Payment;
type PermissionCheckHandlerHandlerDetails (line 24991) | type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHand...
type PopupOptions (line 24992) | type PopupOptions = Electron.PopupOptions;
type PowerMonitorSpeedLimitChangeEventParams (line 24993) | type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpee...
type PowerMonitorThermalStateChangeEventParams (line 24994) | type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorTh...
type PreconnectOptions (line 24995) | type PreconnectOptions = Electron.PreconnectOptions;
type PrintToPDFOptions (line 24996) | type PrintToPDFOptions = Electron.PrintToPDFOptions;
type Privileges (line 24997) | type Privileges = Electron.Privileges;
type ProgressBarOptions (line 24998) | type ProgressBarOptions = Electron.ProgressBarOptions;
type Provider (line 24999) | type Provider = Electron.Provider;
type PurchaseProductOpts (line 25000) | type PurchaseProductOpts = Electron.PurchaseProductOpts;
type ReadBookmark (line 25001) | type ReadBookmark = Electron.ReadBookmark;
type ReceivedSharedTextureData (line 25002) | type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
type RegistrationCompletedDetails (line 25003) | type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
type RelaunchOptions (line 25004) | type RelaunchOptions = Electron.RelaunchOptions;
type RenderProcessGoneEvent (line 25005) | type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
type Request (line 25006) | type Request = Electron.Request;
type ResizeOptions (line 25007) | type ResizeOptions = Electron.ResizeOptions;
type ResolveHostOptions (line 25008) | type ResolveHostOptions = Electron.ResolveHostOptions;
type ResourceUsage (line 25009) | type ResourceUsage = Electron.ResourceUsage;
type Response (line 25010) | type Response = Electron.Response;
type RestoreOptions (line 25011) | type RestoreOptions = Electron.RestoreOptions;
type Result (line 25012) | type Result = Electron.Result;
type SaveDialogOptions (line 25013) | type SaveDialogOptions = Electron.SaveDialogOptions;
type SaveDialogReturnValue (line 25014) | type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
type SaveDialogSyncOptions (line 25015) | type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
type SelectHidDeviceDetails (line 25016) | type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
type SelectUsbDeviceDetails (line 25017) | type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
type SendSharedTextureOptions (line 25018) | type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
type SerialPortRevokedDetails (line 25019) | type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
type ServiceWorkersRunningStatusChangedEventParams (line 25020) | type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWor...
type Settings (line 25021) | type Settings = Electron.Settings;
type SharedDictionaryInfoOptions (line 25022) | type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
type SourcesOptions (line 25023) | type SourcesOptions = Electron.SourcesOptions;
type StartLoggingOptions (line 25024) | type StartLoggingOptions = Electron.StartLoggingOptions;
type StartTask (line 25025) | type StartTask = Electron.StartTask;
type Streams (line 25026) | type Streams = Electron.Streams;
type SystemMemoryInfo (line 25027) | type SystemMemoryInfo = Electron.SystemMemoryInfo;
type TextureInfo (line 25028) | type TextureInfo = Electron.TextureInfo;
type TitleBarOverlay (line 25029) | type TitleBarOverlay = Electron.TitleBarOverlay;
type TitleBarOverlayOptions (line 25030) | type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
type TitleOptions (line 25031) | type TitleOptions = Electron.TitleOptions;
type ToBitmapOptions (line 25032) | type ToBitmapOptions = Electron.ToBitmapOptions;
type ToDataURLOptions (line 25033) | type ToDataURLOptions = Electron.ToDataURLOptions;
type ToPNGOptions (line 25034) | type ToPNGOptions = Electron.ToPNGOptions;
type TouchBarButtonConstructorOptions (line 25035) | type TouchBarButtonConstructorOptions = Electron.TouchBarButtonConstruct...
type TouchBarColorPickerConstructorOptions (line 25036) | type TouchBarColorPickerConstructorOptions = Electron.TouchBarColorPicke...
type TouchBarConstructorOptions (line 25037) | type TouchBarConstructorOptions = Electron.TouchBarConstructorOptions;
type TouchBarGroupConstructorOptions (line 25038) | type TouchBarGroupConstructorOptions = Electron.TouchBarGroupConstructor...
type TouchBarLabelConstructorOptions (line 25039) | type TouchBarLabelConstructorOptions = Electron.TouchBarLabelConstructor...
type TouchBarPopoverConstructorOptions (line 25040) | type TouchBarPopoverConstructorOptions = Electron.TouchBarPopoverConstru...
type TouchBarScrubberConstructorOptions (line 25041) | type TouchBarScrubberConstructorOptions = Electron.TouchBarScrubberConst...
type TouchBarSegmentedControlConstructorOptions (line 25042) | type TouchBarSegmentedControlConstructorOptions = Electron.TouchBarSegme...
type TouchBarSliderConstructorOptions (line 25043) | type TouchBarSliderConstructorOptions = Electron.TouchBarSliderConstruct...
type TouchBarSpacerConstructorOptions (line 25044) | type TouchBarSpacerConstructorOptions = Electron.TouchBarSpacerConstruct...
type TraceBufferUsageReturnValue (line 25045) | type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
type UdpPortRange (line 25046) | type UdpPortRange = Electron.UdpPortRange;
type UpdateTargetUrlEvent (line 25047) | type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
type UploadProgress (line 25048) | type UploadProgress = Electron.UploadProgress;
type UsbDeviceRevokedDetails (line 25049) | type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
type USBProtectedClassesHandlerHandlerDetails (line 25050) | type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedCla...
type VibrancyOptions (line 25051) | type VibrancyOptions = Electron.VibrancyOptions;
type VisibleOnAllWorkspacesOptions (line 25052) | type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOpti...
type WebContentsAudioStateChangedEventParams (line 25053) | type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudio...
type WebContentsConsoleMessageEventParams (line 25054) | type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleM...
type WebContentsDidRedirectNavigationEventParams (line 25055) | type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsD...
type WebContentsDidStartNavigationEventParams (line 25056) | type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidS...
type WebContentsPaintEventParams (line 25057) | type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
type WebContentsPrintOptions (line 25058) | type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
type WebContentsViewConstructorOptions (line 25059) | type WebContentsViewConstructorOptions = Electron.WebContentsViewConstru...
type WebContentsWillFrameNavigateEventParams (line 25060) | type WebContentsWillFrameNavigateEventParams = Electron.WebContentsWillF...
type WebContentsWillNavigateEventParams (line 25061) | type WebContentsWillNavigateEventParams = Electron.WebContentsWillNaviga...
type WebContentsWillRedirectEventParams (line 25062) | type WebContentsWillRedirectEventParams = Electron.WebContentsWillRedire...
type WebRTCUDPPortRange (line 25063) | type WebRTCUDPPortRange = Electron.WebRTCUDPPortRange;
type WebviewTagPrintOptions (line 25064) | type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
type WillFrameNavigateEvent (line 25065) | type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
type WillNavigateEvent (line 25066) | type WillNavigateEvent = Electron.WillNavigateEvent;
type WillResizeDetails (line 25067) | type WillResizeDetails = Electron.WillResizeDetails;
type Animate (line 25068) | type Animate = Electron.Animate;
type Children (line 25069) | type Children = Electron.Children;
type EditFlags (line 25070) | type EditFlags = Electron.EditFlags;
type Env (line 25071) | type Env = Electron.Env;
type FeatureReports (line 25072) | type FeatureReports = Electron.FeatureReports;
type FoundInPageResult (line 25073) | type FoundInPageResult = Electron.FoundInPageResult;
type InputReports (line 25074) | type InputReports = Electron.InputReports;
type Interfaces (line 25075) | type Interfaces = Electron.Interfaces;
type LaunchItems (line 25076) | type LaunchItems = Electron.LaunchItems;
type Margins (line 25077) | type Margins = Electron.Margins;
type MediaFlags (line 25078) | type MediaFlags = Electron.MediaFlags;
type Metadata (line 25079) | type Metadata = Electron.Metadata;
type OutputReports (line 25080) | type OutputReports = Electron.OutputReports;
type PageRanges (line 25081) | type PageRanges = Electron.PageRanges;
type Params (line 25082) | type Params = Electron.Params;
type Planes (line 25083) | type Planes = Electron.Planes;
type Video (line 25084) | type Video = Electron.Video;
type Alternate (line 25085) | type Alternate = Electron.Alternate;
type Alternates (line 25086) | type Alternates = Electron.Alternates;
type Endpoints (line 25087) | type Endpoints = Electron.Endpoints;
type BaseWindowConstructorOptions (line 25088) | type BaseWindowConstructorOptions = Electron.BaseWindowConstructorOptions;
type BrowserWindowConstructorOptions (line 25089) | type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructor...
type ActivationArguments (line 25090) | type ActivationArguments = Electron.ActivationArguments;
type BluetoothDevice (line 25091) | type BluetoothDevice = Electron.BluetoothDevice;
type Certificate (line 25092) | type Certificate = Electron.Certificate;
type CertificatePrincipal (line 25093) | type CertificatePrincipal = Electron.CertificatePrincipal;
type ColorSpace (line 25094) | type ColorSpace = Electron.ColorSpace;
type ComponentError (line 25095) | type ComponentError = Electron.ComponentError;
type ComponentResult (line 25096) | type ComponentResult = Electron.ComponentResult;
type ComponentsError (line 25097) | type ComponentsError = Electron.ComponentsError;
type ComponentStatus (line 25098) | type ComponentStatus = Electron.ComponentStatus;
type Cookie (line 25099) | type Cookie = Electron.Cookie;
type CPUUsage (line 25100) | type CPUUsage = Electron.CPUUsage;
type CrashReport (line 25101) | type CrashReport = Electron.CrashReport;
type CustomScheme (line 25102) | type CustomScheme = Electron.CustomScheme;
type DesktopCapturerSource (line 25103) | type DesktopCapturerSource = Electron.DesktopCapturerSource;
type Display (line 25104) | type Display = Electron.Display;
type Extension (line 25105) | type Extension = Electron.Extension;
type ExtensionInfo (line 25106) | type ExtensionInfo = Electron.ExtensionInfo;
type FileFilter (line 25107) | type FileFilter = Electron.FileFilter;
type FilePathWithHeaders (line 25108) | type FilePathWithHeaders = Electron.FilePathWithHeaders;
type FilesystemPermissionRequest (line 25109) | type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
type GPUFeatureStatus (line 25110) | type GPUFeatureStatus = Electron.GPUFeatureStatus;
type HIDDevice (line 25111) | type HIDDevice = Electron.HIDDevice;
type InputEvent (line 25112) | type InputEvent = Electron.InputEvent;
type IpcMainEvent (line 25113) | type IpcMainEvent = Electron.IpcMainEvent;
type IpcMainInvokeEvent (line 25114) | type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
type IpcMainServiceWorkerEvent (line 25115) | type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
type IpcMainServiceWorkerInvokeEvent (line 25116) | type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvo...
type IpcRendererEvent (line 25117) | type IpcRendererEvent = Electron.IpcRendererEvent;
type JumpListCategory (line 25118) | type JumpListCategory = Electron.JumpListCategory;
type JumpListItem (line 25119) | type JumpListItem = Electron.JumpListItem;
type KeyboardEvent (line 25120) | type KeyboardEvent = Electron.KeyboardEvent;
type KeyboardInputEvent (line 25121) | type KeyboardInputEvent = Electron.KeyboardInputEvent;
type MediaAccessPermissionRequest (line 25122) | type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
type MemoryInfo (line 25123) | type MemoryInfo = Electron.MemoryInfo;
type MemoryUsageDetails (line 25124) | type MemoryUsageDetails = Electron.MemoryUsageDetails;
type MimeTypedBuffer (line 25125) | type MimeTypedBuffer = Electron.MimeTypedBuffer;
type MouseInputEvent (line 25126) | type MouseInputEvent = Electron.MouseInputEvent;
type MouseWheelInputEvent (line 25127) | type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
type NavigationEntry (line 25128) | type NavigationEntry = Electron.NavigationEntry;
type NotificationAction (line 25129) | type NotificationAction = Electron.NotificationAction;
type NotificationResponse (line 25130) | type NotificationResponse = Electron.NotificationResponse;
type OffscreenSharedTexture (line 25131) | type OffscreenSharedTexture = Electron.OffscreenSharedTexture;
type OpenExternalPermissionRequest (line 25132) | type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequ...
type PaymentDiscount (line 25133) | type PaymentDiscount = Electron.PaymentDiscount;
type PermissionRequest (line 25134) | type PermissionRequest = Electron.PermissionRequest;
type Point (line 25135) | type Point = Electron.Point;
type PostBody (line 25136) | type PostBody = Electron.PostBody;
type PreloadScript (line 25137) | type PreloadScript = Electron.PreloadScript;
type PreloadScriptRegistration (line 25138) | type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
type PrinterInfo (line 25139) | type PrinterInfo = Electron.PrinterInfo;
type ProcessMemoryInfo (line 25140) | type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
type ProcessMetric (line 25141) | type ProcessMetric = Electron.ProcessMetric;
type Product (line 25142) | type Product = Electron.Product;
type ProductDiscount (line 25143) | type ProductDiscount = Electron.ProductDiscount;
type ProductSubscriptionPeriod (line 25144) | type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
type ProtocolRequest (line 25145) | type ProtocolRequest = Electron.ProtocolRequest;
type ProtocolResponse (line 25146) | type ProtocolResponse = Electron.ProtocolResponse;
type ProtocolResponseUploadData (line 25147) | type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
type ProxyConfig (line 25148) | type ProxyConfig = Electron.ProxyConfig;
type Rectangle (line 25149) | type Rectangle = Electron.Rectangle;
type Referrer (line 25150) | type Referrer = Electron.Referrer;
type RenderProcessGoneDetails (line 25151) | type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
type ResolvedEndpoint (line 25152) | type ResolvedEndpoint = Electron.ResolvedEndpoint;
type ResolvedHost (line 25153) | type ResolvedHost = Electron.ResolvedHost;
type ScrubberItem (line 25154) | type ScrubberItem = Electron.ScrubberItem;
type SegmentedControlSegment (line 25155) | type SegmentedControlSegment = Electron.SegmentedControlSegment;
type SerialPort (line 25156) | type SerialPort = Electron.SerialPort;
type ServiceWorkerInfo (line 25157) | type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
type SharedDictionaryInfo (line 25158) | type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
type SharedDictionaryUsageInfo (line 25159) | type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
type SharedTextureHandle (line 25160) | type SharedTextureHandle = Electron.SharedTextureHandle;
type SharedTextureImported (line 25161) | type SharedTextureImported = Electron.SharedTextureImported;
type SharedTextureImportedSubtle (line 25162) | type SharedTextureImportedSubtle = Electron.SharedTextureImportedSubtle;
type SharedTextureImportTextureInfo (line 25163) | type SharedTextureImportTextureInfo = Electron.SharedTextureImportTextur...
type SharedTextureSubtle (line 25164) | type SharedTextureSubtle = Electron.SharedTextureSubtle;
type SharedTextureSyncToken (line 25165) | type SharedTextureSyncToken = Electron.SharedTextureSyncToken;
type SharedTextureTransfer (line 25166) | type SharedTextureTransfer = Electron.SharedTextureTransfer;
type SharedWorkerInfo (line 25167) | type SharedWorkerInfo = Electron.SharedWorkerInfo;
type SharingItem (line 25168) | type SharingItem = Electron.SharingItem;
type ShortcutDetails (line 25169) | type ShortcutDetails = Electron.ShortcutDetails;
type Size (line 25170) | type Size = Electron.Size;
type Task (line 25171) | type Task = Electron.Task;
type ThumbarButton (line 25172) | type ThumbarButton = Electron.ThumbarButton;
type TraceCategoriesAndOptions (line 25173) | type TraceCategoriesAndOptions = Electron.TraceCategoriesAndOptions;
type TraceConfig (line 25174) | type TraceConfig = Electron.TraceConfig;
type Transaction (line 25175) | type Transaction = Electron.Transaction;
type UploadData (line 25176) | type UploadData = Electron.UploadData;
type UploadFile (line 25177) | type UploadFile = Electron.UploadFile;
type UploadRawData (line 25178) | type UploadRawData = Electron.UploadRawData;
type USBDevice (line 25179) | type USBDevice = Electron.USBDevice;
type UserDefaultTypes (line 25180) | type UserDefaultTypes = Electron.UserDefaultTypes;
type WebPreferences (line 25181) | type WebPreferences = Electron.WebPreferences;
type WebRequestFilter (line 25182) | type WebRequestFilter = Electron.WebRequestFilter;
type WebSource (line 25183) | type WebSource = Electron.WebSource;
type WindowOpenHandlerResponse (line 25184) | type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
type WindowSessionEndEvent (line 25185) | type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
type Event (line 25189) | type Event<Params extends object = {}> = Electron.Event<Params>;
type ContextBridge (line 25191) | type ContextBridge = Electron.ContextBridge;
type IpcRenderer (line 25193) | type IpcRenderer = Electron.IpcRenderer;
type WebFrame (line 25195) | type WebFrame = Electron.WebFrame;
type WebUtils (line 25197) | type WebUtils = Electron.WebUtils;
type WebviewTag (line 25198) | type WebviewTag = Electron.WebviewTag;
type AboutPanelOptionsOptions (line 25199) | type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
type AddRepresentationOptions (line 25200) | type AddRepresentationOptions = Electron.AddRepresentationOptions;
type AdjustSelectionOptions (line 25201) | type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
type AnimationSettings (line 25202) | type AnimationSettings = Electron.AnimationSettings;
type AppDetailsOptions (line 25203) | type AppDetailsOptions = Electron.AppDetailsOptions;
type ApplicationInfoForProtocolReturnValue (line 25204) | type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoFor...
type AuthenticationResponseDetails (line 25205) | type AuthenticationResponseDetails = Electron.AuthenticationResponseDeta...
type AuthInfo (line 25206) | type AuthInfo = Electron.AuthInfo;
type AutoResizeOptions (line 25207) | type AutoResizeOptions = Electron.AutoResizeOptions;
type BeforeSendResponse (line 25208) | type BeforeSendResponse = Electron.BeforeSendResponse;
type BitmapOptions (line 25209) | type BitmapOptions = Electron.BitmapOptions;
type BlinkMemoryInfo (line 25210) | type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
type BluetoothPairingHandlerHandlerDetails (line 25211) | type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHa...
type BoundsOptions (line 25212) | type BoundsOptions = Electron.BoundsOptions;
type BrowserViewConstructorOptions (line 25213) | type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOpti...
type CallbackResponse (line 25214) | type CallbackResponse = Electron.CallbackResponse;
type CertificateTrustDialogOptions (line 25215) | type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOpti...
type ClearCodeCachesOptions (line 25216) | type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
type ClearDataOptions (line 25217) | type ClearDataOptions = Electron.ClearDataOptions;
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 25218) | type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSh...
type ClearStorageDataOptions (line 25219) | type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
type ClientCertRequestParams (line 25220) | type ClientCertRequestParams = Electron.ClientCertRequestParams;
type ClientRequestConstructorOptions (line 25221) | type ClientRequestConstructorOptions = Electron.ClientRequestConstructor...
type CloseOpts (line 25222) | type CloseOpts = Electron.CloseOpts;
type Collections (line 25223) | type Collections = Electron.Collections;
type Config (line 25224) | type Config = Electron.Config;
type Configuration (line 25225) | type Configuration = Electron.Configuration;
type Configurations (line 25226) | type Configurations = Electron.Configurations;
type ConfigureHostResolverOptions (line 25227) | type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
type ConsoleMessageEvent (line 25228) | type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
type ContextMenuEvent (line 25229) | type ContextMenuEvent = Electron.ContextMenuEvent;
type ContextMenuParams (line 25230) | type ContextMenuParams = Electron.ContextMenuParams;
type ContinueActivityDetails (line 25231) | type ContinueActivityDetails = Electron.ContinueActivityDetails;
type CookiesGetFilter (line 25232) | type CookiesGetFilter = Electron.CookiesGetFilter;
type CookiesSetDetails (line 25233) | type CookiesSetDetails = Electron.CookiesSetDetails;
type CrashReporterStartOptions (line 25234) | type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
type CreateFromBitmapOptions (line 25235) | type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
type CreateFromBufferOptions (line 25236) | type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
type CreateInterruptedDownloadOptions (line 25237) | type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownlo...
type Data (line 25238) | type Data = Electron.Data;
type DecryptStringAsyncReturnValue (line 25239) | type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnVa...
type DefaultFontFamily (line 25240) | type DefaultFontFamily = Electron.DefaultFontFamily;
type Details (line 25241) | type Details = Electron.Details;
type DevicePermissionHandlerHandlerDetails (line 25242) | type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHa...
type DevtoolsOpenUrlEvent (line 25243) | type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
type DevtoolsSearchQueryEvent (line 25244) | type DevtoolsSearchQueryEvent = Electron.DevtoolsSearchQueryEvent;
type DidChangeThemeColorEvent (line 25245) | type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
type DidCreateWindowDetails (line 25246) | type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
type DidFailLoadEvent (line 25247) | type DidFailLoadEvent = Electron.DidFailLoadEvent;
type DidFrameFinishLoadEvent (line 25248) | type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent;
type DidFrameNavigateEvent (line 25249) | type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent;
type DidNavigateEvent (line 25250) | type DidNavigateEvent = Electron.DidNavigateEvent;
type DidNavigateInPageEvent (line 25251) | type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent;
type DidRedirectNavigationEvent (line 25252) | type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
type DidStartNavigationEvent (line 25253) | type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
type DisplayBalloonOptions (line 25254) | type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
type DisplayMediaRequestHandlerHandlerRequest (line 25255) | type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaReq...
type DisplayMediaRequestHandlerOpts (line 25256) | type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandle...
type DownloadURLOptions (line 25257) | type DownloadURLOptions = Electron.DownloadURLOptions;
type EnableNetworkEmulationOptions (line 25258) | type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOpti...
type ExecutionScript (line 25259) | type ExecutionScript = Electron.ExecutionScript;
type FeedURLOptions (line 25260) | type FeedURLOptions = Electron.FeedURLOptions;
type FileIconOptions (line 25261) | type FileIconOptions = Electron.FileIconOptions;
type FileSystemAccessRestrictedDetails (line 25262) | type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestri...
type FindInPageOptions (line 25263) | type FindInPageOptions = Electron.FindInPageOptions;
type FocusOptions (line 25264) | type FocusOptions = Electron.FocusOptions;
type ForkOptions (line 25265) | type ForkOptions = Electron.ForkOptions;
type FoundInPageEvent (line 25266) | type FoundInPageEvent = Electron.FoundInPageEvent;
type FrameCreatedDetails (line 25267) | type FrameCreatedDetails = Electron.FrameCreatedDetails;
type FromPartitionOptions (line 25268) | type FromPartitionOptions = Electron.FromPartitionOptions;
type FromPathOptions (line 25269) | type FromPathOptions = Electron.FromPathOptions;
type HandlerDetails (line 25270) | type HandlerDetails = Electron.HandlerDetails;
type HeadersReceivedResponse (line 25271) | type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
type HeapStatistics (line 25272) | type HeapStatistics = Electron.HeapStatistics;
type HidDeviceAddedDetails (line 25273) | type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
type HidDeviceRemovedDetails (line 25274) | type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
type HidDeviceRevokedDetails (line 25275) | type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
type IgnoreMouseEventsOptions (line 25276) | type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
type ImportCertificateOptions (line 25277) | type ImportCertificateOptions = Electron.ImportCertificateOptions;
type ImportSharedTextureOptions (line 25278) | type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
type Info (line 25279) | type Info = Electron.Info;
type Input (line 25280) | type Input = Electron.Input;
type InsertCSSOptions (line 25281) | type InsertCSSOptions = Electron.InsertCSSOptions;
type IpcMessageEvent (line 25282) | type IpcMessageEvent = Electron.IpcMessageEvent;
type Item (line 25283) | type Item = Electron.Item;
type JumpListSettings (line 25284) | type JumpListSettings = Electron.JumpListSettings;
type LoadCommitEvent (line 25285) | type LoadCommitEvent = Electron.LoadCommitEvent;
type LoadExtensionOptions (line 25286) | type LoadExtensionOptions = Electron.LoadExtensionOptions;
type LoadFileOptions (line 25287) | type LoadFileOptions = Electron.LoadFileOptions;
type LoadURLOptions (line 25288) | type LoadURLOptions = Electron.LoadURLOptions;
type LoginAuthenticationResponseDetails (line 25289) | type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationRe...
type LoginItemSettings (line 25290) | type LoginItemSettings = Electron.LoginItemSettings;
type LoginItemSettingsOptions (line 25291) | type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
type MenuItemConstructorOptions (line 25292) | type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
type MessageBoxOptions (line 25293) | type MessageBoxOptions = Electron.MessageBoxOptions;
type MessageBoxReturnValue (line 25294) | type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
type MessageBoxSyncOptions (line 25295) | type MessageBoxSyncOptions = Electron.MessageBoxSyncOptions;
type MessageDetails (line 25296) | type MessageDetails = Electron.MessageDetails;
type MessageEvent (line 25297) | type MessageEvent = Electron.MessageEvent;
type MoveToApplicationsFolderOptions (line 25298) | type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolder...
type NativePixmap (line 25299) | type NativePixmap = Electron.NativePixmap;
type NotificationActionEventParams (line 25300) | type NotificationActionEventParams = Electron.NotificationActionEventPar...
type NotificationCloseEventParams (line 25301) | type NotificationCloseEventParams = Electron.NotificationCloseEventParams;
type NotificationConstructorOptions (line 25302) | type NotificationConstructorOptions = Electron.NotificationConstructorOp...
type NotificationReplyEventParams (line 25303) | type NotificationReplyEventParams = Electron.NotificationReplyEventParams;
type Offscreen (line 25304) | type Offscreen = Electron.Offscreen;
type OnBeforeRedirectListenerDetails (line 25305) | type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListener...
type OnBeforeRequestListenerDetails (line 25306) | type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDe...
type OnBeforeSendHeadersListenerDetails (line 25307) | type OnBeforeSendHeadersListenerDetails = Electron.OnBeforeSendHeadersLi...
type OnCompletedListenerDetails (line 25308) | type OnCompletedListenerDetails = Electron.OnCompletedListenerDetails;
type OnErrorOccurredListenerDetails (line 25309) | type OnErrorOccurredListenerDetails = Electron.OnErrorOccurredListenerDe...
type OnHeadersReceivedListenerDetails (line 25310) | type OnHeadersReceivedListenerDetails = Electron.OnHeadersReceivedListen...
type OnResponseStartedListenerDetails (line 25311) | type OnResponseStartedListenerDetails = Electron.OnResponseStartedListen...
type OnSendHeadersListenerDetails (line 25312) | type OnSendHeadersListenerDetails = Electron.OnSendHeadersListenerDetails;
type OpenDevToolsOptions (line 25313) | type OpenDevToolsOptions = Electron.OpenDevToolsOptions;
type OpenDialogOptions (line 25314) | type OpenDialogOptions = Electron.OpenDialogOptions;
type OpenDialogReturnValue (line 25315) | type OpenDialogReturnValue = Electron.OpenDialogReturnValue;
type OpenDialogSyncOptions (line 25316) | type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
type OpenExternalOptions (line 25317) | type OpenExternalOptions = Electron.OpenExternalOptions;
type Options (line 25318) | type Options = Electron.Options;
type Opts (line 25319) | type Opts = Electron.Opts;
type PageFaviconUpdatedEvent (line 25320) | type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
type PageTitleUpdatedEvent (line 25321) | type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
type Parameters (line 25322) | type Parameters = Electron.Parameters;
type Payment (line 25323) | type Payment = Electron.Payment;
type PermissionCheckHandlerHandlerDetails (line 25324) | type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHand...
type PopupOptions (line 25325) | type PopupOptions = Electron.PopupOptions;
type PowerMonitorSpeedLimitChangeEventParams (line 25326) | type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpee...
type PowerMonitorThermalStateChangeEventParams (line 25327) | type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorTh...
type PreconnectOptions (line 25328) | type PreconnectOptions = Electron.PreconnectOptions;
type PrintToPDFOptions (line 25329) | type PrintToPDFOptions = Electron.PrintToPDFOptions;
type Privileges (line 25330) | type Privileges = Electron.Privileges;
type ProgressBarOptions (line 25331) | type ProgressBarOptions = Electron.ProgressBarOptions;
type Provider (line 25332) | type Provider = Electron.Provider;
type PurchaseProductOpts (line 25333) | type PurchaseProductOpts = Electron.PurchaseProductOpts;
type ReadBookmark (line 25334) | type ReadBookmark = Electron.ReadBookmark;
type ReceivedSharedTextureData (line 25335) | type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
type RegistrationCompletedDetails (line 25336) | type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
type RelaunchOptions (line 25337) | type RelaunchOptions = Electron.RelaunchOptions;
type RenderProcessGoneEvent (line 25338) | type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
type Request (line 25339) | type Request = Electron.Request;
type ResizeOptions (line 25340) | type ResizeOptions = Electron.ResizeOptions;
type ResolveHostOptions (line 25341) | type ResolveHostOptions = Electron.ResolveHostOptions;
type ResourceUsage (line 25342) | type ResourceUsage = Electron.ResourceUsage;
type Response (line 25343) | type Response = Electron.Response;
type RestoreOptions (line 25344) | type RestoreOptions = Electron.RestoreOptions;
type Result (line 25345) | type Result = Electron.Result;
type SaveDialogOptions (line 25346) | type SaveDialogOptions = Electron.SaveDialogOptions;
type SaveDialogReturnValue (line 25347) | type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
type SaveDialogSyncOptions (line 25348) | type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
type SelectHidDeviceDetails (line 25349) | type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
type SelectUsbDeviceDetails (line 25350) | type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
type SendSharedTextureOptions (line 25351) | type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
type SerialPortRevokedDetails (line 25352) | type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
type ServiceWorkersRunningStatusChangedEventParams (line 25353) | type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWor...
type Settings (line 25354) | type Settings = Electron.Settings;
type SharedDictionaryInfoOptions (line 25355) | type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
type SourcesOptions (line 25356) | type SourcesOptions = Electron.SourcesOptions;
type StartLoggingOptions (line 25357) | type StartLoggingOptions = Electron.StartLoggingOptions;
type StartTask (line 25358) | type StartTask = Electron.StartTask;
type Streams (line 25359) | type Streams = Electron.Streams;
type SystemMemoryInfo (line 25360) | type SystemMemoryInfo = Electron.SystemMemoryInfo;
type TextureInfo (line 25361) | type TextureInfo = Electron.TextureInfo;
type TitleBarOverlay (line 25362) | type TitleBarOverlay = Electron.TitleBarOverlay;
type TitleBarOverlayOptions (line 25363) | type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
type TitleOptions (line 25364) | type TitleOptions = Electron.TitleOptions;
type ToBitmapOptions (line 25365) | type ToBitmapOptions = Electron.ToBitmapOptions;
type ToDataURLOptions (line 25366) | type ToDataURLOptions = Electron.ToDataURLOptions;
type ToPNGOptions (line 25367) | type ToPNGOptions = Electron.ToPNGOptions;
type TouchBarButtonConstructorOptions (line 25368) | type TouchBarButtonConstructorOptions = Electron.TouchBarButtonConstruct...
type TouchBarColorPickerConstructorOptions (line 25369) | type TouchBarColorPickerConstructorOptions = Electron.TouchBarColorPicke...
type TouchBarConstructorOptions (line 25370) | type TouchBarConstructorOptions = Electron.TouchBarConstructorOptions;
type TouchBarGroupConstructorOptions (line 25371) | type TouchBarGroupConstructorOptions = Electron.TouchBarGroupConstructor...
type TouchBarLabelConstructorOptions (line 25372) | type TouchBarLabelConstructorOptions = Electron.TouchBarLabelConstructor...
type TouchBarPopoverConstructorOptions (line 25373) | type TouchBarPopoverConstructorOptions = Electron.TouchBarPopoverConstru...
type TouchBarScrubberConstructorOptions (line 25374) | type TouchBarScrubberConstructorOptions = Electron.TouchBarScrubberConst...
type TouchBarSegmentedControlConstructorOptions (line 25375) | type TouchBarSegmentedControlConstructorOptions = Electron.TouchBarSegme...
type TouchBarSliderConstructorOptions (line 25376) | type TouchBarSliderConstructorOptions = Electron.TouchBarSliderConstruct...
type TouchBarSpacerConstructorOptions (line 25377) | type TouchBarSpacerConstructorOptions = Electron.TouchBarSpacerConstruct...
type TraceBufferUsageReturnValue (line 25378) | type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
type UdpPortRange (line 25379) | type UdpPortRange = Electron.UdpPortRange;
type UpdateTargetUrlEvent (line 25380) | type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
type UploadProgress (line 25381) | type UploadProgress = Electron.UploadProgress;
type UsbDeviceRevokedDetails (line 25382) | type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
type USBProtectedClassesHandlerHandlerDetails (line 25383) | type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedCla...
type VibrancyOptions (line 25384) | type VibrancyOptions = Electron.VibrancyOptions;
type VisibleOnAllWorkspacesOptions (line 25385) | type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOpti...
type WebContentsAudioStateChangedEventParams (line 25386) | type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudio...
type WebContentsConsoleMessageEventParams (line 25387) | type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleM...
type WebContentsDidRedirectNavigationEventParams (line 25388) | type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsD...
type WebContentsDidStartNavigationEventParams (line 25389) | type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidS...
type WebContentsPaintEventParams (line 25390) | type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
type WebContentsPrintOptions (line 25391) | type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
type WebContentsViewConstructorOptions (line 25392) | type WebContentsViewConstructorOptions = Electron.WebContentsViewConstru...
type WebContentsWillFrameNavigateEventParams (line 25393) | type WebContentsWillFrameNavigateEventParams = Electron.WebContentsWillF...
type WebContentsWillNavigateEventParams (line 25394) | type WebContentsWillNavigateEventParams = Electron.WebContentsWillNaviga...
type WebContentsWillRedirectEventParams (line 25395) | type WebContentsWillRedirectEventParams = Electron.WebContentsWillRedire...
type WebRTCUDPPortRange (line 25396) | type WebRTCUDPPortRange = Electron.WebRTCUDPPortRange;
type WebviewTagPrintOptions (line 25397) | type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
type WillFrameNavigateEvent (line 25398) | type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
type WillNavigateEvent (line 25399) | type WillNavigateEvent = Electron.WillNavigateEvent;
type WillResizeDetails (line 25400) | type WillResizeDetails = Electron.WillResizeDetails;
type Animate (line 25401) | type Animate = Electron.Animate;
type Children (line 25402) | type Children = Electron.Children;
type EditFlags (line 25403) | type EditFlags = Electron.EditFlags;
type Env (line 25404) | type Env = Electron.Env;
type FeatureReports (line 25405) | type FeatureReports = Electron.FeatureReports;
type FoundInPageResult (line 25406) | type FoundInPageResult = Electron.FoundInPageResult;
type InputReports (line 25407) | type InputReports = Electron.InputReports;
type Interfaces (line 25408) | type Interfaces = Electron.Interfaces;
type LaunchItems (line 25409) | type LaunchItems = Electron.LaunchItems;
type Margins (line 25410) | type Margins = Electron.Margins;
type MediaFlags (line 25411) | type MediaFlags = Electron.MediaFlags;
type Metadata (line 25412) | type Metadata = Electron.Metadata;
type OutputReports (line 25413) | type OutputReports = Electron.OutputReports;
type PageRanges (line 25414) | type PageRanges = Electron.PageRanges;
type Params (line 25415) | type Params = Electron.Params;
type Planes (line 25416) | type Planes = Electron.Planes;
type Video (line 25417) | type Video = Electron.Video;
type Alternate (line 25418) | type Alternate = Electron.Alternate;
type Alternates (line 25419) | type Alternates = Electron.Alternates;
type Endpoints (line 25420) | type Endpoints = Electron.Endpoints;
type BaseWindowConstructorOptions (line 25421) | type BaseWindowConstructorOptions = Electron.BaseWindowConstructorOptions;
type BrowserWindowConstructorOptions (line 25422) | type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructor...
type ActivationArguments (line 25423) | type ActivationArguments = Electron.ActivationArguments;
type BluetoothDevice (line 25424) | type BluetoothDevice = Electron.BluetoothDevice;
type Certificate (line 25425) | type Certificate = Electron.Certificate;
type CertificatePrincipal (line 25426) | type CertificatePrincipal = Electron.CertificatePrincipal;
type ColorSpace (line 25427) | type ColorSpace = Electron.ColorSpace;
type ComponentError (line 25428) | type ComponentError = Electron.ComponentError;
type ComponentResult (line 25429) | type ComponentResult = Electron.ComponentResult;
type ComponentsError (line 25430) | type ComponentsError = Electron.ComponentsError;
type ComponentStatus (line 25431) | type ComponentStatus = Electron.ComponentStatus;
type Cookie (line 25432) | type Cookie = Electron.Cookie;
type CPUUsage (line 25433) | type CPUUsage = Electron.CPUUsage;
type CrashReport (line 25434) | type CrashReport = Electron.CrashReport;
type CustomScheme (line 25435) | type CustomScheme = Electron.CustomScheme;
type DesktopCapturerSource (line 25436) | type DesktopCapturerSource = Electron.DesktopCapturerSource;
type Display (line 25437) | type Display = Electron.Display;
type Extension (line 25438) | type Extension = Electron.Extension;
type ExtensionInfo (line 25439) | type ExtensionInfo = Electron.ExtensionInfo;
type FileFilter (line 25440) | type FileFilter = Electron.FileFilter;
type FilePathWithHeaders (line 25441) | type FilePathWithHeaders = Electron.FilePathWithHeaders;
type FilesystemPermissionRequest (line 25442) | type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
type GPUFeatureStatus (line 25443) | type GPUFeatureStatus = Electron.GPUFeatureStatus;
type HIDDevice (line 25444) | type HIDDevice = Electron.HIDDevice;
type InputEvent (line 25445) | type InputEvent = Electron.InputEvent;
type IpcMainEvent (line 25446) | type IpcMainEvent = Electron.IpcMainEvent;
type IpcMainInvokeEvent (line 25447) | type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
type IpcMainServiceWorkerEvent (line 25448) | type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
type IpcMainServiceWorkerInvokeEvent (line 25449) | type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvo...
type IpcRendererEvent (line 25450) | type IpcRendererEvent = Electron.IpcRendererEvent;
type JumpListCategory (line 25451) | type JumpListCategory = Electron.JumpListCategory;
type JumpListItem (line 25452) | type JumpListItem = Electron.JumpListItem;
type KeyboardEvent (line 25453) | type KeyboardEvent = Electron.KeyboardEvent;
type KeyboardInputEvent (line 25454) | type KeyboardInputEvent = Electron.KeyboardInputEvent;
type MediaAccessPermissionRequest (line 25455) | type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
type MemoryInfo (line 25456) | type MemoryInfo = Electron.MemoryInfo;
type MemoryUsageDetails (line 25457) | type MemoryUsageDetails = Electron.MemoryUsageDetails;
type MimeTypedBuffer (line 25458) | type MimeTypedBuffer = Electron.MimeTypedBuffer;
type MouseInputEvent (line 25459) | type MouseInputEvent = Electron.MouseInputEvent;
type MouseWheelInputEvent (line 25460) | type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
type NavigationEntry (line 25461) | type NavigationEntry = Electron.NavigationEntry;
type NotificationAction (line 25462) | type NotificationAction = Electron.NotificationAction;
type NotificationResponse (line 25463) | type NotificationResponse = Electron.NotificationResponse;
type OffscreenSharedTexture (line 25464) | type OffscreenSharedTexture = Electron.OffscreenSharedTexture;
type OpenExternalPermissionRequest (line 25465) | type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequ...
type PaymentDiscount (line 25466) | type PaymentDiscount = Electron.PaymentDiscount;
type PermissionRequest (line 25467) | type PermissionRequest = Electron.PermissionRequest;
type Point (line 25468) | type Point = Electron.Point;
type PostBody (line 25469) | type PostBody = Electron.PostBody;
type PreloadScript (line 25470) | type PreloadScript = Electron.PreloadScript;
type PreloadScriptRegistration (line 25471) | type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
type PrinterInfo (line 25472) | type PrinterInfo = Electron.PrinterInfo;
type ProcessMemoryInfo (line 25473) | type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
type ProcessMetric (line 25474) | type ProcessMetric = Electron.ProcessMetric;
type Product (line 25475) | type Product = Electron.Product;
type ProductDiscount (line 25476) | type ProductDiscount = Electron.ProductDiscount;
type ProductSubscriptionPeriod (line 25477) | type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
type ProtocolRequest (line 25478) | type ProtocolRequest = Electron.ProtocolRequest;
type ProtocolResponse (line 25479) | type ProtocolResponse = Electron.ProtocolResponse;
type ProtocolResponseUploadData (line 25480) | type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
type ProxyConfig (line 25481) | type ProxyConfig = Electron.ProxyConfig;
type Rectangle (line 25482) | type Rectangle = Electron.Rectangle;
type Referrer (line 25483) | type Referrer = Electron.Referrer;
type RenderProcessGoneDetails (line 25484) | type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
type ResolvedEndpoint (line 25485) | type ResolvedEndpoint = Electron.ResolvedEndpoint;
type ResolvedHost (line 25486) | type ResolvedHost = Electron.ResolvedHost;
type ScrubberItem (line 25487) | type ScrubberItem = Electron.ScrubberItem;
type SegmentedControlSegment (line 25488) | type SegmentedControlSegment = Electron.SegmentedControlSegment;
type SerialPort (line 25489) | type SerialPort = Electron.SerialPort;
type ServiceWorkerInfo (line 25490) | type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
type SharedDictionaryInfo (line 25491) | type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
type SharedDictionaryUsageInfo (line 25492) | type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
type SharedTextureHandle (line 25493) | type SharedTextureHandle = Electron.SharedTextureHandle;
type SharedTextureImported (line 25494) | type SharedTextureImported = Electron.SharedTextureImported;
type SharedTextureImportedSubtle (line 25495) | type SharedTextureImportedSubtle = Electron.SharedTextureImportedSubtle;
type SharedTextureImportTextureInfo (line 25496) | type SharedTextureImportTextureInfo = Electron.SharedTextureImportTextur...
type SharedTextureSubtle (line 25497) | type SharedTextureSubtle = Electron.SharedTextureSubtle;
type SharedTextureSyncToken (line 25498) | type SharedTextureSyncToken = Electron.SharedTextureSyncToken;
type SharedTextureTransfer (line 25499) | type SharedTextureTransfer = Electron.SharedTextureTransfer;
type SharedWorkerInfo (line 25500) | type SharedWorkerInfo = Electron.SharedWorkerInfo;
type SharingItem (line 25501) | type SharingItem = Electron.SharingItem;
type ShortcutDetails (line 25502) | type ShortcutDetails = Electron.ShortcutDetails;
type Size (line 25503) | type Size = Electron.Size;
type Task (line 25504) | type Task = Electron.Task;
type ThumbarButton (line 25505) | type ThumbarButton = Electron.ThumbarButton;
type TraceCategoriesAndOptions (line 25506) | type TraceCategoriesAndOptions = Electron.TraceCategoriesAndOptions;
type TraceConfig (line 25507) | type TraceConfig = Electron.TraceConfig;
type Transaction (line 25508) | type Transaction = Electron.Transaction;
type UploadData (line 25509) | type UploadData = Electron.UploadData;
type UploadFile (line 25510) | type UploadFile = Electron.UploadFile;
type UploadRawData (line 25511) | type UploadRawData = Electron.UploadRawData;
type USBDevice (line 25512) | type USBDevice = Electron.USBDevice;
type UserDefaultTypes (line 25513) | type UserDefaultTypes = Electron.UserDefaultTypes;
type WebPreferences (line 25514) | type WebPreferences = Electron.WebPreferences;
type WebRequestFilter (line 25515) | type WebRequestFilter = Electron.WebRequestFilter;
type WebSource (line 25516) | type WebSource = Electron.WebSource;
type WindowOpenHandlerResponse (line 25517) | type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
type WindowSessionEndEvent (line 25518) | type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
type Event (line 25522) | type Event<Params extends object = {}> = Electron.Event<Params>;
type ClientRequest (line 25523) | type ClientRequest = Electron.ClientRequest;
type IncomingMessage (line 25524) | type IncomingMessage = Electron.IncomingMessage;
type Net (line 25526) | type Net = Electron.Net;
type ParentPort (line 25528) | type ParentPort = Electron.ParentPort;
type SystemPreferences (line 25530) | type SystemPreferences = Electron.SystemPreferences;
type AboutPanelOptionsOptions (line 25531) | type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
type AddRepresentationOptions (line 25532) | type AddRepresentationOptions = Electron.AddRepresentationOptions;
type AdjustSelectionOptions (line 25533) | type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
type AnimationSettings (line 25534) | type AnimationSettings = Electron.AnimationSettings;
type AppDetailsOptions (line 25535) | type AppDetailsOptions = Electron.AppDetailsOptions;
type ApplicationInfoForProtocolReturnValue (line 25536) | type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoFor...
type AuthenticationResponseDetails (line 25537) | type AuthenticationResponseDetails = Electron.AuthenticationResponseDeta...
type AuthInfo (line 25538) | type AuthInfo = Electron.AuthInfo;
type AutoResizeOptions (line 25539) | type AutoResizeOptions = Electron.AutoResizeOptions;
type BeforeSendResponse (line 25540) | type BeforeSendResponse = Electron.BeforeSendResponse;
type BitmapOptions (line 25541) | type BitmapOptions = Electron.BitmapOptions;
type BlinkMemoryInfo (line 25542) | type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
type BluetoothPairingHandlerHandlerDetails (line 25543) | type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHa...
type BoundsOptions (line 25544) | type BoundsOptions = Electron.BoundsOptions;
type BrowserViewConstructorOptions (line 25545) | type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOpti...
type CallbackResponse (line 25546) | type CallbackResponse = Electron.CallbackResponse;
type CertificateTrustDialogOptions (line 25547) | type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOpti...
type ClearCodeCachesOptions (line 25548) | type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
type ClearDataOptions (line 25549) | type ClearDataOptions = Electron.ClearDataOptions;
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 25550) | type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSh...
type ClearStorageDataOptions (line 25551) | type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
type ClientCertRequestParams (line 25552) | type ClientCertRequestParams = Electron.ClientCertRequestParams;
type ClientRequestConstructorOptions (line 25553) | type ClientRequestConstructorOptions = Electron.ClientRequestConstructor...
type CloseOpts (line 25554) | type CloseOpts = Electron.CloseOpts;
type Collections (line 25555) | type Collections = Electron.Collections;
type Config (line 25556) | type Config = Electron.Config;
type Configuration (line 25557) | type Configuration = Electron.Configuration;
type Configurations (line 25558) | type Configurations = Electron.Configurations;
type ConfigureHostResolverOptions (line 25559) | type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
type ConsoleMessageEvent (line 25560) | type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
type ContextMenuEvent (line 25561) | type ContextMenuEvent = Electron.ContextMenuEvent;
type ContextMenuParams (line 25562) | type ContextMenuParams = Electron.ContextMenuParams;
type ContinueActivityDetails (line 25563) | type ContinueActivityDetails = Electron.ContinueActivityDetails;
type CookiesGetFilter (line 25564) | type CookiesGetFilter = Electron.CookiesGetFilter;
type CookiesSetDetails (line 25565) | type CookiesSetDetails = Electron.CookiesSetDetails;
type CrashReporterStartOptions (line 25566) | type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
type CreateFromBitmapOptions (line 25567) | type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
type CreateFromBufferOptions (line 25568) | type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
type CreateInterruptedDownloadOptions (line 25569) | type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownlo...
type Data (line 25570) | type Data = Electron.Data;
type DecryptStringAsyncReturnValue (line 25571) | type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnVa...
type DefaultFontFamily (line 25572) | type DefaultFontFamily = Electron.DefaultFontFamily;
type Details (line 25573) | type Details = Electron.Details;
type DevicePermissionHandlerHandlerDetails (line 25574) | type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHa...
type DevtoolsOpenUrlEvent (line 25575) | type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
type DevtoolsSearchQueryEvent (line 25576) | type DevtoolsSearchQueryEvent = Electron.DevtoolsSearchQueryEvent;
type DidChangeThemeColorEvent (line 25577) | type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
type DidCreateWindowDetails (line 25578) | type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
type DidFailLoadEvent (line 25579) | type DidFailLoadEvent = Electron.DidFailLoadEvent;
type DidFrameFinishLoadEvent (line 25580) | type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent;
type DidFrameNavigateEvent (line 25581) | type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent;
type DidNavigateEvent (line 25582) | type DidNavigateEvent = Electron.DidNavigateEvent;
type DidNavigateInPageEvent (line 25583) | type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent;
type DidRedirectNavigationEvent (line 25584) | type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
type DidStartNavigationEvent (line 25585) | type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
type DisplayBalloonOptions (line 25586) | type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
type DisplayMediaRequestHandlerHandlerRequest (line 25587) | type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaReq...
type DisplayMediaRequestHandlerOpts (line 25588) | type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandle...
type DownloadURLOptions (line 25589) | type DownloadURLOptions = Electron.DownloadURLOptions;
type EnableNetworkEmulationOptions (line 25590) | type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOpti...
type ExecutionScript (line 25591) | type ExecutionScript = Electron.ExecutionScript;
type FeedURLOptions (line 25592) | type FeedURLOptions = Electron.FeedURLOptions;
type FileIconOptions (line 25593) | type FileIconOptions = Electron.FileIconOptions;
type FileSystemAccessRestrictedDetails (line 25594) | type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestri...
type FindInPageOptions (line 25595) | type FindInPageOptions = Electron.FindInPageOptions;
type FocusOptions (line 25596) | type FocusOptions = Electron.FocusOptions;
type ForkOptions (line 25597) | type ForkOptions = Electron.ForkOptions;
type FoundInPageEvent (line 25598) | type FoundInPageEvent = Electron.FoundInPageEvent;
type FrameCreatedDetails (line 25599) | type FrameCreatedDetails = Electron.FrameCreatedDetails;
type FromPartitionOptions (line 25600) | type FromPartitionOptions = Electron.FromPartitionOptions;
type FromPathOptions (line 25601) | type FromPathOptions = Electron.FromPathOptions;
type HandlerDetails (line 25602) | type HandlerDetails = Electron.HandlerDetails;
type HeadersReceivedResponse (line 25603) | type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
type HeapStatistics (line 25604) | type HeapStatistics = Electron.HeapStatistics;
type HidDeviceAddedDetails (line 25605) | type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
type HidDeviceRemovedDetails (line 25606) | type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
type HidDeviceRevokedDetails (line 25607) | type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
type IgnoreMouseEventsOptions (line 25608) | type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
type ImportCertificateOptions (line 25609) | type ImportCertificateOptions = Electron.ImportCertificateOptions;
type ImportSharedTextureOptions (line 25610) | type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
type Info (line 25611) | type Info = Electron.Info;
type Input (line 25612) | type Input = Electron.Input;
type InsertCSSOptions (line 25613) | type InsertCSSOptions = Electron.InsertCSSOptions;
type IpcMessageEvent (line 25614) | type IpcMessageEvent = Electron.IpcMessageEvent;
type Item (line 25615) | type Item = Electron.Item;
type JumpListSettings (line 25616) | type JumpListSettings = Electron.JumpListSettings;
type LoadCommitEvent (line 25617) | type LoadCommitEvent = Electron.LoadCommitEvent;
type LoadExtensionOptions (line 25618) | type LoadExtensionOptions = Electron.LoadExtensionOptions;
type LoadFileOptions (line 25619) | type LoadFileOptions = Electron.LoadFileOptions;
type LoadURLOptions (line 25620) | type LoadURLOptions = Electron.LoadURLOptions;
type LoginAuthenticationResponseDetails (line 25621) | type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationRe...
type LoginItemSettings (line 25622) | type LoginItemSettings = Electron.LoginItemSettings;
type LoginItemSettingsOptions (line 25623) | type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
type MenuItemConstructorOptions (line 25624) | type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
type MessageBoxOptions (line 25625) | type MessageBoxOptions = Electron.MessageBoxOptions;
type MessageBoxReturnValue (line 25626) | type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
type MessageBoxSyncOptions (line 25627) | type MessageBoxSyncOptions = Electron.MessageBoxSyncOptions;
type MessageDetails (line 25628) | type MessageDetails = Electron.MessageDetails;
type MessageEvent (line 25629) | type MessageEvent = Electron.MessageEvent;
type MoveToApplicationsFolderOptions (line 25630) | type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolder...
type NativePixmap (line 25631) | type NativePixmap = Electron.NativePixmap;
type NotificationActionEventParams (line 25632) | type NotificationActionEventParams = Electron.NotificationActionEventPar...
type NotificationCloseEventParams (line 25633) | type NotificationCloseEventParams = Electron.NotificationCloseEventParams;
type NotificationConstructorOptions (line 25634) | type NotificationConstructorOptions = Electron.NotificationConstructorOp...
type NotificationReplyEventParams (line 25635) | type NotificationReplyEventParams = Electron.NotificationReplyEventParams;
type Offscreen (line 25636) | type Offscreen = Electron.Offscreen;
type OnBeforeRedirectListenerDetails (line 25637) | type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListener...
type OnBeforeRequestListenerDetails (line 25638) | type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDe...
type OnBeforeSendHeadersListenerDetails (line 25639) | type OnBeforeSendHeadersListenerDetails = Electron.OnBeforeSendHeadersLi...
type OnCompletedListenerDetails (line 25640) | type OnCompletedListenerDetails = Electron.OnCompletedListenerDetails;
type OnErrorOccurredListenerDetails (line 25641) | type OnErrorOccurredListenerDetails = Electron.OnErrorOccurredListenerDe...
type OnHeadersReceivedListenerDetails (line 25642) | type OnHeadersReceivedListenerDetails = Electron.OnHeadersReceivedListen...
type OnResponseStartedListenerDetails (line 25643) | type OnResponseStartedListenerDetails = Electron.OnResponseStartedListen...
type OnSendHeadersListenerDetails (line 25644) | type OnSendHeadersListenerDetails = Electron.OnSendHeadersListenerDetails;
type OpenDevToolsOptions (line 25645) | type OpenDevToolsOptions = Electron.OpenDevToolsOptions;
type OpenDialogOptions (line 25646) | type OpenDialogOptions = Electron.OpenDialogOptions;
type OpenDialogReturnValue (line 25647) | type OpenDialogReturnValue = Electron.OpenDialogReturnValue;
type OpenDialogSyncOptions (line 25648) | type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
type OpenExternalOptions (line 25649) | type OpenExternalOptions = Electron.OpenExternalOptions;
type Options (line 25650) | type Options = Electron.Options;
type Opts (line 25651) | type Opts = Electron.Opts;
type PageFaviconUpdatedEvent (line 25652) | type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
type PageTitleUpdatedEvent (line 25653) | type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
type Parameters (line 25654) | type Parameters = Electron.Parameters;
type Payment (line 25655) | type Payment = Electron.Payment;
type PermissionCheckHandlerHandlerDetails (line 25656) | type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHand...
type PopupOptions (line 25657) | type PopupOptions = Electron.PopupOptions;
type PowerMonitorSpeedLimitChangeEventParams (line 25658) | type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpee...
type PowerMonitorThermalStateChangeEventParams (line 25659) | type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorTh...
type PreconnectOptions (line 25660) | type PreconnectOptions = Electron.PreconnectOptions;
type PrintToPDFOptions (line 25661) | type PrintToPDFOptions = Electron.PrintToPDFOptions;
type Privileges (line 25662) | type Privileges = Electron.Privileges;
type ProgressBarOptions (line 25663) | type ProgressBarOptions = Electron.ProgressBarOptions;
type Provider (line 25664) | type Provider = Electron.Provider;
type PurchaseProductOpts (line 25665) | type PurchaseProductOpts = Electron.PurchaseProductOpts;
type ReadBookmark (line 25666) | type ReadBookmark = Electron.ReadBookmark;
type ReceivedSharedTextureData (line 25667) | type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
type RegistrationCompletedDetails (line 25668) | type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
type RelaunchOptions (line 25669) | type RelaunchOptions = Electron.RelaunchOptions;
type RenderProcessGoneEvent (line 25670) | type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
type Request (line 25671) | type Request = Electron.Request;
type ResizeOptions (line 25672) | type ResizeOptions = Electron.ResizeOptions;
type ResolveHostOptions (line 25673) | type ResolveHostOptions = Electron.ResolveHostOptions;
type ResourceUsage (line 25674) | type ResourceUsage = Electron.ResourceUsage;
type Response (line 25675) | type Response = Electron.Response;
type RestoreOptions (line 25676) | type RestoreOptions = Electron.RestoreOptions;
type Result (line 25677) | type Result = Electron.Result;
type SaveDialogOptions (line 25678) | type SaveDialogOptions = Electron.SaveDialogOptions;
type SaveDialogReturnValue (line 25679) | type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
type SaveDialogSyncOptions (line 25680) | type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
type SelectHidDeviceDetails (line 25681) | type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
type SelectUsbDeviceDetails (line 25682) | type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
type SendSharedTextureOptions (line 25683) | type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
type SerialPortRevokedDetails (line 25684) | type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
type ServiceWorkersRunningStatusChangedEventParams (line 25685) | type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWor...
type Settings (line 25686) | type Settings = Electron.Settings;
type SharedDictionaryInfoOptions (line 25687) | type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
type SourcesOptions (line 25688) | type SourcesOptions = Electron.SourcesOptions;
type StartLoggingOptions (line 25689) | type StartLoggingOptions = Electron.StartLoggingOptions;
type StartTask (line 25690) | type StartTask = Electron.StartTask;
type Streams (line 25691) | type Streams = Electron.Streams;
type SystemMemoryInfo (line 25692) | type SystemMemoryInfo = Electron.SystemMemoryInfo;
type TextureInfo (line 25693) | type TextureInfo = Electron.TextureInfo;
type TitleBarOverlay (line 25694) | type TitleBarOverlay = Electron.TitleBarOverlay;
type TitleBarOverlayOptions (line 25695) | type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
type TitleOptions (line 25696) | type TitleOptions = Electron.TitleOptions;
type ToBitmapOptions (line 25697) | type ToBitmapOptions = Electron.ToBitmapOptions;
type ToDataURLOptions (line 25698) | type ToDataURLOptions = Electron.ToDataURLOptions;
type ToPNGOptions (line 25699) | type ToPNGOptions = Electron.ToPNGOptions;
type TouchBarButtonConstructorOptions (line 25700) | type TouchBarButtonConstructorOptions = Electron.TouchBarButtonConstruct...
type TouchBarColorPickerConstructorOptions (line 25701) | type TouchBarColorPickerConstructorOptions = Electron.TouchBarColorPicke...
type TouchBarConstructorOptions (line 25702) | type TouchBarConstructorOptions = Electron.TouchBarConstructorOptions;
type TouchBarGroupConstructorOptions (line 25703) | type TouchBarGroupConstructorOptions = Electron.TouchBarGroupConstructor...
type TouchBarLabelConstructorOptions (line 25704) | type TouchBarLabelConstructorOptions = Electron.TouchBarLabelConstructor...
type TouchBarPopoverConstructorOptions (line 25705) | type TouchBarPopoverConstructorOptions = Electron.TouchBarPopoverConstru...
type TouchBarScrubberConstructorOptions (line 25706) | type TouchBarScrubberConstructorOptions = Electron.TouchBarScrubberConst...
type TouchBarSegmentedControlConstructorOptions (line 25707) | type TouchBarSegmentedControlConstructorOptions = Electron.TouchBarSegme...
type TouchBarSliderConstructorOptions (line 25708) | type TouchBarSliderConstructorOptions = Electron.TouchBarSliderConstruct...
type TouchBarSpacerConstructorOptions (line 25709) | type TouchBarSpacerConstructorOptions = Electron.TouchBarSpacerConstruct...
type TraceBufferUsageReturnValue (line 25710) | type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
type UdpPortRange (line 25711) | type UdpPortRange = Electron.UdpPortRange;
type UpdateTargetUrlEvent (line 25712) | type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
type UploadProgress (line 25713) | type UploadProgress = Electron.UploadProgress;
type UsbDeviceRevokedDetails (line 25714) | type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
type USBProtectedClassesHandlerHandlerDetails (line 25715) | type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedCla...
type VibrancyOptions (line 25716) | type VibrancyOptions = Electron.VibrancyOptions;
type VisibleOnAllWorkspacesOptions (line 25717) | type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOpti...
type WebContentsAudioStateChangedEventParams (line 25718) | type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudio...
type WebContentsConsoleMessageEventParams (line 25719) | type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleM...
type WebContentsDidRedirectNavigationEventParams (line 25720) | type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsD...
type WebContentsDidStartNavigationEventParams (line 25721) | type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidS...
type WebContentsPaintEventParams (line 25722) | type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
type WebContentsPrintOptions (line 25723) | type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
type WebContentsViewConstructorOptions (line 25724) | type WebContentsViewConstructorOptions = Electron.WebContentsViewConstru...
type WebContentsWillFrameNavigateEventParams (line 25725) | type WebContentsWillFrameNavigateEventParams = Electron.WebContentsWillF...
type WebContentsWillNavigateEventParams (line 25726) | type WebContentsWillNavigateEventParams = Electron.WebContentsWillNaviga...
type WebContentsWillRedirectEventParams (line 25727) | type WebContentsWillRedirectEventParams = Electron.WebContentsWillRedire...
type WebRTCUDPPortRange (line 25728) | type WebRTCUDPPortRange = Electron.WebRTCUDPPortRange;
type WebviewTagPrintOptions (line 25729) | type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
type WillFrameNavigateEvent (line 25730) | type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
type WillNavigateEvent (line 25731) | type WillNavigateEvent = Electron.WillNavigateEvent;
type WillResizeDetails (line 25732) | type WillResizeDetails = Electron.WillResizeDetails;
type Animate (line 25733) | type Animate = Electron.Animate;
type Children (line 25734) | type Children = Electron.Children;
type EditFlags (line 25735) | type EditFlags = Electron.EditFlags;
type Env (line 25736) | type Env = Electron.Env;
type FeatureReports (line 25737) | type FeatureReports = Electron.FeatureReports;
type FoundInPageResult (line 25738) | type FoundInPageResult = Electron.FoundInPageResult;
type InputReports (line 25739) | type InputReports = Electron.InputReports;
type Interfaces (line 25740) | type Interfaces = Electron.Interfaces;
type LaunchItems (line 25741) | type LaunchItems = Electron.LaunchItems;
type Margins (line 25742) | type Margins = Electron.Margins;
type MediaFlags (line 25743) | type MediaFlags = Electron.MediaFlags;
type Metadata (line 25744) | type Metadata = Electron.Metadata;
type OutputReports (line 25745) | type OutputReports = Electron.OutputReports;
type PageRanges (line 25746) | type PageRanges = Electron.PageRanges;
type Params (line 25747) | type Params = Electron.Params;
type Planes (line 25748) | type Planes = Electron.Planes;
type Video (line 25749) | type Video = Electron.Video;
type Alternate (line 25750) | type Alternate = Electron.Alternate;
type Alternates (line 25751) | type Alternates = Electron.Alternates;
type Endpoints (line 25752) | type Endpoints = Electron.Endpoints;
type BaseWindowConstructorOptions (line 25753) | type BaseWindowConstructorOptions = Electron.BaseWindowConstructorOptions;
type BrowserWindowConstructorOptions (line 25754) | type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructor...
type ActivationArguments (line 25755) | type ActivationArguments = Electron.ActivationArguments;
type BluetoothDevice (line 25756) | type BluetoothDevice = Electron.BluetoothDevice;
type Certificate (line 25757) | type Certificate = Electron.Certificate;
type CertificatePrincipal (line 25758) | type CertificatePrincipal = Electron.CertificatePrincipal;
type ColorSpace (line 25759) | type ColorSpace = Electron.ColorSpace;
type ComponentError (line 25760) | type ComponentError = Electron.ComponentError;
type ComponentResult (line 25761) | type ComponentResult = Electron.ComponentResult;
type ComponentsError (line 25762) | type ComponentsError = Electron.ComponentsError;
type ComponentStatus (line 25763) | type ComponentStatus = Electron.ComponentStatus;
type Cookie (line 25764) | type Cookie = Electron.Cookie;
type CPUUsage (line 25765) | type CPUUsage = Electron.CPUUsage;
type CrashReport (line 25766) | type CrashReport = Electron.CrashReport;
type CustomScheme (line 25767) | type CustomScheme = Electron.CustomScheme;
type DesktopCapturerSource (line 25768) | type DesktopCapturerSource = Electron.DesktopCapturerSource;
type Display (line 25769) | type Display = Electron.Display;
type Extension (line 25770) | type Extension = Electron.Extension;
type ExtensionInfo (line 25771) | type ExtensionInfo = Electron.ExtensionInfo;
type FileFilter (line 25772) | type FileFilter = Electron.FileFilter;
type FilePathWithHeaders (line 25773) | type FilePathWithHeaders = Electron.FilePathWithHeaders;
type FilesystemPermissionRequest (line 25774) | type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
type GPUFeatureStatus (line 25775) | type GPUFeatureStatus = Electron.GPUFeatureStatus;
type HIDDevice (line 25776) | type HIDDevice = Electron.HIDDevice;
type InputEvent (line 25777) | type InputEvent = Electron.InputEvent;
type IpcMainEvent (line 25778) | type IpcMainEvent = Electron.IpcMainEvent;
type IpcMainInvokeEvent (line 25779) | type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
type IpcMainServiceWorkerEvent (line 25780) | type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
type IpcMainServiceWorkerInvokeEvent (line 25781) | type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvo...
type IpcRendererEvent (line 25782) | type IpcRendererEvent = Electron.IpcRendererEvent;
type JumpListCategory (line 25783) | type JumpListCategory = Electron.JumpListCategory;
type JumpListItem (line 25784) | type JumpListItem = Electron.JumpListItem;
type KeyboardEvent (line 25785) | type KeyboardEvent = Electron.KeyboardEvent;
type KeyboardInputEvent (line 25786) | type KeyboardInputEvent = Electron.KeyboardInputEvent;
type MediaAccessPermissionRequest (line 25787) | type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
type MemoryInfo (line 25788) | type MemoryInfo = Electron.MemoryInfo;
type MemoryUsageDetails (line 25789) | type MemoryUsageDetails = Electron.MemoryUsageDetails;
type MimeTypedBuffer (line 25790) | type MimeTypedBuffer = Electron.MimeTypedBuffer;
type MouseInputEvent (line 25791) | type MouseInputEvent = Electron.MouseInputEvent;
type MouseWheelInputEvent (line 25792) | type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
type NavigationEntry (line 25793) | type NavigationEntry = Electron.NavigationEntry;
type NotificationAction (line 25794) | type NotificationAction = Electron.NotificationAction;
type NotificationResponse (line 25795) | type NotificationResponse = Electron.NotificationResponse;
type OffscreenSharedTexture (line 25796) | type OffscreenSharedTexture = Electron.OffscreenSharedTexture;
type OpenExternalPermissionRequest (line 25797) | type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequ...
type PaymentDiscount (line 25798) | type PaymentDiscount = Electron.PaymentDiscount;
type PermissionRequest (line 25799) | type PermissionRequest = Electron.PermissionRequest;
type Point (line 25800) | type Point = Electron.Point;
type PostBody (line 25801) | type PostBody = Electron.PostBody;
type PreloadScript (line 25802) | type PreloadScript = Electron.PreloadScript;
type PreloadScriptRegistration (line 25803) | type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
type PrinterInfo (line 25804) | type PrinterInfo = Electron.PrinterInfo;
type ProcessMemoryInfo (line 25805) | type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
type ProcessMetric (line 25806) | type ProcessMetric = Electron.ProcessMetric;
type Product (line 25807) | type Product = Electron.Product;
type ProductDiscount (line 25808) | type ProductDiscount = Electron.ProductDiscount;
type ProductSubscriptionPeriod (line 25809) | type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
type ProtocolRequest (line 25810) | type ProtocolRequest = Electron.ProtocolRequest;
type ProtocolResponse (line 25811) | type ProtocolResponse = Electron.ProtocolResponse;
type ProtocolResponseUploadData (line 25812) | type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
type ProxyConfig (line 25813) | type ProxyConfig = Electron.ProxyConfig;
type Rectangle (line 25814) | type Rectangle = Electron.Rectangle;
type Referrer (line 25815) | type Referrer = Electron.Referrer;
type RenderProcessGoneDetails (line 25816) | type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
type ResolvedEndpoint (line 25817) | type ResolvedEndpoint = Electron.ResolvedEndpoint;
type ResolvedHost (line 25818) | type ResolvedHost = Electron.ResolvedHost;
type ScrubberItem (line 25819) | type ScrubberItem = Electron.ScrubberItem;
type SegmentedControlSegment (line 25820) | type SegmentedControlSegment = Electron.SegmentedControlSegment;
type SerialPort (line 25821) | type SerialPort = Electron.SerialPort;
type ServiceWorkerInfo (line 25822) | type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
type SharedDictionaryInfo (line 25823) | type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
type SharedDictionaryUsageInfo (line 25824) | type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
type SharedTextureHandle (line 25825) | type SharedTextureHandle = Electron.SharedTextureHandle;
type SharedTextureImported (line 25826) | type SharedTextureImported = Electron.SharedTextureImported;
type SharedTextureImportedSubtle (line 25827) | type SharedTextureImportedSubtle = Electron.SharedTextureImportedSubtle;
type SharedTextureImportTextureInfo (line 25828) | type SharedTextureImportTextureInfo = Electron.SharedTextureImportTextur...
type SharedTextureSubtle (line 25829) | type SharedTextureSubtle = Electron.SharedTextureSubtle;
type SharedTextureSyncToken (line 25830) | type SharedTextureSyncToken = Electron.SharedTextureSyncToken;
type SharedTextureTransfer (line 25831) | type SharedTextureTransfer = Electron.SharedTextureTransfer;
type SharedWorkerInfo (line 25832) | type SharedWorkerInfo = Electron.SharedWorkerInfo;
type SharingItem (line 25833) | type SharingItem = Electron.SharingItem;
type ShortcutDetails (line 25834) | type ShortcutDetails = Electron.ShortcutDetails;
type Size (line 25835) | type Size = Electron.Size;
type Task (line 25836) | type Task = Electron.Task;
type ThumbarButton (line 25837) | type ThumbarButton = Electron.ThumbarButton;
type TraceCategoriesAndOptions (line 25838) | type TraceCategoriesAndOptions = Electron.TraceCategoriesAndOptions;
type TraceConfig (line 25839) | type TraceConfig = Electron.TraceConfig;
type Transaction (line 25840) | type Transaction = Electron.Transaction;
type UploadData (line 25841) | type UploadData = Electron.UploadData;
type UploadFile (line 25842) | type UploadFile = Electron.UploadFile;
type UploadRawData (line 25843) | type UploadRawData = Electron.UploadRawData;
type USBDevice (line 25844) | type USBDevice = Electron.USBDevice;
type UserDefaultTypes (line 25845) | type UserDefaultTypes = Electron.UserDefaultTypes;
type WebPreferences (line 25846) | type WebPreferences = Electron.WebPreferences;
type WebRequestFilter (line 25847) | type WebRequestFilter = Electron.WebRequestFilter;
type WebSource (line 25848) | type WebSource = Electron.WebSource;
type WindowOpenHandlerResponse (line 25849) | type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
type WindowSessionEndEvent (line 25850) | type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
type Event (line 25854) | type Event<Params extends object = {}> = Electron.Event<Params>;
type App (line 25856) | type App = Electron.App;
type AutoUpdater (line 25858) | type AutoUpdater = Electron.AutoUpdater;
class BaseWindow (line 25859) | class BaseWindow extends Electron.BaseWindow {}
class BrowserView (line 25860) | class BrowserView extends Electron.BrowserView {}
class BrowserWindow (line 25861) | class BrowserWindow extends Electron.BrowserWindow {}
type ClientRequest (line 25862) | type ClientRequest = Electron.ClientRequest;
type Clipboard (line 25864) | type Clipboard = Electron.Clipboard;
type CommandLine (line 25865) | type CommandLine = Electron.CommandLine;
type Components (line 25867) | type Components = Electron.Components;
type ContentTracing (line 25869) | type ContentTracing = Electron.ContentTracing;
type ContextBridge (line 25871) | type ContextBridge = Electron.ContextBridge;
type Cookies (line 25872) | type Cookies = Electron.Cookies;
type CrashReporter (line 25874) | type CrashReporter = Electron.CrashReporter;
type Debugger (line 25875) | type Debugger = Electron.Debugger;
type DesktopCapturer (line 25877) | type DesktopCapturer = Electron.DesktopCapturer;
type Dialog (line 25879) | type Dialog = Electron.Dialog;
type Dock (line 25880) | type Dock = Electron.Dock;
type DownloadItem (line 25881) | type DownloadItem = Electron.DownloadItem;
type Extensions (line 25882) | type Extensions = Electron.Extensions;
type GlobalShortcut (line 25884) | type GlobalShortcut = Electron.GlobalShortcut;
class ImageView (line 25885) | class ImageView extends Electron.ImageView {}
type InAppPurchase (line 25887) | type InAppPurchase = Electron.InAppPurchase;
type IncomingMessage (line 25888) | type IncomingMessage = Electron.IncomingMessage;
type IpcMain (line 25890) | type IpcMain = Electron.IpcMain;
class IpcMainServiceWorker (line 25891) | class IpcMainServiceWorker extends Electron.IpcMainServiceWorker {}
type IpcRenderer (line 25893) | type IpcRenderer = Electron.IpcRenderer;
class Menu (line 25894) | class Menu extends Electron.Menu {}
class MenuItem (line 25895) | class MenuItem extends Electron.MenuItem {}
class MessageChannelMain (line 25896) | class MessageChannelMain extends Electron.MessageChannelMain {}
type MessagePortMain (line 25897) | type MessagePortMain = Electron.MessagePortMain;
type NativeImage (line 25899) | type NativeImage = Electron.NativeImage;
type NativeTheme (line 25901) | type NativeTheme = Electron.NativeTheme;
type NavigationHistory (line 25902) | type NavigationHistory = Electron.NavigationHistory;
type Net (line 25904) | type Net = Electron.Net;
type NetLog (line 25906) | type NetLog = Electron.NetLog;
class Notification (line 25907) | class Notification extends Electron.Notification {}
type ParentPort (line 25909) | type ParentPort = Electron.ParentPort;
type PowerMonitor (line 25911) | type PowerMonitor = Electron.PowerMonitor;
type PowerSaveBlocker (line 25913) | type PowerSaveBlocker = Electron.PowerSaveBlocker;
type Protocol (line 25915) | type Protocol = Electron.Protocol;
type PushNotifications (line 25917) | type PushNotifications = Electron.PushNotifications;
type SafeStorage (line 25919) | type SafeStorage = Electron.SafeStorage;
type Screen (line 25921) | type Screen = Electron.Screen;
type ServiceWorkerMain (line 25922) | type ServiceWorkerMain = Electron.ServiceWorkerMain;
type ServiceWorkers (line 25923) | type ServiceWorkers = Electron.ServiceWorkers;
type Session (line 25925) | type Session = Electron.Session;
type SharedTexture (line 25927) | type SharedTexture = Electron.SharedTexture;
class ShareMenu (line 25928) | class ShareMenu extends Electron.ShareMenu {}
type Shell (line 25930) | type Shell = Electron.Shell;
type SystemPreferences (line 25932) | type SystemPreferences = Electron.SystemPreferences;
class TouchBar (line 25933) | class TouchBar extends Electron.TouchBar {}
type TouchBarButton (line 25934) | type TouchBarButton = Electron.TouchBarButton;
type TouchBarColorPicker (line 25935) | type TouchBarColorPicker = Electron.TouchBarColorPicker;
type TouchBarGroup (line 25936) | type TouchBarGroup = Electron.TouchBarGroup;
type TouchBarLabel (line 25937) | type TouchBarLabel = Electron.TouchBarLabel;
type TouchBarOtherItemsProxy (line 25938) | type TouchBarOtherItemsProxy = Electron.TouchBarOtherItemsProxy;
type TouchBarPopover (line 25939) | type TouchBarPopover = Electron.TouchBarPopover;
type TouchBarScrubber (line 25940) | type TouchBarScrubber = Electron.TouchBarScrubber;
type TouchBarSegmentedControl (line 25941) | type TouchBarSegmentedControl = Electron.TouchBarSegmentedControl;
type TouchBarSlider (line 25942) | type TouchBarSlider = Electron.TouchBarSlider;
type TouchBarSpacer (line 25943) | type TouchBarSpacer = Electron.TouchBarSpacer;
class Tray (line 25944) | class Tray extends Electron.Tray {}
type UtilityProcess (line 25946) | type UtilityProcess = Electron.UtilityProcess;
class View (line 25947) | class View extends Electron.View {}
type WebContents (line 25949) | type WebContents = Electron.WebContents;
class WebContentsView (line 25950) | class WebContentsView extends Electron.WebContentsView {}
type WebFrame (line 25952) | type WebFrame = Electron.WebFrame;
type WebFrameMain (line 25954) | type WebFrameMain = Electron.WebFrameMain;
type WebRequest (line 25955) | type WebRequest = Electron.WebRequest;
type WebUtils (line 25957) | type WebUtils = Electron.WebUtils;
type WebviewTag (line 25958) | type WebviewTag = Electron.WebviewTag;
type AboutPanelOptionsOptions (line 25959) | type AboutPanelOptionsOptions = Electron.AboutPanelOptionsOptions;
type AddRepresentationOptions (line 25960) | type AddRepresentationOptions = Electron.AddRepresentationOptions;
type AdjustSelectionOptions (line 25961) | type AdjustSelectionOptions = Electron.AdjustSelectionOptions;
type AnimationSettings (line 25962) | type AnimationSettings = Electron.AnimationSettings;
type AppDetailsOptions (line 25963) | type AppDetailsOptions = Electron.AppDetailsOptions;
type ApplicationInfoForProtocolReturnValue (line 25964) | type ApplicationInfoForProtocolReturnValue = Electron.ApplicationInfoFor...
type AuthenticationResponseDetails (line 25965) | type AuthenticationResponseDetails = Electron.AuthenticationResponseDeta...
type AuthInfo (line 25966) | type AuthInfo = Electron.AuthInfo;
type AutoResizeOptions (line 25967) | type AutoResizeOptions = Electron.AutoResizeOptions;
type BeforeSendResponse (line 25968) | type BeforeSendResponse = Electron.BeforeSendResponse;
type BitmapOptions (line 25969) | type BitmapOptions = Electron.BitmapOptions;
type BlinkMemoryInfo (line 25970) | type BlinkMemoryInfo = Electron.BlinkMemoryInfo;
type BluetoothPairingHandlerHandlerDetails (line 25971) | type BluetoothPairingHandlerHandlerDetails = Electron.BluetoothPairingHa...
type BoundsOptions (line 25972) | type BoundsOptions = Electron.BoundsOptions;
type BrowserViewConstructorOptions (line 25973) | type BrowserViewConstructorOptions = Electron.BrowserViewConstructorOpti...
type CallbackResponse (line 25974) | type CallbackResponse = Electron.CallbackResponse;
type CertificateTrustDialogOptions (line 25975) | type CertificateTrustDialogOptions = Electron.CertificateTrustDialogOpti...
type ClearCodeCachesOptions (line 25976) | type ClearCodeCachesOptions = Electron.ClearCodeCachesOptions;
type ClearDataOptions (line 25977) | type ClearDataOptions = Electron.ClearDataOptions;
type ClearSharedDictionaryCacheForIsolationKeyOptions (line 25978) | type ClearSharedDictionaryCacheForIsolationKeyOptions = Electron.ClearSh...
type ClearStorageDataOptions (line 25979) | type ClearStorageDataOptions = Electron.ClearStorageDataOptions;
type ClientCertRequestParams (line 25980) | type ClientCertRequestParams = Electron.ClientCertRequestParams;
type ClientRequestConstructorOptions (line 25981) | type ClientRequestConstructorOptions = Electron.ClientRequestConstructor...
type CloseOpts (line 25982) | type CloseOpts = Electron.CloseOpts;
type Collections (line 25983) | type Collections = Electron.Collections;
type Config (line 25984) | type Config = Electron.Config;
type Configuration (line 25985) | type Configuration = Electron.Configuration;
type Configurations (line 25986) | type Configurations = Electron.Configurations;
type ConfigureHostResolverOptions (line 25987) | type ConfigureHostResolverOptions = Electron.ConfigureHostResolverOptions;
type ConsoleMessageEvent (line 25988) | type ConsoleMessageEvent = Electron.ConsoleMessageEvent;
type ContextMenuEvent (line 25989) | type ContextMenuEvent = Electron.ContextMenuEvent;
type ContextMenuParams (line 25990) | type ContextMenuParams = Electron.ContextMenuParams;
type ContinueActivityDetails (line 25991) | type ContinueActivityDetails = Electron.ContinueActivityDetails;
type CookiesGetFilter (line 25992) | type CookiesGetFilter = Electron.CookiesGetFilter;
type CookiesSetDetails (line 25993) | type CookiesSetDetails = Electron.CookiesSetDetails;
type CrashReporterStartOptions (line 25994) | type CrashReporterStartOptions = Electron.CrashReporterStartOptions;
type CreateFromBitmapOptions (line 25995) | type CreateFromBitmapOptions = Electron.CreateFromBitmapOptions;
type CreateFromBufferOptions (line 25996) | type CreateFromBufferOptions = Electron.CreateFromBufferOptions;
type CreateInterruptedDownloadOptions (line 25997) | type CreateInterruptedDownloadOptions = Electron.CreateInterruptedDownlo...
type Data (line 25998) | type Data = Electron.Data;
type DecryptStringAsyncReturnValue (line 25999) | type DecryptStringAsyncReturnValue = Electron.DecryptStringAsyncReturnVa...
type DefaultFontFamily (line 26000) | type DefaultFontFamily = Electron.DefaultFontFamily;
type Details (line 26001) | type Details = Electron.Details;
type DevicePermissionHandlerHandlerDetails (line 26002) | type DevicePermissionHandlerHandlerDetails = Electron.DevicePermissionHa...
type DevtoolsOpenUrlEvent (line 26003) | type DevtoolsOpenUrlEvent = Electron.DevtoolsOpenUrlEvent;
type DevtoolsSearchQueryEvent (line 26004) | type DevtoolsSearchQueryEvent = Electron.DevtoolsSearchQueryEvent;
type DidChangeThemeColorEvent (line 26005) | type DidChangeThemeColorEvent = Electron.DidChangeThemeColorEvent;
type DidCreateWindowDetails (line 26006) | type DidCreateWindowDetails = Electron.DidCreateWindowDetails;
type DidFailLoadEvent (line 26007) | type DidFailLoadEvent = Electron.DidFailLoadEvent;
type DidFrameFinishLoadEvent (line 26008) | type DidFrameFinishLoadEvent = Electron.DidFrameFinishLoadEvent;
type DidFrameNavigateEvent (line 26009) | type DidFrameNavigateEvent = Electron.DidFrameNavigateEvent;
type DidNavigateEvent (line 26010) | type DidNavigateEvent = Electron.DidNavigateEvent;
type DidNavigateInPageEvent (line 26011) | type DidNavigateInPageEvent = Electron.DidNavigateInPageEvent;
type DidRedirectNavigationEvent (line 26012) | type DidRedirectNavigationEvent = Electron.DidRedirectNavigationEvent;
type DidStartNavigationEvent (line 26013) | type DidStartNavigationEvent = Electron.DidStartNavigationEvent;
type DisplayBalloonOptions (line 26014) | type DisplayBalloonOptions = Electron.DisplayBalloonOptions;
type DisplayMediaRequestHandlerHandlerRequest (line 26015) | type DisplayMediaRequestHandlerHandlerRequest = Electron.DisplayMediaReq...
type DisplayMediaRequestHandlerOpts (line 26016) | type DisplayMediaRequestHandlerOpts = Electron.DisplayMediaRequestHandle...
type DownloadURLOptions (line 26017) | type DownloadURLOptions = Electron.DownloadURLOptions;
type EnableNetworkEmulationOptions (line 26018) | type EnableNetworkEmulationOptions = Electron.EnableNetworkEmulationOpti...
type ExecutionScript (line 26019) | type ExecutionScript = Electron.ExecutionScript;
type FeedURLOptions (line 26020) | type FeedURLOptions = Electron.FeedURLOptions;
type FileIconOptions (line 26021) | type FileIconOptions = Electron.FileIconOptions;
type FileSystemAccessRestrictedDetails (line 26022) | type FileSystemAccessRestrictedDetails = Electron.FileSystemAccessRestri...
type FindInPageOptions (line 26023) | type FindInPageOptions = Electron.FindInPageOptions;
type FocusOptions (line 26024) | type FocusOptions = Electron.FocusOptions;
type ForkOptions (line 26025) | type ForkOptions = Electron.ForkOptions;
type FoundInPageEvent (line 26026) | type FoundInPageEvent = Electron.FoundInPageEvent;
type FrameCreatedDetails (line 26027) | type FrameCreatedDetails = Electron.FrameCreatedDetails;
type FromPartitionOptions (line 26028) | type FromPartitionOptions = Electron.FromPartitionOptions;
type FromPathOptions (line 26029) | type FromPathOptions = Electron.FromPathOptions;
type HandlerDetails (line 26030) | type HandlerDetails = Electron.HandlerDetails;
type HeadersReceivedResponse (line 26031) | type HeadersReceivedResponse = Electron.HeadersReceivedResponse;
type HeapStatistics (line 26032) | type HeapStatistics = Electron.HeapStatistics;
type HidDeviceAddedDetails (line 26033) | type HidDeviceAddedDetails = Electron.HidDeviceAddedDetails;
type HidDeviceRemovedDetails (line 26034) | type HidDeviceRemovedDetails = Electron.HidDeviceRemovedDetails;
type HidDeviceRevokedDetails (line 26035) | type HidDeviceRevokedDetails = Electron.HidDeviceRevokedDetails;
type IgnoreMouseEventsOptions (line 26036) | type IgnoreMouseEventsOptions = Electron.IgnoreMouseEventsOptions;
type ImportCertificateOptions (line 26037) | type ImportCertificateOptions = Electron.ImportCertificateOptions;
type ImportSharedTextureOptions (line 26038) | type ImportSharedTextureOptions = Electron.ImportSharedTextureOptions;
type Info (line 26039) | type Info = Electron.Info;
type Input (line 26040) | type Input = Electron.Input;
type InsertCSSOptions (line 26041) | type InsertCSSOptions = Electron.InsertCSSOptions;
type IpcMessageEvent (line 26042) | type IpcMessageEvent = Electron.IpcMessageEvent;
type Item (line 26043) | type Item = Electron.Item;
type JumpListSettings (line 26044) | type JumpListSettings = Electron.JumpListSettings;
type LoadCommitEvent (line 26045) | type LoadCommitEvent = Electron.LoadCommitEvent;
type LoadExtensionOptions (line 26046) | type LoadExtensionOptions = Electron.LoadExtensionOptions;
type LoadFileOptions (line 26047) | type LoadFileOptions = Electron.LoadFileOptions;
type LoadURLOptions (line 26048) | type LoadURLOptions = Electron.LoadURLOptions;
type LoginAuthenticationResponseDetails (line 26049) | type LoginAuthenticationResponseDetails = Electron.LoginAuthenticationRe...
type LoginItemSettings (line 26050) | type LoginItemSettings = Electron.LoginItemSettings;
type LoginItemSettingsOptions (line 26051) | type LoginItemSettingsOptions = Electron.LoginItemSettingsOptions;
type MenuItemConstructorOptions (line 26052) | type MenuItemConstructorOptions = Electron.MenuItemConstructorOptions;
type MessageBoxOptions (line 26053) | type MessageBoxOptions = Electron.MessageBoxOptions;
type MessageBoxReturnValue (line 26054) | type MessageBoxReturnValue = Electron.MessageBoxReturnValue;
type MessageBoxSyncOptions (line 26055) | type MessageBoxSyncOptions = Electron.MessageBoxSyncOptions;
type MessageDetails (line 26056) | type MessageDetails = Electron.MessageDetails;
type MessageEvent (line 26057) | type MessageEvent = Electron.MessageEvent;
type MoveToApplicationsFolderOptions (line 26058) | type MoveToApplicationsFolderOptions = Electron.MoveToApplicationsFolder...
type NativePixmap (line 26059) | type NativePixmap = Electron.NativePixmap;
type NotificationActionEventParams (line 26060) | type NotificationActionEventParams = Electron.NotificationActionEventPar...
type NotificationCloseEventParams (line 26061) | type NotificationCloseEventParams = Electron.NotificationCloseEventParams;
type NotificationConstructorOptions (line 26062) | type NotificationConstructorOptions = Electron.NotificationConstructorOp...
type NotificationReplyEventParams (line 26063) | type NotificationReplyEventParams = Electron.NotificationReplyEventParams;
type Offscreen (line 26064) | type Offscreen = Electron.Offscreen;
type OnBeforeRedirectListenerDetails (line 26065) | type OnBeforeRedirectListenerDetails = Electron.OnBeforeRedirectListener...
type OnBeforeRequestListenerDetails (line 26066) | type OnBeforeRequestListenerDetails = Electron.OnBeforeRequestListenerDe...
type OnBeforeSendHeadersListenerDetails (line 26067) | type OnBeforeSendHeadersListenerDetails = Electron.OnBeforeSendHeadersLi...
type OnCompletedListenerDetails (line 26068) | type OnCompletedListenerDetails = Electron.OnCompletedListenerDetails;
type OnErrorOccurredListenerDetails (line 26069) | type OnErrorOccurredListenerDetails = Electron.OnErrorOccurredListenerDe...
type OnHeadersReceivedListenerDetails (line 26070) | type OnHeadersReceivedListenerDetails = Electron.OnHeadersReceivedListen...
type OnResponseStartedListenerDetails (line 26071) | type OnResponseStartedListenerDetails = Electron.OnResponseStartedListen...
type OnSendHeadersListenerDetails (line 26072) | type OnSendHeadersListenerDetails = Electron.OnSendHeadersListenerDetails;
type OpenDevToolsOptions (line 26073) | type OpenDevToolsOptions = Electron.OpenDevToolsOptions;
type OpenDialogOptions (line 26074) | type OpenDialogOptions = Electron.OpenDialogOptions;
type OpenDialogReturnValue (line 26075) | type OpenDialogReturnValue = Electron.OpenDialogReturnValue;
type OpenDialogSyncOptions (line 26076) | type OpenDialogSyncOptions = Electron.OpenDialogSyncOptions;
type OpenExternalOptions (line 26077) | type OpenExternalOptions = Electron.OpenExternalOptions;
type Options (line 26078) | type Options = Electron.Options;
type Opts (line 26079) | type Opts = Electron.Opts;
type PageFaviconUpdatedEvent (line 26080) | type PageFaviconUpdatedEvent = Electron.PageFaviconUpdatedEvent;
type PageTitleUpdatedEvent (line 26081) | type PageTitleUpdatedEvent = Electron.PageTitleUpdatedEvent;
type Parameters (line 26082) | type Parameters = Electron.Parameters;
type Payment (line 26083) | type Payment = Electron.Payment;
type PermissionCheckHandlerHandlerDetails (line 26084) | type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHand...
type PopupOptions (line 26085) | type PopupOptions = Electron.PopupOptions;
type PowerMonitorSpeedLimitChangeEventParams (line 26086) | type PowerMonitorSpeedLimitChangeEventParams = Electron.PowerMonitorSpee...
type PowerMonitorThermalStateChangeEventParams (line 26087) | type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorTh...
type PreconnectOptions (line 26088) | type PreconnectOptions = Electron.PreconnectOptions;
type PrintToPDFOptions (line 26089) | type PrintToPDFOptions = Electron.PrintToPDFOptions;
type Privileges (line 26090) | type Privileges = Electron.Privileges;
type ProgressBarOptions (line 26091) | type ProgressBarOptions = Electron.ProgressBarOptions;
type Provider (line 26092) | type Provider = Electron.Provider;
type PurchaseProductOpts (line 26093) | type PurchaseProductOpts = Electron.PurchaseProductOpts;
type ReadBookmark (line 26094) | type ReadBookmark = Electron.ReadBookmark;
type ReceivedSharedTextureData (line 26095) | type ReceivedSharedTextureData = Electron.ReceivedSharedTextureData;
type RegistrationCompletedDetails (line 26096) | type RegistrationCompletedDetails = Electron.RegistrationCompletedDetails;
type RelaunchOptions (line 26097) | type RelaunchOptions = Electron.RelaunchOptions;
type RenderProcessGoneEvent (line 26098) | type RenderProcessGoneEvent = Electron.RenderProcessGoneEvent;
type Request (line 26099) | type Request = Electron.Request;
type ResizeOptions (line 26100) | type ResizeOptions = Electron.ResizeOptions;
type ResolveHostOptions (line 26101) | type ResolveHostOptions = Electron.ResolveHostOptions;
type ResourceUsage (line 26102) | type ResourceUsage = Electron.ResourceUsage;
type Response (line 26103) | type Response = Electron.Response;
type RestoreOptions (line 26104) | type RestoreOptions = Electron.RestoreOptions;
type Result (line 26105) | type Result = Electron.Result;
type SaveDialogOptions (line 26106) | type SaveDialogOptions = Electron.SaveDialogOptions;
type SaveDialogReturnValue (line 26107) | type SaveDialogReturnValue = Electron.SaveDialogReturnValue;
type SaveDialogSyncOptions (line 26108) | type SaveDialogSyncOptions = Electron.SaveDialogSyncOptions;
type SelectHidDeviceDetails (line 26109) | type SelectHidDeviceDetails = Electron.SelectHidDeviceDetails;
type SelectUsbDeviceDetails (line 26110) | type SelectUsbDeviceDetails = Electron.SelectUsbDeviceDetails;
type SendSharedTextureOptions (line 26111) | type SendSharedTextureOptions = Electron.SendSharedTextureOptions;
type SerialPortRevokedDetails (line 26112) | type SerialPortRevokedDetails = Electron.SerialPortRevokedDetails;
type ServiceWorkersRunningStatusChangedEventParams (line 26113) | type ServiceWorkersRunningStatusChangedEventParams = Electron.ServiceWor...
type Settings (line 26114) | type Settings = Electron.Settings;
type SharedDictionaryInfoOptions (line 26115) | type SharedDictionaryInfoOptions = Electron.SharedDictionaryInfoOptions;
type SourcesOptions (line 26116) | type SourcesOptions = Electron.SourcesOptions;
type StartLoggingOptions (line 26117) | type StartLoggingOptions = Electron.StartLoggingOptions;
type StartTask (line 26118) | type StartTask = Electron.StartTask;
type Streams (line 26119) | type Streams = Electron.Streams;
type SystemMemoryInfo (line 26120) | type SystemMemoryInfo = Electron.SystemMemoryInfo;
type TextureInfo (line 26121) | type TextureInfo = Electron.TextureInfo;
type TitleBarOverlay (line 26122) | type TitleBarOverlay = Electron.TitleBarOverlay;
type TitleBarOverlayOptions (line 26123) | type TitleBarOverlayOptions = Electron.TitleBarOverlayOptions;
type TitleOptions (line 26124) | type TitleOptions = Electron.TitleOptions;
type ToBitmapOptions (line 26125) | type ToBitmapOptions = Electron.ToBitmapOptions;
type ToDataURLOptions (line 26126) | type ToDataURLOptions = Electron.ToDataURLOptions;
type ToPNGOptions (line 26127) | type ToPNGOptions = Electron.ToPNGOptions;
type TouchBarButtonConstructorOptions (line 26128) | type TouchBarButtonConstructorOptions = Electron.TouchBarButtonConstruct...
type TouchBarColorPickerConstructorOptions (line 26129) | type TouchBarColorPickerConstructorOptions = Electron.TouchBarColorPicke...
type TouchBarConstructorOptions (line 26130) | type TouchBarConstructorOptions = Electron.TouchBarConstructorOptions;
type TouchBarGroupConstructorOptions (line 26131) | type TouchBarGroupConstructorOptions = Electron.TouchBarGroupConstructor...
type TouchBarLabelConstructorOptions (line 26132) | type TouchBarLabelConstructorOptions = Electron.TouchBarLabelConstructor...
type TouchBarPopoverConstructorOptions (line 26133) | type TouchBarPopoverConstructorOptions = Electron.TouchBarPopoverConstru...
type TouchBarScrubberConstructorOptions (line 26134) | type TouchBarScrubberConstructorOptions = Electron.TouchBarScrubberConst...
type TouchBarSegmentedControlConstructorOptions (line 26135) | type TouchBarSegmentedControlConstructorOptions = Electron.TouchBarSegme...
type TouchBarSliderConstructorOptions (line 26136) | type TouchBarSliderConstructorOptions = Electron.TouchBarSliderConstruct...
type TouchBarSpacerConstructorOptions (line 26137) | type TouchBarSpacerConstructorOptions = Electron.TouchBarSpacerConstruct...
type TraceBufferUsageReturnValue (line 26138) | type TraceBufferUsageReturnValue = Electron.TraceBufferUsageReturnValue;
type UdpPortRange (line 26139) | type UdpPortRange = Electron.UdpPortRange;
type UpdateTargetUrlEvent (line 26140) | type UpdateTargetUrlEvent = Electron.UpdateTargetUrlEvent;
type UploadProgress (line 26141) | type UploadProgress = Electron.UploadProgress;
type UsbDeviceRevokedDetails (line 26142) | type UsbDeviceRevokedDetails = Electron.UsbDeviceRevokedDetails;
type USBProtectedClassesHandlerHandlerDetails (line 26143) | type USBProtectedClassesHandlerHandlerDetails = Electron.USBProtectedCla...
type VibrancyOptions (line 26144) | type VibrancyOptions = Electron.VibrancyOptions;
type VisibleOnAllWorkspacesOptions (line 26145) | type VisibleOnAllWorkspacesOptions = Electron.VisibleOnAllWorkspacesOpti...
type WebContentsAudioStateChangedEventParams (line 26146) | type WebContentsAudioStateChangedEventParams = Electron.WebContentsAudio...
type WebContentsConsoleMessageEventParams (line 26147) | type WebContentsConsoleMessageEventParams = Electron.WebContentsConsoleM...
type WebContentsDidRedirectNavigationEventParams (line 26148) | type WebContentsDidRedirectNavigationEventParams = Electron.WebContentsD...
type WebContentsDidStartNavigationEventParams (line 26149) | type WebContentsDidStartNavigationEventParams = Electron.WebContentsDidS...
type WebContentsPaintEventParams (line 26150) | type WebContentsPaintEventParams = Electron.WebContentsPaintEventParams;
type WebContentsPrintOptions (line 26151) | type WebContentsPrintOptions = Electron.WebContentsPrintOptions;
type WebContentsViewConstructorOptions (line 26152) | type WebContentsViewConstructorOptions = Electron.WebContentsViewConstru...
type WebContentsWillFrameNavigateEventParams (line 26153) | type WebContentsWillFrameNavigateEventParams = Electron.WebContentsWillF...
type WebContentsWillNavigateEventParams (line 26154) | type WebContentsWillNavigateEventParams = Electron.WebContentsWillNaviga...
type WebContentsWillRedirectEventParams (line 26155) | type WebContentsWillRedirectEventParams = Electron.WebContentsWillRedire...
type WebRTCUDPPortRange (line 26156) | type WebRTCUDPPortRange = Electron.WebRTCUDPPortRange;
type WebviewTagPrintOptions (line 26157) | type WebviewTagPrintOptions = Electron.WebviewTagPrintOptions;
type WillFrameNavigateEvent (line 26158) | type WillFrameNavigateEvent = Electron.WillFrameNavigateEvent;
type WillNavigateEvent (line 26159) | type WillNavigateEvent = Electron.WillNavigateEvent;
type WillResizeDetails (line 26160) | type WillResizeDetails = Electron.WillResizeDetails;
type Animate (line 26161) | type Animate = Electron.Animate;
type Children (line 26162) | type Children = Electron.Children;
type EditFlags (line 26163) | type EditFlags = Electron.EditFlags;
type Env (line 26164) | type Env = Electron.Env;
type FeatureReports (line 26165) | type FeatureReports = Electron.FeatureReports;
type FoundInPageResult (line 26166) | type FoundInPageResult = Electron.FoundInPageResult;
type InputReports (line 26167) | type InputReports = Electron.InputReports;
type Interfaces (line 26168) | type Interfaces = Electron.Interfaces;
type LaunchItems (line 26169) | type LaunchItems = Electron.LaunchItems;
type Margins (line 26170) | type Margins = Electron.Margins;
type MediaFlags (line 26171) | type MediaFlags = Electron.MediaFlags;
type Metadata (line 26172) | type Metadata = Electron.Metadata;
type OutputReports (line 26173) | type OutputReports = Electron.OutputReports;
type PageRanges (line 26174) | type PageRanges = Electron.PageRanges;
type Params (line 26175) | type Params = Electron.Params;
type Planes (line 26176) | type Planes = Electron.Planes;
type Video (line 26177) | type Video = Electron.Video;
type Alternate (line 26178) | type Alternate = Electron.Alternate;
type Alternates (line 26179) | type Alternates = Electron.Alternates;
type Endpoints (line 26180) | type Endpoints = Electron.Endpoints;
type BaseWindowConstructorOptions (line 26181) | type BaseWindowConstructorOptions = Electron.BaseWindowConstructorOptions;
type BrowserWindowConstructorOptions (line 26182) | type BrowserWindowConstructorOptions = Electron.BrowserWindowConstructor...
type ActivationArguments (line 26183) | type ActivationArguments = Electron.ActivationArguments;
type BluetoothDevice (line 26184) | type BluetoothDevice = Electron.BluetoothDevice;
type Certificate (line 26185) | type Certificate = Electron.Certificate;
type CertificatePrincipal (line 26186) | type CertificatePrincipal = Electron.CertificatePrincipal;
type ColorSpace (line 26187) | type ColorSpace = Electron.ColorSpace;
type ComponentError (line 26188) | type ComponentError = Electron.ComponentError;
type ComponentResult (line 26189) | type ComponentResult = Electron.ComponentResult;
type ComponentsError (line 26190) | type ComponentsError = Electron.ComponentsError;
type ComponentStatus (line 26191) | type ComponentStatus = Electron.ComponentStatus;
type Cookie (line 26192) | type Cookie = Electron.Cookie;
type CPUUsage (line 26193) | type CPUUsage = Electron.CPUUsage;
type CrashReport (line 26194) | type CrashReport = Electron.CrashReport;
type CustomScheme (line 26195) | type CustomScheme = Electron.CustomScheme;
type DesktopCapturerSource (line 26196) | type DesktopCapturerSource = Electron.DesktopCapturerSource;
type Display (line 26197) | type Display = Electron.Display;
type Extension (line 26198) | type Extension = Electron.Extension;
type ExtensionInfo (line 26199) | type ExtensionInfo = Electron.ExtensionInfo;
type FileFilter (line 26200) | type FileFilter = Electron.FileFilter;
type FilePathWithHeaders (line 26201) | type FilePathWithHeaders = Electron.FilePathWithHeaders;
type FilesystemPermissionRequest (line 26202) | type FilesystemPermissionRequest = Electron.FilesystemPermissionRequest;
type GPUFeatureStatus (line 26203) | type GPUFeatureStatus = Electron.GPUFeatureStatus;
type HIDDevice (line 26204) | type HIDDevice = Electron.HIDDevice;
type InputEvent (line 26205) | type InputEvent = Electron.InputEvent;
type IpcMainEvent (line 26206) | type IpcMainEvent = Electron.IpcMainEvent;
type IpcMainInvokeEvent (line 26207) | type IpcMainInvokeEvent = Electron.IpcMainInvokeEvent;
type IpcMainServiceWorkerEvent (line 26208) | type IpcMainServiceWorkerEvent = Electron.IpcMainServiceWorkerEvent;
type IpcMainServiceWorkerInvokeEvent (line 26209) | type IpcMainServiceWorkerInvokeEvent = Electron.IpcMainServiceWorkerInvo...
type IpcRendererEvent (line 26210) | type IpcRendererEvent = Electron.IpcRendererEvent;
type JumpListCategory (line 26211) | type JumpListCategory = Electron.JumpListCategory;
type JumpListItem (line 26212) | type JumpListItem = Electron.JumpListItem;
type KeyboardEvent (line 26213) | type KeyboardEvent = Electron.KeyboardEvent;
type KeyboardInputEvent (line 26214) | type KeyboardInputEvent = Electron.KeyboardInputEvent;
type MediaAccessPermissionRequest (line 26215) | type MediaAccessPermissionRequest = Electron.MediaAccessPermissionRequest;
type MemoryInfo (line 26216) | type MemoryInfo = Electron.MemoryInfo;
type MemoryUsageDetails (line 26217) | type MemoryUsageDetails = Electron.MemoryUsageDetails;
type MimeTypedBuffer (line 26218) | type MimeTypedBuffer = Electron.MimeTypedBuffer;
type MouseInputEvent (line 26219) | type MouseInputEvent = Electron.MouseInputEvent;
type MouseWheelInputEvent (line 26220) | type MouseWheelInputEvent = Electron.MouseWheelInputEvent;
type NavigationEntry (line 26221) | type NavigationEntry = Electron.NavigationEntry;
type NotificationAction (line 26222) | type NotificationAction = Electron.NotificationAction;
type NotificationResponse (line 26223) | type NotificationResponse = Electron.NotificationResponse;
type OffscreenSharedTexture (line 26224) | type OffscreenSharedTexture = Electron.OffscreenSharedTexture;
type OpenExternalPermissionRequest (line 26225) | type OpenExternalPermissionRequest = Electron.OpenExternalPermissionRequ...
type PaymentDiscount (line 26226) | type PaymentDiscount = Electron.PaymentDiscount;
type PermissionRequest (line 26227) | type PermissionRequest = Electron.PermissionRequest;
type Point (line 26228) | type Point = Electron.Point;
type PostBody (line 26229) | type PostBody = Electron.PostBody;
type PreloadScript (line 26230) | type PreloadScript = Electron.PreloadScript;
type PreloadScriptRegistration (line 26231) | type PreloadScriptRegistration = Electron.PreloadScriptRegistration;
type PrinterInfo (line 26232) | type PrinterInfo = Electron.PrinterInfo;
type ProcessMemoryInfo (line 26233) | type ProcessMemoryInfo = Electron.ProcessMemoryInfo;
type ProcessMetric (line 26234) | type ProcessMetric = Electron.ProcessMetric;
type Product (line 26235) | type Product = Electron.Product;
type ProductDiscount (line 26236) | type ProductDiscount = Electron.ProductDiscount;
type ProductSubscriptionPeriod (line 26237) | type ProductSubscriptionPeriod = Electron.ProductSubscriptionPeriod;
type ProtocolRequest (line 26238) | type ProtocolRequest = Electron.ProtocolRequest;
type ProtocolResponse (line 26239) | type ProtocolResponse = Electron.ProtocolResponse;
type ProtocolResponseUploadData (line 26240) | type ProtocolResponseUploadData = Electron.ProtocolResponseUploadData;
type ProxyConfig (line 26241) | type ProxyConfig = Electron.ProxyConfig;
type Rectangle (line 26242) | type Rectangle = Electron.Rectangle;
type Referrer (line 26243) | type Referrer = Electron.Referrer;
type RenderProcessGoneDetails (line 26244) | type RenderProcessGoneDetails = Electron.RenderProcessGoneDetails;
type ResolvedEndpoint (line 26245) | type ResolvedEndpoint = Electron.ResolvedEndpoint;
type ResolvedHost (line 26246) | type ResolvedHost = Electron.ResolvedHost;
type ScrubberItem (line 26247) | type ScrubberItem = Electron.ScrubberItem;
type SegmentedControlSegment (line 26248) | type SegmentedControlSegment = Electron.SegmentedControlSegment;
type SerialPort (line 26249) | type SerialPort = Electron.SerialPort;
type ServiceWorkerInfo (line 26250) | type ServiceWorkerInfo = Electron.ServiceWorkerInfo;
type SharedDictionaryInfo (line 26251) | type SharedDictionaryInfo = Electron.SharedDictionaryInfo;
type SharedDictionaryUsageInfo (line 26252) | type SharedDictionaryUsageInfo = Electron.SharedDictionaryUsageInfo;
type SharedTextureHandle (line 26253) | type SharedTextureHandle = Electron.SharedTextureHandle;
type SharedTextureImported (line 26254) | type SharedTextureImported = Electron.SharedTextureImported;
type SharedTextureImportedSubtle (line 26255) | type SharedTextureImportedSubtle = Electron.SharedTextureImportedSubtle;
type SharedTextureImportTextureInfo (line 26256) | type SharedTextureImportTextureInfo = Electron.SharedTextureImportTextur...
type SharedTextureSubtle (line 26257) | type SharedTextureSubtle = Electron.SharedTextureSubtle;
type SharedTextureSyncToken (line 26258) | type SharedTextureSyncToken = Electron.SharedTextureSyncToken;
type SharedTextureTransfer (line 26259) | type SharedTextureTransfer = Electron.SharedTextureTransfer;
type SharedWorkerInfo (line 26260) | type SharedWorkerInfo = Electron.SharedWorkerInfo;
type SharingItem (line 26261) | type SharingItem = Electron.SharingItem;
type ShortcutDetails (line 26262) | type ShortcutDetails = Electron.ShortcutDetails;
type Size (line 26263) | type Size = Electron.Size;
type Task (line 26264) | type Task = Electron.Task;
type ThumbarButton (line 26265) | type ThumbarButton = Electron.ThumbarButton;
type TraceCategoriesAndOptions (line 26266) | type TraceCategoriesAndOptions = Electron.TraceCategoriesAndOptions;
type TraceConfig (line 26267) | type TraceConfig = Electron.TraceConfig;
type Transaction (line 26268) | type Transaction = Electron.Transaction;
type UploadData (line 26269) | type UploadData = Electron.UploadData;
type UploadFile (line 26270) | type UploadFile = Electron.UploadFile;
type UploadRawData (line 26271) | type UploadRawData = Electron.UploadRawData;
type USBDevice (line 26272) | type USBDevice = Electron.USBDevice;
type UserDefaultTypes (line 26273) | type UserDefaultTypes = Electron.UserDefaultTypes;
type WebPreferences (line 26274) | type WebPreferences = Electron.WebPreferences;
type WebRequestFilter (line 26275) | type WebRequestFilter = Electron.WebRequestFilter;
type WebSource (line 26276) | type WebSource = Electron.WebSource;
type WindowOpenHandlerResponse (line 26277) | type WindowOpenHandlerResponse = Electron.WindowOpenHandlerResponse;
type WindowSessionEndEvent (line 26278) | type WindowSessionEndEvent = Electron.WindowSessionEndEvent;
type NodeRequireFunction (line 26337) | interface NodeRequireFunction {
type NodeRequire (line 26345) | interface NodeRequire {
type Document (line 26363) | interface Document {
type Process (line 26369) | interface Process extends NodeJS.EventEmitter {
type ProcessVersions (line 26595) | interface ProcessVersions {
FILE: index.js
function downloadElectron (line 7) | function downloadElectron () {
function getElectronPath (line 25) | function getElectronPath () {
FILE: install.js
function isInstalled (line 55) | function isInstalled () {
function extractFile (line 74) | function extractFile (zipPath) {
function getPlatformPath (line 93) | function getPlatformPath () {
FILE: vmp-resign.py
function to_hex (line 48) | def to_hex(data):
function compute_digest (line 56) | def compute_digest(hasher, *args):
function compute_sha512 (line 63) | def compute_sha512(*args):
function verify_sha512 (line 68) | def verify_sha512(v, *args):
function hash_macho0 (line 73) | def hash_macho0(exe):
function hash_macho (line 101) | def hash_macho(exe, version):
function hash_pe0 (line 110) | def hash_pe0(exe):
function hash_pe (line 115) | def hash_pe(exe, version):
function hash_elf0 (line 124) | def hash_elf0(exe):
function hash_elf (line 129) | def hash_elf(exe, version):
class Signature (line 138) | class Signature:
method __init__ (line 139) | def __init__(self):
function encode_byte (line 147) | def encode_byte(val):
function encode_leb128 (line 150) | def encode_leb128(val):
function encode_bytes (line 158) | def encode_bytes(tag, data):
function encode_signature (line 161) | def encode_signature(sig):
function sign_bytes (line 170) | def sign_bytes(data, key):
function sign_file (line 174) | def sign_file(file, version, key, cert, hash_func, flags):
function decode_byte (line 188) | def decode_byte(io):
function decode_leb128 (line 195) | def decode_leb128(io):
function decode_bytes (line 206) | def decode_bytes(io):
function decode_entry (line 209) | def decode_entry(io):
function decode_signature (line 212) | def decode_signature(io, end):
function load_pem_cert (line 246) | def load_pem_cert(data):
function load_der_cert (line 249) | def load_der_cert(data):
function load_cert (line 252) | def load_cert(file):
function load_pem_key (line 259) | def load_pem_key(data, password=None):
function load_der_key (line 262) | def load_der_key(data, password=None):
function load_key (line 265) | def load_key(file, password=None, prompt_password=False):
function mk_names (line 293) | def mk_names(names):
function mk_extension_values (line 300) | def mk_extension_values(func, val):
function mk_subject_key_identifier (line 305) | def mk_subject_key_identifier(entries, val):
function mk_authority_key_identifier (line 308) | def mk_authority_key_identifier(entries, val):
function mk_basic_constraints (line 313) | def mk_basic_constraints(entries, val):
function mk_key_usage (line 317) | def mk_key_usage(entries, val):
function mk_extended_key_usage (line 338) | def mk_extended_key_usage(entries, val):
function mk_binary_extension (line 341) | def mk_binary_extension(entries, val):
function mk_unknown_extension (line 344) | def mk_unknown_extension(entries,
Condensed preview — 16 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,167K chars).
[
{
"path": ".gitignore",
"chars": 293,
"preview": "# IntelliJ project files\n.idea\n*.iml\nout\ngen### Node template\n# Logs\nlogs\n*.log\nnpm-debug.log*\n\n# Runtime data\npids\n*.pi"
},
{
"path": "LICENSE",
"chars": 1075,
"preview": "MIT License\n\nCopyright (c) 2017-2025 castLabs GmbH\n\nPermission is hereby granted, free of charge, to any person obtainin"
},
{
"path": "README.md",
"chars": 4282,
"preview": "# Electron for Content Security\n\nCheck out the [Wiki](../../wiki) for general news, guides, and other updates.\n\n> :warni"
},
{
"path": "checksums.json",
"chars": 2284,
"preview": "{\n \"electron-api.json\": \"73929724c62e52d64ba2647f8ebd30c1e37c74976560620fc980b79b5f50c4f2\",\n \"electron-v42.0.0-alpha.6"
},
{
"path": "cli.js",
"chars": 694,
"preview": "#!/usr/bin/env node\n\nconst proc = require('child_process');\n\nconst electron = require('./');\n\nconst child = proc.spawn(e"
},
{
"path": "docs/api/components.md",
"chars": 3583,
"preview": "# components\n\n> Enable apps install and update components, such as the Widevine Content Decryption Module, using the Chr"
},
{
"path": "docs/api/structures/component-error.md",
"chars": 95,
"preview": "# ComponentError Object extends `Error`\n\n* `detail` ComponentResult - Component result record.\n"
},
{
"path": "docs/api/structures/component-result.md",
"chars": 93,
"preview": "# ComponentResult Object extends `ComponentStatus`\n\n* `id` String - Identifier of component.\n"
},
{
"path": "docs/api/structures/component-status.md",
"chars": 230,
"preview": "# ComponentStatus Object\n\n* `status` String - Status of component.\n* `title` String | null - Name of component (or `null"
},
{
"path": "docs/api/structures/components-error.md",
"chars": 110,
"preview": "# ComponentsError Object extends `Error`\n\n* `errors` ComponentError[] - Array of individual component errors.\n"
},
{
"path": "electron.d.ts",
"chars": 1097982,
"preview": "// Type definitions for Electron 42.0.0-alpha.6+wvcus\n// Project: http://electronjs.org/\n// Definitions by: The Electron"
},
{
"path": "index.js",
"chars": 1607,
"preview": "const { spawnSync } = require('child_process');\nconst fs = require('fs');\nconst path = require('path');\n\nconst pathFile "
},
{
"path": "install.js",
"chars": 3282,
"preview": "#!/usr/bin/env node\n\nconst { downloadArtifact } = require('@electron/get');\n\nconst extract = require('extract-zip');\n\nco"
},
{
"path": "package.json",
"chars": 847,
"preview": "{\n \"main\": \"index.js\",\n \"types\": \"electron.d.ts\",\n \"bin\": {\n \"electron\": \"cli.js\",\n \"install-electron\": \"instal"
},
{
"path": "path.txt",
"chars": 36,
"preview": "Electron.app/Contents/MacOS/Electron"
},
{
"path": "vmp-resign.py",
"chars": 21443,
"preview": "#!/usr/bin/env python\n\nimport sys\nimport logging\n\nfrom cryptography.hazmat import backends\nfrom cryptography.hazmat.prim"
}
]
About this extraction
This page contains the full source code of the castlabs/electron-releases GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 16 files (1.1 MB), approximately 242.1k tokens, and a symbol index with 2207 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.