1 | export * from './client';
|
2 | export declare class Zookeeper {
|
3 | private options;
|
4 | constructor(options?: IOptions);
|
5 | command(command: string, callback?: (err: any, data: any) => void): Promise<any>;
|
6 | }
|
7 | export interface IOptions {
|
8 | host: string;
|
9 | port: number;
|
10 | timeout_ms: number;
|
11 | }
|
12 | export declare class Options implements IOptions {
|
13 | host: string;
|
14 | port: number;
|
15 | timeout_ms: number;
|
16 | constructor(host?: string, port?: number, timeout_ms?: number);
|
17 | }
|