import { t as EventContext } from "../../context-C4Cia9QU.mjs"; import { n as errorEvent, t as Payload } from "../../shared-C2UTd3aD.mjs"; import { BrowserWindow, IpcMain, IpcMainEvent } from "electron"; //#region src/adapters/electron/main.d.ts declare function createContext(ipcMain: IpcMain, window?: BrowserWindow, options?: { onlySameWindow?: boolean; messageEventName?: string | false; errorEventName?: string | false; extraListeners?: Record void | Promise>; throwIfFailedToSend?: boolean; }): { context: EventContext<{ invokeRequest?: { raw?: { ipcMainEvent: IpcMainEvent; event: Event | unknown; }; }; }, { raw: { ipcMainEvent: IpcMainEvent; event: Event | unknown; }; }>; dispose: (reason?: unknown) => void; }; //#endregion export { type Payload, createContext, type errorEvent }; //# sourceMappingURL=main.d.mts.map