import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js"; /** * Change the owner of a given name account. * * @param connection The solana connection object to the RPC node * @param name The name of the name account * @param newOwner The new owner to be set * @param nameClass The class of this name, if it exsists * @param nameParent The parent name of this name, if it exists * @param parentOwner Parent name owner * @returns */ export declare function transferNameOwnership(connection: Connection, name: string, newOwner: PublicKey, nameClass?: PublicKey, nameParent?: PublicKey, parentOwner?: PublicKey): Promise;