import type Api from "./lib/api"; import type CryptoInterface from "./lib/crypto/crypto-interface"; import type { JWKInterface } from "./lib/wallet"; import type FallbackApi from "./lib/fallbackApi"; export default class Wallets { private api; private crypto; constructor(api: Api | FallbackApi, crypto: CryptoInterface); /** * Get the wallet balance for the given address. * * @param {string} address - The arweave address to get the balance for. * * @returns {Promise} - Promise which resolves with a winston string balance. */ getBalance(address: string): Promise; /** * Get the last transaction ID for the given wallet address. * * @param {string} address - The arweave address to get the transaction for. * * @returns {Promise} - Promise which resolves with a transaction ID. */ getLastTransactionID(address: string): Promise; generate(): Promise; jwkToAddress(jwk?: JWKInterface | "use_wallet"): Promise; getAddress(jwk?: JWKInterface | "use_wallet"): Promise; ownerToAddress(owner: string): Promise; }