import { App, Dialog, IpcMainEvent } from 'electron'; import ElectronApplicationContext from "../context/ElectronApplicationContext"; import { ElectronWindowMap, EVENT_TYPE, HOTKEY_SCAN_TYPE, WIN_CONFIG } from "../@types/types"; import ElectronWindow from "./ElectronWindow"; import { ElectronIpcMain } from "./event/ElectronIpcMain"; import { ElectronGlobalShortcut } from "./event/ElectronGlobalShortcut"; export default class ElectronContextWindow { application: App; ipc: ElectronIpcMain; dialog: Dialog; globalShortcut: ElectronGlobalShortcut; context: ElectronApplicationContext; children: ElectronWindowMap; defaultElectronWindowName: string; frames: { [key: string]: ElectronWindow; }; constructor(); start(): void; createChild(target: ElectronWindow | ElectronContextWindow, child: new (...args: any[]) => T, option?: WIN_CONFIG): void; setFrameId(id: string, win: ElectronWindow): void; releaseFrameId(id: string): void; getFrameState(): ElectronWindow | undefined; getFrameById(id: string): ElectronWindow | undefined; getFrame(processId: string, frameId: string): ElectronWindow | undefined; findWorker: (eventKey: string) => any; eventWorkerResult: {}; event: (eventType: EVENT_TYPE, eventKey: string, payout?: any, sender?: IpcMainEvent, event?: HOTKEY_SCAN_TYPE) => void; ipcEventHandler: (eventType: EVENT_TYPE, eventKey: string, payout: any, sender?: IpcMainEvent, event?: HOTKEY_SCAN_TYPE) => Promise; commonEventHandler: (eventType: EVENT_TYPE, eventKey: string, payout?: any, sender?: IpcMainEvent, event?: HOTKEY_SCAN_TYPE) => Promise; broadcastEvent: (eventKey: string, payout?: any, result?: any, sender?: IpcMainEvent, event?: HOTKEY_SCAN_TYPE) => void; } //# sourceMappingURL=ElectronContextWindow.d.ts.map