import { Signer as EthersSigner, TypedDataDomain, TypedDataField } from "@ethersproject/abstract-signer"; import { Bytes } from "@ethersproject/bytes"; import { ProgressCallback } from "@ethersproject/json-wallets"; import { Deferrable } from "@ethersproject/properties"; import { JsonRpcProvider as EthersJsonRpcProvider, JsonRpcSigner as EthersJsonRpcSigner, Provider, TransactionRequest, TransactionResponse } from "@ethersproject/providers"; import { Wallet as EthersWallet } from "@ethersproject/wallet"; import { PrivateKeyLike } from "./types.js"; export declare class Wallet extends EthersWallet { static fromEncryptedJson(json: string, password: string | Bytes, progress?: ProgressCallback): Promise; static fromEncryptedJsonSync(json: string, password: string | Bytes): Wallet; static fromEncryptedJsonList(json: string, password: string | Bytes, progress?: ProgressCallback): Promise; static fromEncryptedJsonListSync(json: string, password: string | Bytes): Wallet[]; private klaytnAddr; constructor(addressOrPrivateKey: string | PrivateKeyLike, privateKeyOrProvider?: PrivateKeyLike | Provider, provider?: Provider); getAddress(legacy?: boolean): Promise; getEtherAddress(): Promise; decodeTxFromRLP(rlp: string): any; isDecoupled(): Promise; checkTransaction(transaction: Deferrable): Deferrable; populateTransaction(transaction: Deferrable): Promise; private _populateTransaction; signTransaction(transaction: Deferrable): Promise; signTransactionAsFeePayer(transactionOrRLP: Deferrable | string): Promise; sendTransaction(transaction: Deferrable): Promise; sendTransactionAsFeePayer(transactionOrRLP: Deferrable | string): Promise; _sendKlaytnRawTransaction(signedTx: string): Promise; } export declare class JsonRpcSigner extends EthersSigner implements EthersJsonRpcSigner { readonly provider: EthersJsonRpcProvider; _index: number; _address: string; constructor(provider: EthersJsonRpcProvider, addressOrIndex?: string | number); isKaikas(): boolean; getAddress(): Promise; connect(_provider: Provider): EthersJsonRpcSigner; connectUnchecked(): EthersJsonRpcSigner; signMessage(message: string | Bytes): Promise; _legacySignMessage(message: Bytes | string): Promise; _signTypedData(domain: TypedDataDomain, types: Record>, value: Record): Promise; checkTransaction(transaction: Deferrable): Deferrable; populateTransaction(transaction: Deferrable): Promise; signTransaction(transaction: Deferrable): Promise; sendTransaction(transaction: Deferrable): Promise; sendUncheckedTransaction(transaction: Deferrable): Promise; unlock(password: string): Promise; }