/** * Jupiter Ultra Swap — Solana DEX aggregator (built-in Franklin tool). * * We do NOT proxy through the BlockRun gateway — Jupiter's ToU forbids that. * Instead the agent calls Jupiter's Ultra API directly from this process, * embedding BlockRun's Referral Program identity in every order. The 20 bps * platform fee flows on-chain to BlockRun's referral wallet at swap settlement * (Jupiter's officially-supported integrator monetization mechanism — same one * Phantom and other wallets use). * * Two tools exposed: * - JupiterQuote — read-only price check (no AskUser, no signing) * - JupiterSwap — full flow: order → AskUser confirm → sign → execute * * Reference implementation: * https://github.com/Jupiter-DevRel/typescript-examples/tree/main/ultra/order-execute-with-referral-accounts */ import type { CapabilityHandler } from '../agent/types.js'; export declare function toAtomicUnits(amount: number, decimals: number): string; export declare const jupiterQuoteCapability: CapabilityHandler; export declare const jupiterSwapCapability: CapabilityHandler;