import { RendererInterface } from 'electron'; import { NgZone } from '@angular/core'; export declare class IpcRendererProxy { /** * 用于存放渲染进程中的channel 对应的 回调 */ private static callbackMap; /** * 用于存放渲染进程中的回调 对应的 channel 用于解决回调参数中 多处使用同一个函数对象的情况 */ private static callbackMap2; static proxy(electron: RendererInterface, ngZone: NgZone): void; /** * 代理sender 代理方法有send|sendSync|sendTo|sendToHost * @private */ private static proxyIpcRenderer; /** * 代理sender的指定方法 参数注册回调 * @private */ private static proxyIpcRendererMethod; private static registryCallback; private static analysisCallback; }