import { Address, GetAccountInfoApi, IInstruction, Rpc } from "@solana/kit"; interface RegisterDomainParams { rpc: Rpc; domain: string; space: number; buyer: Address; buyerTokenAccount: Address; mint?: Address; referrer?: Address; } /** * Registers a .sol domain. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi. * - `domain`: The domain name to be registered in lowercase. * - `space`: The space in bytes to be allocated for the domain registry (max: 10,000). * - `buyer`: The address of the buyer registering the domain. * - `buyerTokenAccount`: The associated token account of the buyer. * - `mint`: (Optional) The token mint used for payment. Defaults to USDC. * - `referrer`: (Optional) The address of the referrer. * @returns A promise which resolves to an array of instructions required for domain registration. */ export declare const registerDomain: ({ rpc, domain, space, buyer, buyerTokenAccount, mint, referrer, }: RegisterDomainParams) => Promise; export {};