import { CryptoAlgorithm } from "./keyStore/IKeyStore";
/**
 * Base error class for the crypto.
 */
export default class CryptoError extends Error {
    /**
     * The algorithm name having the error.
     */
    algorithm: CryptoAlgorithm;
    /**
     * Create instance of @class CryptoProtocolError
     * @param protocol name
     * @param message for the error
     */
    constructor(algorithm: CryptoAlgorithm, message: string);
}
