UNPKG

877 BTypeScriptView Raw
1import { interfaces } from 'inversify';
2import { RpcProxy } from '../../common/messaging';
3import { AbstractConnectionProvider } from '../../common/messaging/abstract-connection-provider';
4import { AbstractChannel, Channel, WriteBuffer } from '../../common';
5export interface ElectronIpcOptions {
6}
7/**
8 * Connection provider between the Theia frontend and the electron-main process via IPC.
9 */
10export declare class ElectronIpcConnectionProvider extends AbstractConnectionProvider<ElectronIpcOptions> {
11 static createProxy<T extends object>(container: interfaces.Container, path: string, arg?: object): RpcProxy<T>;
12 constructor();
13 protected createMainChannel(): Channel;
14}
15export declare class ElectronIpcRendererChannel extends AbstractChannel {
16 constructor();
17 getWriteBuffer(): WriteBuffer;
18}
19//# sourceMappingURL=electron-ipc-connection-provider.d.ts.map
\No newline at end of file