import type { Connection } from "@solana/web3.js"; import { PublicKey } from "@solana/web3.js"; export declare class SwapApiError extends Error { readonly name: string; readonly status: number; constructor(msg: string, status: number); } export declare function swapApiRequest(method: string, path: string, body?: Object): Promise; declare type SolletInfo = { blockchain: string; erc20Contract: string; name: string; splMint: PublicKey; ticker: string; }; export declare function fetchSolletInfo(mint: PublicKey): Promise; export declare function requestWormholeSwapMarketIfNeeded(connection: Connection, solletMint: PublicKey, wormholeMint: PublicKey, swapMarket: PublicKey, solletInfo: SolletInfo): Promise; export {}; //# sourceMappingURL=utils.d.ts.map