import { MTAgent } from './agent'; export declare class MTPool { private host; private port; private login; private password; private maxPoolSize; readonly TZ: Promise; private Agent; agentFactory: () => MTAgent; private reqConfig; private setTz; constructor(host: string, port: number | 'string', login: string, password: string, maxPoolSize?: number); stream: (path: string, body?: string, agent?: MTAgent) => Promise; request: (path: string, body?: string, agent?: MTAgent) => Promise<{ answer: T; trans_id?: string; retcode: string; }>; dispose(): void; }