/// import { EventEmitter } from 'events'; import { Wire } from './wire'; export default class ElIPCTransport extends EventEmitter implements Wire { #private; onmessage: (data: any) => void; protected wire: Electron.IpcRenderer; constructor(onmessage: (data: any) => void); connectSync: () => any; connect: () => Promise; send: (data: any) => Promise; shutdown: () => Promise; getPort(): string; }