import { Address, GetAccountInfoApi, GetMultipleAccountsApi, GetTokenLargestAccountsApi, Rpc } from "@solana/kit"; interface ResolveDomainParams { rpc: Rpc; domain: string; options?: ResolveOptions; } export type AllowPda = "any" | boolean; type ResolveOptions = AllowPda extends true ? { allowPda: true; programIds: Address[]; } : { allowPda: AllowPda; programIds?: Address[]; }; /** * Resolves domain according to SNS-IP 5. * * @param params - An object containing the following properties: * - `rpc`: An RPC interface implementing GetAccountInfoApi, GetMultipleAccountsApi, and GetTokenLargestAccountsApi. * - `domain`: The domain to resolve. * - `config`: (Optional) Configuration for resolving the domain, including whether to allow PDA owners * and permissible program IDs. * @returns A promise that resolves to the target address. */ export declare const resolveDomain: ({ rpc, domain, options, }: ResolveDomainParams) => Promise
; export {};