import { FetchRequest, Networkish, JsonRpcProvider as EthersJsonRpcProvider, BrowserProvider as EthersWeb3Provider } from "ethers"; import { AsyncNamespaceApi } from "@kaiachain/js-ext-core"; import { JsonRpcSigner } from "./signer.js"; export declare class JsonRpcProvider extends EthersJsonRpcProvider { admin: AsyncNamespaceApi; debug: AsyncNamespaceApi; governance: AsyncNamespaceApi; klay: AsyncNamespaceApi; net: AsyncNamespaceApi; personal: AsyncNamespaceApi; txpool: AsyncNamespaceApi; constructor(url?: FetchRequest | string | undefined, network?: Networkish); } export declare class Web3Provider extends EthersWeb3Provider { admin: AsyncNamespaceApi; debug: AsyncNamespaceApi; governance: AsyncNamespaceApi; klay: AsyncNamespaceApi; net: AsyncNamespaceApi; personal: AsyncNamespaceApi; txpool: AsyncNamespaceApi; isKaikas?: boolean; isMobile?: boolean; private _sendFunction; constructor(provider: any, network?: any); getSigner(addressOrIndex?: string | number): Promise; send(method: string, params: Array | Record): Promise; listAccounts(): Promise>; getTransactionCount(address: string): Promise; estimateGas(tx: any): Promise; signMessage(message: string): Promise; getGasPrice(): Promise; getFeeData(): Promise; }