import { Address, AccountMeta, AccountSignerMeta, Instruction, Option, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export declare const DISCRIMINATOR: Buffer; export interface RepayAndWithdrawAndRedeemArgs { repayAmount: BN; withdrawCollateralAmount: BN; } export interface RepayAndWithdrawAndRedeemAccounts { repayAccounts: { owner: TransactionSigner; obligation: Address; lendingMarket: Address; repayReserve: Address; reserveLiquidityMint: Address; reserveDestinationLiquidity: Address; userSourceLiquidity: Address; tokenProgram: Address; instructionSysvarAccount: Address; }; withdrawAccounts: { owner: TransactionSigner; obligation: Address; lendingMarket: Address; lendingMarketAuthority: Address; withdrawReserve: Address; reserveLiquidityMint: Address; reserveSourceCollateral: Address; reserveCollateralMint: Address; reserveLiquiditySupply: Address; userDestinationLiquidity: Address; placeholderUserDestinationCollateral: Option
; collateralTokenProgram: Address; liquidityTokenProgram: Address; instructionSysvarAccount: Address; }; collateralFarmsAccounts: { obligationFarmUserState: Option
; reserveFarmState: Option
; }; debtFarmsAccounts: { obligationFarmUserState: Option
; reserveFarmState: Option
; }; farmsProgram: Address; } export declare const layout: import("buffer-layout").Layout; export declare function repayAndWithdrawAndRedeem(args: RepayAndWithdrawAndRedeemArgs, accounts: RepayAndWithdrawAndRedeemAccounts, remainingAccounts?: Array, programAddress?: Address): Instruction | import("@solana/kit").AccountLookupMeta)[]>; //# sourceMappingURL=repayAndWithdrawAndRedeem.d.ts.map