import { Nullable } from './'; /** * Encrypt function * @param {string} passphrase password * @param {string} plainText * @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html} */ declare function userJSEncrypt(passphrase: string, plainText: Nullable, debug?: boolean): Nullable; /** * Decrypt function * @param {string} passphrase password * @param {string} encryptedText * @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html} */ declare function userJSDecrypt(passphrase: string, encryptedText: Nullable, debug?: boolean): Nullable; /** * @see {@link https://www.webmanajemen.com/2019/07/phpjs-cryptojs-encrypt-decrypt.html} */ declare const _default: { encrypt: typeof userJSEncrypt; decrypt: typeof userJSDecrypt; }; export default _default;