1 | import { WebContents } from 'electron';
|
2 | import PromiseIpcBase, { Options } from './base';
|
3 | export declare class PromiseIpcMain extends PromiseIpcBase {
|
4 | constructor(opts?: Options);
|
5 | send(route: string, webContents: WebContents, ...dataArgs: unknown[]): Promise<unknown>;
|
6 | }
|
7 | export declare type MainProcessType = PromiseIpcMain & {
|
8 | PromiseIpc?: typeof PromiseIpcMain;
|
9 | PromiseIpcMain?: typeof PromiseIpcMain;
|
10 | };
|
11 | export declare const PromiseIpc: typeof PromiseIpcMain;
|
12 | declare const mainExport: MainProcessType;
|
13 | export default mainExport;
|