import { GetJupiterPriceParams, GetJupiterPriceResponse, IRouterContext, QuoteParams, RouteOutput, RouteParams } from '../swap_api_utils'; import { RouterType } from '../consts'; import { Router } from '../swap_api_utils'; import { Logger } from '../utils/Logger'; import { Rpc, SolanaRpcApi } from '@solana/kit'; export declare class JupiterUltraRouter implements Router { readonly connection: Rpc; private readonly baseUrl; readonly routerType: RouterType; private logger; constructor(connection: Rpc, logger: Logger); quote(params: QuoteParams): Promise; route(params: RouteParams, _ctx: IRouterContext): Promise; private getSwapQuote; private buildRouteOutput; } export declare function executeJupiterZTransaction(params: ExecuteParams): Promise; export declare function fetchJupiterPrice(query: GetJupiterPriceParams): Promise; interface ExecuteParams { signedTransaction: string; requestId: string; logger: Logger; } interface SwapEvent { inputMint: string; inputAmount: string; outputMint: string; outputAmount: string; } interface ExecuteResponse { status: 'Success' | 'Failed'; signature?: string; slot?: string; error?: string; code: number; totalInputAmount?: string; totalOutputAmount?: string; inputAmountResult?: string; outputAmountResult?: string; swapEvents?: SwapEvent[]; } export {}; //# sourceMappingURL=jupiterUltra.d.ts.map