import { Connection, PublicKey, TransactionInstruction } from "@solana/web3.js"; /** * Creates a name account with the given rent budget, allocated space, owner and class. * * @param connection The solana connection object to the RPC node * @param name The name of the new account * @param space The space in bytes allocated to the account * @param payerKey The allocation cost payer * @param nameOwner The pubkey to be set as owner of the new name account * @param lamports The budget to be set for the name account. If not specified, it'll be the minimum for rent exemption * @param nameClass The class of this new name * @param parentName The parent name of the new name. If specified its owner needs to sign * @returns */ export declare function createNameRegistry(connection: Connection, name: string, space: number, payerKey: PublicKey, nameOwner: PublicKey, lamports?: number, nameClass?: PublicKey, parentName?: PublicKey): Promise;