export declare class CryptoUtils { /** * Encrypts data using AES with the last 32 bytes of the secret * @param secret The secret key for encryption * @param payload The data to encrypt */ static encrypt(secret: Uint8Array, payload: Uint8Array): Promise; /** * Encrypts a string using AES with the last 32 bytes of the secret * @param secret The secret key for encryption * @param payload The string to encrypt */ static encryptString(secret: Uint8Array, payload: string): Promise; /** * Decrypts data using AES with the last 32 bytes of the secret * @param secret The secret key for decryption * @param payload The data to decrypt */ static decrypt(secret: Uint8Array, payload: Uint8Array): Promise; /** * Decrypts data and converts it to a string using AES with the last 32 bytes of the secret * @param secret The secret key for decryption * @param payload The data to decrypt */ static decryptString(secret: Uint8Array, payload: Uint8Array): Promise; }