import { Program } from "@coral-xyz/anchor";
import { PublicKey, TransactionInstruction } from "@solana/web3.js";
import { BasketsProgram } from "../../idl/types";
import { BasketState } from "../../state/basket";
export declare function withdrawBeforeRebalanceIx(params: {
    program: Program<BasketsProgram>;
    basketState: BasketState;
    payer: PublicKey;
    fromTokenMint: PublicKey;
    toTokenMint: PublicKey;
    amountToWithdraw: number;
    checkWeights: boolean;
    fromTokenWeight: number;
    toTokenWeight: number;
}): Promise<TransactionInstruction>;
