import { BN, web3 } from '@coral-xyz/anchor';
import { GetInstructionsReturnType } from '../types';
import { BondOffer } from '../../../core/accounts/BondOffer/BondOffer';
import { BanxMarket } from '../../../core/accounts/BanxMarket/BanxMarket';
type GetBorrowIxnsRawParams = {
    args: {
        amountToBorrow: BN;
        amountOfCollateralToSend: BN;
    };
    connection: web3.Connection;
    accounts: {
        userPubkey: web3.PublicKey;
        market: web3.PublicKey;
        bondOffer: web3.PublicKey;
        lender: web3.PublicKey;
        lendingTokenMint: web3.PublicKey;
        collateralMint: web3.PublicKey;
        oracle: web3.PublicKey;
    };
};
type GetBorrowIxnsReturnType = GetInstructionsReturnType<{
    bondOffer: web3.PublicKey;
    bondLoan: web3.PublicKey;
}>;
export declare function getBorrowIxnsRaw({ accounts, connection, args, }: GetBorrowIxnsRawParams): Promise<GetBorrowIxnsReturnType>;
export type GetBorrowIxnsParams = {
    args: GetBorrowIxnsRawParams['args'];
    connection: web3.Connection;
    walletPublicKey: web3.PublicKey;
    accounts: {
        bondOffer: BondOffer;
        banxMarket: BanxMarket;
    };
};
export declare function getBorrowIxns({ args, connection, walletPublicKey, accounts, }: GetBorrowIxnsParams): Promise<GetBorrowIxnsReturnType>;
export {};
