import { FileInfo } from 'ssh2-sftp-client';
import sftp = require('ssh2-sftp-client');
import { SftpInterface } from './sftp-interface';
import { SftpConfig } from './types';
export declare class SftpClient implements SftpInterface {
    protected readonly config: SftpConfig;
    protected readonly baseYamlConfig: {
        processIdentifier: string;
    };
    readonly sftpClient: sftp;
    constructor(config: SftpConfig, baseYamlConfig: {
        processIdentifier: string;
    });
    init(): Promise<void>;
    writeFile(destination: string, content: string): Promise<string>;
    readFile(destination: string): Promise<Buffer>;
    moveFile(path: string, file: FileInfo, destination: string): Promise<void>;
    deleteFile(path: string): Promise<void>;
    list(destination: string): Promise<Array<FileInfo>>;
}
