import Electron from 'electron';
import { F as Factory } from '../../core-Bd2ynlyb.js';
import { R as RpcCtx, a as RpcServerOptions } from '../../types-CHWgzilt.js';
import 'phecda-core';
import '../../meta-ZbvaS7xK.js';

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 };
