import type { Balances, Chain, ChainsConfig, Network, SignedTx, StaticPlatformMethods, TokenId, TxHash, IndexerConfig } from '@wormhole-foundation/sdk-connect'; import { PlatformContext } from '@wormhole-foundation/sdk-connect'; import type { Provider } from 'ethers'; import * as ethers_contracts from './ethers-contracts/index.js'; import { EvmChain } from './chain.js'; import type { AnyEvmAddress, EvmChains, EvmPlatformType } from './types.js'; /** * @category EVM */ export declare class EvmPlatform extends PlatformContext implements StaticPlatformMethods { static _platform: "Evm"; private _providers; constructor(network: N, _config?: ChainsConfig); getRpc(chain: C): Provider; getChain(chain: C, rpc?: Provider): EvmChain; static nativeTokenId(network: N, chain: C): TokenId; static isNativeTokenId(network: N, chain: C, tokenId: TokenId): boolean; static isSupportedChain(chain: Chain): boolean; static getDecimals(_network: Network, _chain: Chain, rpc: Provider, token: AnyEvmAddress): Promise; static getBalance(_network: Network, _chain: Chain, rpc: Provider, walletAddr: string, token: AnyEvmAddress): Promise; static getBalances(network: Network, chain: Chain, rpc: Provider, walletAddr: string, indexers?: IndexerConfig): Promise; static readonly CHAINS_WITH_CUSTOM_TX_TYPES: Set; static sendWait(chain: Chain, rpc: Provider, stxns: SignedTx[]): Promise; static getLatestBlock(rpc: Provider): Promise; static getLatestFinalizedBlock(rpc: Provider): Promise; static chainFromChainId(eip155ChainId: string): [Network, EvmChains]; static chainFromRpc(rpc: Provider): Promise<[Network, EvmChains]>; static getTokenImplementation(connection: Provider, address: string): ethers_contracts.TokenImplementation; } //# sourceMappingURL=platform.d.ts.map