UNPKG

476 BTypeScriptView Raw
1export * from './client';
2export declare class Zookeeper {
3 private options;
4 constructor(options?: IOptions);
5 command(command: string, callback?: (err: any, data: any) => void): Promise<any>;
6}
7export interface IOptions {
8 host: string;
9 port: number;
10 timeout_ms: number;
11}
12export 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}