import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js"; /** * Delete the name account and transfer the rent to the target. * * @param connection The solana connection object to the RPC node * @param name The name of the name account * @param refundTargetKey The refund destination address * @param nameClass The class of this name, if it exsists * @param nameParent The parent name of this name, if it exists * @returns */ export declare function deleteNameRegistry(connection: Connection, name: string, refundTargetKey: PublicKey, nameClass?: PublicKey, nameParent?: PublicKey): Promise;