/// import { EventEmitter } from "events"; export declare class FtpClient extends EventEmitter { private _ftp; private _isReady; private _opts; constructor(option: IFtpOptions); readonly connected: boolean; connect(): Promise<{}>; list(path: string, zcomp?: boolean): Promise<{}>; put(file: string, path: string, zcomp?: boolean): Promise<{}>; putDir(path: string, toPath: string, zcomp?: boolean): Promise<{ count: number; total: number; }>; mkdir(path: string, recursive?: boolean): Promise<{}>; pwd(): Promise<{}>; close(): void; } export interface IFtpOptions { host?: string; port?: number; user?: string; password?: string; secure?: boolean; connTimeout?: number; pasvTimeout?: number; aliveTimeout?: number; debug?: Function; }