import { Address, GetAccountInfoApi, GetMinimumBalanceForRentExemptionApi, IInstruction, Rpc } from "@solana/kit"; interface CreateSubdomainParams { rpc: Rpc; subdomain: string; owner: Address; space?: number; feePayer?: Address; } /** * Creates a subdomain for the specified domain. This includes setting up the subdomain * registry and its reverse lookup record if not already existing. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi and GetMinimumBalanceForRentExemptionApi. * - `subdomain`: The subdomain to create, with or without .sol (e.g., something.sns.sol or something.sns). * - `owner`: The address of the owner of the parent domain. * - `space`: (Optional) The space in bytes allocated to the subdomain account (default: 2,000). * - `feePayer`: (Optional) The address funding the subdomain creation (default: owner address). * @returns A promise that resolves to an array of instructions required to create the subdomain * and its reverse lookup record. */ export declare const createSubdomain: ({ rpc, subdomain, owner, space, feePayer, }: CreateSubdomainParams) => Promise; export {};