export declare const AESType: { readonly AES128: 0; readonly AES256: 1; }; export type AESTypeValue = (typeof AESType)[keyof typeof AESType]; export declare function encrypt(plainText: string, key: string): string; export declare function decrypt(encryptedText: string, key: string): string; export declare function encryptAsync(plainText: string, key: string): Promise; export declare function decryptAsync(encryptedText: string, key: string): Promise; export declare function encrypt256(plainText: string, key: string): string; export declare function decrypt256(encryptedText: string, key: string): string; export declare function encrypt256Async(plainText: string, key: string): Promise; export declare function decrypt256Async(encryptedText: string, key: string): Promise; //# sourceMappingURL=index.d.ts.map