import { TransactionInstruction, PublicKey } from "@solana/web3.js";
import BN from "bn.js";
export interface WithdrawObligationCollateralAndRedeemReserveCollateralV2Args {
    collateralAmount: BN;
}
export interface WithdrawObligationCollateralAndRedeemReserveCollateralV2Accounts {
    withdrawAccounts: {
        owner: PublicKey;
        obligation: PublicKey;
        lendingMarket: PublicKey;
        lendingMarketAuthority: PublicKey;
        withdrawReserve: PublicKey;
        reserveLiquidityMint: PublicKey;
        reserveSourceCollateral: PublicKey;
        reserveCollateralMint: PublicKey;
        reserveLiquiditySupply: PublicKey;
        userDestinationLiquidity: PublicKey;
        placeholderUserDestinationCollateral: PublicKey;
        collateralTokenProgram: PublicKey;
        liquidityTokenProgram: PublicKey;
        instructionSysvarAccount: PublicKey;
    };
    farmsAccounts: {
        obligationFarmUserState: PublicKey;
        reserveFarmState: PublicKey;
    };
    farmsProgram: PublicKey;
}
export declare const layout: any;
export declare function withdrawObligationCollateralAndRedeemReserveCollateralV2(args: WithdrawObligationCollateralAndRedeemReserveCollateralV2Args, accounts: WithdrawObligationCollateralAndRedeemReserveCollateralV2Accounts, programId?: PublicKey): TransactionInstruction;
//# sourceMappingURL=withdrawObligationCollateralAndRedeemReserveCollateralV2.d.ts.map