import Electron from 'electron';
import { F as Factory } from '../../core-B5yKYkMJ.mjs';
import { R as RpcCtx, a as RpcServerOptions } from '../../types-7-m2wEkP.mjs';
import 'phecda-core';
import '../../meta-C_eDyXnK.mjs';

interface ElectronCtx extends RpcCtx {
    type: 'electron';
    event: Electron.IpcMainEvent | Electron.IpcMainInvokeEvent;
}
declare function bind(IPC: Electron.IpcMain, { moduleMap, meta }: Awaited<ReturnType<typeof Factory>>, opts?: RpcServerOptions): void;

export { type ElectronCtx, bind };
