/// <reference types="node" />
import { web3 } from '@project-serum/anchor';
declare type SellNftToTokenToNftPair = (params: {
    programId: web3.PublicKey;
    connection: web3.Connection;
    args: {
        minAmountToGet: number;
        skipFailed: boolean;
        proof?: Buffer[];
        pnft?: {
            nameForRuleSet?: string;
            payerRuleSet?: web3.PublicKey;
        };
        payRoyalty?: boolean;
    };
    accounts: {
        nftValidationAdapter: web3.PublicKey;
        nftValidationAdapterV2?: web3.PublicKey;
        pair: web3.PublicKey;
        userPubkey: web3.PublicKey;
        protocolFeeReceiver: web3.PublicKey;
        nftMint: web3.PublicKey;
        assetReceiver: web3.PublicKey;
    };
    sendTxn: (transaction: web3.Transaction, signers: web3.Signer[]) => Promise<void>;
}) => Promise<{
    account: null;
    instructions: web3.TransactionInstruction[];
    signers: web3.Signer[];
}>;
export declare const sellNftToTokenToNftPair: SellNftToTokenToNftPair;
export {};
