import { RouteExtended, TransactionRequest } from "@lifi/sdk";
import { Rpc } from "./solana";
import { Signature } from "@solana/kit";
import { TransactionDetails } from "./types";
export interface GetLIFISwapQuoteParams {
    fromAmount: string;
    fromTokenAddress: string;
    toTokenAddress: string;
    privateKey: string;
    slippage?: number;
    maxPriceImpact?: number;
    maxGasUSD?: number;
}
export declare const getLIFISwapQuote: ({ fromAmount, fromTokenAddress, toTokenAddress, privateKey, slippage, maxPriceImpact, maxGasUSD, }: GetLIFISwapQuoteParams) => Promise<import("@lifi/sdk").LiFiStep>;
export declare const getLIFITransactionLinks: (route: RouteExtended) => string[];
export interface SwapAssetsParams {
    rpc: Rpc;
    fromAmount: string;
    fromTokenAddress: string;
    toTokenAddress: string;
    walletByteArray: Uint8Array;
    slippage?: number;
    maxPriceImpact?: number;
    maxRetries?: number;
    confirmation?: "confirmed" | "finalized";
    maxGasUSD?: number;
}
export declare const swapAssets: ({ rpc, fromAmount, fromTokenAddress, toTokenAddress, walletByteArray, slippage, maxPriceImpact, maxRetries, confirmation, maxGasUSD, }: SwapAssetsParams) => Promise<TransactionDetails & {
    valueLoss: number;
}>;
export declare const manuallExecuteLIFISwap: (transactionRequest: TransactionRequest, privateKey: string) => Promise<Signature>;
//# sourceMappingURL=lifi.d.ts.map