import { Address, AccountMeta, AccountSignerMeta, Instruction, Option, TransactionSigner } from "@solana/kit"; import BN from "bn.js"; export declare const DISCRIMINATOR: Buffer; export interface DepositAndWithdrawArgs { liquidityAmount: BN; withdrawCollateralAmount: BN; } export interface DepositAndWithdrawAccounts { depositAccounts: { owner: TransactionSigner; obligation: Address; lendingMarket: Address; lendingMarketAuthority: Address; reserve: Address; reserveLiquidityMint: Address; reserveLiquiditySupply: Address; reserveCollateralMint: Address; reserveDestinationDepositCollateral: Address; userSourceLiquidity: Address; placeholderUserDestinationCollateral: Option
; collateralTokenProgram: Address; liquidityTokenProgram: 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; }; depositFarmsAccounts: { obligationFarmUserState: Option
; reserveFarmState: Option
; }; withdrawFarmsAccounts: { obligationFarmUserState: Option
; reserveFarmState: Option
; }; farmsProgram: Address; } export declare const layout: import("buffer-layout").Layout; export declare function depositAndWithdraw(args: DepositAndWithdrawArgs, accounts: DepositAndWithdrawAccounts, remainingAccounts?: Array, programAddress?: Address): Instruction | import("@solana/kit").AccountLookupMeta)[]>; //# sourceMappingURL=depositAndWithdraw.d.ts.map