import { BN, web3 } from '@coral-xyz/anchor';
import { GetInstructionsReturnType } from '../types';
import { BondLoan } from '../../accounts/BondLoan/BondLoan';
import { BondOffer } from '../../accounts/BondOffer/BondOffer';
import { BanxMarket } from '../../accounts/BanxMarket/BanxMarket';
type GetRepayLoanPartialIxnsRawParams = {
    connection: web3.Connection;
    args: {
        amountToRepay: BN;
    };
    accounts: {
        bondLoan: web3.PublicKey;
        bondOffer: web3.PublicKey;
        userPubkey: web3.PublicKey;
        market: web3.PublicKey;
        lendingTokenMint: web3.PublicKey;
        collateralMint: web3.PublicKey;
        oracle: web3.PublicKey;
        lender: web3.PublicKey;
    };
};
type GetRepayLoanPartialIxnsReturnType = GetInstructionsReturnType<{
    bondOffer: web3.PublicKey;
    prevBondLoan: web3.PublicKey;
    newBondLoan: web3.PublicKey;
}>;
export declare function getRepayLoanPartialIxnsRaw({ args, accounts, connection, }: GetRepayLoanPartialIxnsRawParams): Promise<GetRepayLoanPartialIxnsReturnType>;
export type GetRepayLoanPartialIxnsParams = {
    args: GetRepayLoanPartialIxnsRawParams['args'];
    connection: web3.Connection;
    walletPublicKey: web3.PublicKey;
    accounts: {
        bondLoan: BondLoan;
        bondOffer: BondOffer;
        banxMarket: BanxMarket;
    };
};
export declare function getRepayLoanPartialIxns({ args, connection, walletPublicKey, accounts, }: GetRepayLoanPartialIxnsParams): Promise<GetRepayLoanPartialIxnsReturnType>;
export {};
