export interface EncryptionUtils { getPubkey: () => Promise; decrypt: (ciphertext: Uint8Array, nonce: Uint8Array) => Promise; encrypt: (contractCodeHash: string, msg: object) => Promise; getTxEncryptionKey: (nonce: Uint8Array) => Promise; } export declare class EnigmaUtils implements EncryptionUtils { protected readonly url: string; protected readonly seed: Uint8Array; protected readonly chainId: string; private readonly privkey; readonly pubkey: Uint8Array; private consensusIoPubKey; constructor(url: string, seed: Uint8Array, chainId: string); private static secureRandom; static GenerateNewKeyPairFromSeed(seed: Uint8Array): { privkey: Uint8Array; pubkey: Uint8Array; }; private getConsensusIoPubKey; getTxEncryptionKey(nonce: Uint8Array): Promise; encrypt(contractCodeHash: string, msg: object): Promise; decrypt(ciphertext: Uint8Array, nonce: Uint8Array): Promise; getPubkey(): Promise; }