import { Connection, PublicKey } from "@solana/web3.js"; import { Wallet } from "./txUtils"; import { Basket, UIRebalanceIntent } from "."; export declare class RebalanceHandler { private params; private intent; private basket; constructor(params: { intent: UIRebalanceIntent; basket: Basket; wallet: Wallet; connection: Connection; network: "devnet" | "mainnet"; jupiterApiKey: string; maxAllowedAccounts: number; priorityFee?: number; simulateTransactions?: boolean; }); delay: (ms: number) => Promise; refresh(): Promise; static run(params: { intentPubkey: PublicKey; wallet: Wallet; connection: Connection; network: "devnet" | "mainnet"; jupiterApiKey: string; maxAllowedAccounts: number; priorityFee?: number; simulateTransactions?: boolean; }): Promise; private execute; }