import { EnigmaUtils } from "./enigma-utils"; import { ChainsService } from "../chains"; import { KVStore } from "@keplr-wallet/common"; import { KeyRingCosmosService } from "../keyring-cosmos"; export declare class SecretWasmService { protected readonly kvStore: KVStore; protected readonly chainsService: ChainsService; protected readonly keyRingCosmosService: KeyRingCosmosService; protected cacheEnigmaUtils: Map; protected readonly seedMap: Map; constructor(kvStore: KVStore, chainsService: ChainsService, keyRingCosmosService: KeyRingCosmosService); init(): Promise; protected readonly onChainRemoved: () => void; protected getCosmosRest(chainId: string): string; getPubkey(chainId: string): Promise; getTxEncryptionKey(chainId: string, nonce: Uint8Array): Promise; encrypt(chainId: string, contractCodeHash: string, msg: object): Promise; decrypt(chainId: string, ciphertext: Uint8Array, nonce: Uint8Array): Promise; private getEnigmaUtils; protected getSeed(chainId: string): Promise; protected getSeedInner(chainId: string, key: { readonly bech32Address: string; readonly isNanoLedger: boolean; readonly isKeystone: boolean; }): Promise; }