import { Address, GetAccountInfoApi, IInstruction, Rpc } from "@solana/kit"; interface TransferDomainParams { rpc: Rpc; domain: string; newOwner: Address; classAddress?: Address; parentAddress?: Address; parentOwner?: Address; } /** * Transfers a domain to a new owner. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi. * - `domain`: The name of the domain to be transferred. * - `newOwner`: The address of the new owner of the domain. * - `classAddress`: (Optional) The address of the class associated with the domain. * - `parentAddress`: (Optional) The address of the parent domain. * - `parentOwner`: (Optional) The address of the parent domain owner. * @returns A promise that resolves to the transfer domain instruction. */ export declare const transferDomain: ({ rpc, domain, newOwner, classAddress, parentAddress, parentOwner, }: TransferDomainParams) => Promise; export {};