import { Address, GetAccountInfoApi, GetTokenLargestAccountsApi, Rpc } from "@solana/kit"; interface GetPrimaryDomainParams { rpc: Rpc; walletAddress: Address; } /** * Fetches the primary domain associated with a given wallet address. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi and GetTokenLargestAccountsApi. * - `walletAddress`: The wallet address for which the primary domain is retrieved. * @returns A promise resolving to an object containing: * - `domainAddress`: The address of the primary domain. * - `domainName`: The primary domain name (without .sol suffix). * - `stale`: false if primary domain was set by the current domain owner, true otherwise. */ export declare const getPrimaryDomain: ({ rpc, walletAddress, }: GetPrimaryDomainParams) => Promise<{ domainAddress: Address; domainName: string; stale: boolean; }>; export {};