import { Contract, ContractRunner, Provider } from "ethers"; import { RsaKeyPair } from "../types"; import { Wallet } from "../wallet/Wallet"; import { JsonRpcSigner } from "../providers/JsonRpcSigner"; export declare function getAccountOnboardContract(contractAddress: string, runner?: ContractRunner): Contract; export declare function onboard(defaultOnboardContractAddress: string, signer: Wallet | JsonRpcSigner): Promise<{ aesKey: string; rsaKey: { publicKey: Uint8Array; privateKey: Uint8Array; }; txHash: any; }>; export declare function recoverAesFromTx(txHash: string, rsaKey: RsaKeyPair, defaultOnboardContractAddress: string, provider: Provider | null): Promise;