import { EVMTransactionHistoryItem } from "./evm/transactionParsing"; import { PriceResponse } from "./price.types"; import { SVMTransactionHistoryItem } from "./svm/transactionParsing"; import { Balance, ChainWalletConfig, TokenInfo, TransactionResult, UserTokenBalance, NFT } from "./types"; export declare abstract class ChainAddress { config: ChainWalletConfig; address: AddressType; index: number | undefined; connection: ConnectionType | undefined; constructor(config: ChainWalletConfig, address: AddressType, index?: number); abstract getNativeBalance(): Promise; abstract getTokenBalance(tokenAddress: AddressType): Promise; abstract discoverToken(): Promise[]>; abstract discoverNFT(): Promise; abstract getTransactionHistory(): Promise<(SVMTransactionHistoryItem | EVMTransactionHistoryItem)[]>; abstract getPrices(tokenAddresses: string[]): Promise; getAddress(): AddressType; getChainWalletConfig(): ChainWalletConfig; } export declare abstract class ChainWallet extends ChainAddress { protected privateKey: PrivateKeyType; constructor(config: ChainWalletConfig, address: AddressType, privateKey: PrivateKeyType, index?: number); protected abstract generateAddress(privateKey: PrivateKeyType): AddressType; abstract transferNative(to: AddressType, amount: number): Promise; abstract transferToken(tokenAddress: TokenInfo, to: AddressType, amount: number): Promise; abstract swap(tokenAddress: TokenInfo, to: AddressType, amount: number, slippage?: number): Promise; abstract convertFromEntropyToPrivateKey(entropy: string): PrivateKeyType; protected getPrivateKey(): PrivateKeyType; }