declare const _default: { /** * @name encrypt * @type Function * * Encrypt * * @param {String} message The message to encrypt * @param {String} [key='lotsof.sugar.crypto.aes'] The secret key to encrypt * @return {String} The encrypted message * * @author Olivier Bossel (https://lotsof.io) */ encrypt: (message: any, key?: string) => any; /** * @name decrypt * @type Function * * Decrypt * * @param {String} message The message to decrypt * @param {String} [key='lotsof.sugar.crypto.aes'] The secret key to decrypt * @return {String} The decrypted message * * @author Olivier Bossel (https://lotsof.io) */ decrypt: (message: any, key?: string) => any; }; export default _default;