import { JsonRpcProvider, Wallet } from 'ethers'; type Providerish = JsonRpcProvider; type Signerish = Wallet; export declare class Helper3 { readonly address: string; readonly provider: Providerish; protected constructor(address: string, provider: Providerish); static connectByChain(chain: 'BSC' | 'BASE' | 'ARBITRUM_ONE', rpcUrl: string): Helper3; private get contract(); getTokenInfo(token: string): Promise; tryBuy(token: string, amount: bigint, funds: bigint): Promise; trySell(token: string, amount: bigint): Promise; calcInitialPrice(maxRaising: bigint, totalSupply: bigint, offers: bigint, reserves: bigint): Promise; calcBuyAmount(ti: any, funds: bigint): Promise; calcBuyCost(ti: any, amount: bigint): Promise; calcSellCost(ti: any, amount: bigint): Promise; calcTradingFee(ti: any, funds: bigint): Promise; getPancakePair(token: string): Promise; WETH(): Promise; WHITE_LIST(): Promise; calcEthIn(token: string, amount: bigint): Promise; calcEthOut(token: string, amount: bigint): Promise; calcTokenIn(token: string, amountEth: bigint): Promise; calcTokenOut(token: string, amountEth: bigint): Promise; } export declare class Helper3Writer extends Helper3 { readonly signer: Signerish; protected constructor(address: string, signer: Signerish); static fromPrivateKeyByChain(chain: 'BSC' | 'BASE' | 'ARBITRUM_ONE', rpcUrl: string, privateKey: string): Helper3Writer; private get writeContract(); buyWithEth(origin: bigint, token: string, to: string, funds: bigint, minAmount: bigint): Promise; sellForEth(origin: bigint, token: string, amount: bigint, minFunds: bigint, feeRate: bigint, feeRecipient: string): Promise; sellForEthFrom(origin: bigint, token: string, from: string, amount: bigint, minFunds: bigint, feeRate: bigint, feeRecipient: string): Promise; sellForEthTo(origin: bigint, token: string, from: string, to: string, amount: bigint, minFunds: bigint): Promise; } export {};