import { ArconnectSigner } from "arbundles"; import BigNumber from "bignumber.js"; import type { TokenConfig, Tx } from "../../common/types.js"; import { Arweave } from "../utils.js"; import BaseWebToken from "./base.js"; import type { WebIrysConfig } from "../types.js"; import { BaseWebIrys } from "../base.js"; export default class ArweaveConfig extends BaseWebToken { protected providerInstance: Arweave; isSlow: boolean; opts?: { provider?: "arconnect" | "arweave.app"; network?: string; }; protected wallet: Window["arweaveWallet"]; protected signerInstance: ArconnectSigner; constructor(config: TokenConfig); private getProvider; getTx(txId: string): Promise; ownerToAddress(owner: any): string; sign(data: Uint8Array): Promise; getSigner(): ArconnectSigner; verify(pub: any, data: Uint8Array, signature: Uint8Array): Promise; getCurrentHeight(): Promise; getFee(amount: BigNumber.Value, to?: string): Promise; sendTx(data: any): Promise; createTx(amount: BigNumber.Value, to: string, fee?: string): Promise<{ txId: string | undefined; tx: any; }>; getPublicKey(): Promise; ready(): Promise; } export declare class ArweaveWebIrys extends BaseWebIrys { constructor({ url, wallet, config }: WebIrysConfig); }