import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js"; /** * This function is used to transfer the ownership of a subdomain in the Solana Name Service. * * @param {Connection} connection - The Solana RPC connection object. * @param {string} subdomain - The subdomain to transfer. It can be with or without .sol suffix (e.g., 'something.sns.sol' or 'something.sns'). * @param {PublicKey} newOwner - The public key of the new owner of the subdomain. * @param {boolean} [isParentOwnerSigner=false] - A flag indicating whether the parent name owner is signing this transfer. * @param {PublicKey} [owner] - The public key of the current owner of the subdomain. This is an optional parameter. If not provided, the owner will be resolved automatically. This can be helpful to build transactions when the subdomain does not exist yet. * * @returns {Promise} - A promise that resolves to a Solana instruction for the transfer operation. */ export declare const transferSubdomain: (connection: Connection, subdomain: string, newOwner: PublicKey, isParentOwnerSigner?: boolean, owner?: PublicKey) => Promise;