import { QRLExecutionAPI, Bytes, Transaction, KeyStore } from '@theqrl/web3-types'; import { Web3Context } from '@theqrl/web3-core'; import { Wallet } from '@theqrl/web3-qrl-accounts'; /** * Initialize the accounts module for the given context. * * To avoid multiple package dependencies for `@theqrl/web3-qrl-accounts` we are creating * this function in `web3` package. In future the actual `@theqrl/web3-qrl-accounts` package * should be converted to context aware. */ export declare const initAccountsForContext: (context: Web3Context) => { signTransaction: (transaction: Transaction, seed: Bytes) => Promise; create: () => { signTransaction: (transaction: Transaction) => Promise; address: import("@theqrl/web3-types").HexString; seed: import("@theqrl/web3-types").HexString; sign: (data: Record | string) => { readonly messageHash: import("@theqrl/web3-types").HexString; readonly message?: string; readonly signature: import("@theqrl/web3-types").HexString; }; encrypt: (password: string, options?: Record) => Promise; }; seedToAccount: (seed: Uint8Array | string) => { signTransaction: (transaction: Transaction) => Promise; address: import("@theqrl/web3-types").HexString; seed: import("@theqrl/web3-types").HexString; sign: (data: Record | string) => { readonly messageHash: import("@theqrl/web3-types").HexString; readonly message?: string; readonly signature: import("@theqrl/web3-types").HexString; }; encrypt: (password: string, options?: Record) => Promise; }; decrypt: (keystore: KeyStore | string, password: string, options?: Record) => Promise<{ signTransaction: (transaction: Transaction) => Promise; address: import("@theqrl/web3-types").HexString; seed: import("@theqrl/web3-types").HexString; sign: (data: Record | string) => { readonly messageHash: import("@theqrl/web3-types").HexString; readonly message?: string; readonly signature: import("@theqrl/web3-types").HexString; }; encrypt: (password: string, options?: Record) => Promise; }>; recoverTransaction: (rawTransaction: import("@theqrl/web3-types").HexString) => import("@theqrl/web3-types").Address; hashMessage: (message: string) => string; sign: (data: string, seed: Bytes) => import("@theqrl/web3-qrl-accounts").SignResult; encrypt: (seed: Bytes, password: string | Uint8Array, options?: import("@theqrl/web3-types").CipherOptions) => Promise; wallet: Wallet<{ signTransaction: (transaction: Transaction) => Promise; address: import("@theqrl/web3-types").HexString; seed: import("@theqrl/web3-types").HexString; sign: (data: Record | string) => { readonly messageHash: import("@theqrl/web3-types").HexString; readonly message?: string; readonly signature: import("@theqrl/web3-types").HexString; }; encrypt: (password: string, options?: Record) => Promise; }>; }; //# sourceMappingURL=accounts.d.ts.map