1 | import { Wechaty } from './wechaty';
|
2 | export interface IoClientOptions {
|
3 | token: string;
|
4 | wechaty: Wechaty;
|
5 | port?: number;
|
6 | }
|
7 | export declare class IoClient {
|
8 | |
9 |
|
10 |
|
11 |
|
12 | private io?;
|
13 | private puppetServer?;
|
14 | private state;
|
15 | protected options: Required<IoClientOptions>;
|
16 | constructor(options: IoClientOptions);
|
17 | private startPuppetServer;
|
18 | private stopPuppetServer;
|
19 | start(): Promise<void>;
|
20 | private hookWechaty;
|
21 | private startIo;
|
22 | private stopIo;
|
23 | private onMessage;
|
24 | stop(): Promise<void>;
|
25 | restart(): Promise<void>;
|
26 | quit(): Promise<void>;
|
27 | }
|
28 | //# sourceMappingURL=io-client.d.ts.map |
\ | No newline at end of file |