import * as openpgp from 'openpgp/lightweight';
declare const EncryptUtils: {
    createPassphrase(length?: number): string;
    generateKey(passphrase: string): Promise<{
        publicKeyArmored: string;
        privateKeyArmored: string;
    }>;
    asymmetricEncrypt(data: string, publicKeyArmored: string, privateKeyArmored: string, passphrase: string): Promise<string>;
    symmetricEncrypt(data: string, passphrase: string): Promise<string>;
    decryptPrivateKey({ privateKeyArmored, passphrase }: {
        privateKeyArmored: any;
        passphrase: any;
    }): Promise<openpgp.PrivateKey>;
    keyToBase64(key: string, passphrase: string): Promise<string>;
    keyFromBase64(base64D: string, passphrase: string): Promise<openpgp.PrivateKey>;
};
export default EncryptUtils;
