1 | import { Channel } from '../../common/message-rpc/channel';
|
2 | export interface ElectronMessagingService {
|
3 | /**
|
4 | * Accept an ipc channel on the given path.
|
5 | * A path supports the route syntax: https://github.com/rcs/route-parser#what-can-i-use-in-my-routes.
|
6 | */
|
7 | ipcChannel(path: string, callback: (params: ElectronMessagingService.PathParams, socket: Channel) => void): void;
|
8 | }
|
9 | export declare namespace ElectronMessagingService {
|
10 | interface PathParams {
|
11 | [name: string]: string;
|
12 | }
|
13 | const Contribution: unique symbol;
|
14 | interface Contribution {
|
15 | configure(service: ElectronMessagingService): void;
|
16 | }
|
17 | }
|
18 | //# sourceMappingURL=electron-messaging-service.d.ts.map |
\ | No newline at end of file |