import { Fp12 } from "./fp"; export interface Ciphertext { U: Uint8Array; V: Uint8Array; W: Uint8Array; } export declare function encryptOnG1(master: Uint8Array, ID: Uint8Array, msg: Uint8Array): Promise; export declare function encryptOnG2(master: Uint8Array, ID: Uint8Array, msg: Uint8Array): Promise; export declare function encryptOnG2RFC9380(master: Uint8Array, ID: Uint8Array, msg: Uint8Array): Promise; export declare function decryptOnG1(key: Uint8Array, ciphertext: Ciphertext): Promise; export declare function decryptOnG2(key: Uint8Array, ciphertext: Ciphertext): Promise; export declare function gtToHash(gt: Fp12, len: number): Uint8Array;