///
import { Buffer } from 'buffer';
import { Disposable } from 'vscode-jsonrpc';
import { SshAlgorithm } from './sshAlgorithm';
export declare abstract class EncryptionAlgorithm implements SshAlgorithm {
readonly name: string;
protected constructor(name: string);
abstract readonly keyLength: number;
abstract readonly blockLength: number;
abstract createCipher(isEncryption: boolean, key: Buffer, iv: Buffer): Promise;
}
export interface Cipher extends Disposable {
readonly blockLength: number;
transform(data: Buffer): Promise;
}
//# sourceMappingURL=encryptionAlgorithm.d.ts.map