import { Address, GetProgramAccountsApi, Rpc } from "@solana/kit"; interface GetSubdomainsParams { rpc: Rpc; domain: string; } interface Result { subdomain: string; owner: Address; } /** * Retrieves all subdomains under the specified domain, including their owners. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetProgramAccountsApi. * - `domain`: The domain whose subdomains are to be retrieved. * @returns A promise that resolves to an array of subdomain objects, each containing the subdomain name and owner address. */ export declare const getSubdomains: ({ rpc, domain, }: GetSubdomainsParams) => Promise; export {};