declare function createCrypto({ secretKey, hashAlgorithm, encryptionAlgorithm, ivLength, iterations, saltLength, }: { secretKey: string; hashAlgorithm?: string; encryptionAlgorithm?: string; ivLength?: number; iterations?: number; saltLength?: number; }): { secureEncrypt: (data: T) => Promise; secureDecrypt: (encryptedData: string) => Promise; encrypt: (data: T_2) => Promise; decrypt: (encryptedData: string) => Promise; }; export { createCrypto };