1 | import { RemoteEvents } from './RemoteSuite';
|
2 | import { ChannelOptions } from './channels/Base';
|
3 | export { ChannelOptions };
|
4 | export default class Channel {
|
5 | readonly options: ChannelOptions;
|
6 | private _channel;
|
7 | private _initialized;
|
8 | constructor(options: ChannelOptions);
|
9 | sendMessage(name: keyof RemoteEvents, data: any): Promise<any>;
|
10 | protected _initialize(): Promise<void>;
|
11 | }
|