import { Address, GetAccountInfoApi, Instruction, Rpc } from "@solana/kit"; interface TransferSubdomainParams { rpc: Rpc; subdomain: string; newOwner: Address; isParentOwnerSigner?: boolean; currentOwner?: Address; } /** * Transfers a subdomain to a new owner. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi. * - `subdomain`: The subdomain to transfer. This can include or omit the .sol suffix * (e.g., 'something.sns.sol' or 'something.sns'). * - `newOwner`: The address of the new owner. * - `isParentOwnerSigner`: (Optional) Specifies if the parent domain owner is a signer * for this transaction. * - `currentOwner`: (Optional) The current owner of the subdomain. If not provided, it * will be resolved automatically. This is useful for building transactions when the subdomain * does not yet exist. * @returns A promise that resolves to the transfer subdomain instruction. */ export declare const transferSubdomain: ({ rpc, subdomain, newOwner, isParentOwnerSigner, currentOwner, }: TransferSubdomainParams) => Promise; export {};