import { Connection, PublicKey } from "@solana/web3.js"; export type AllowPda = "any" | boolean; type ResolveConfig = AllowPda extends true ? { allowPda: true; programIds: PublicKey[]; } : { allowPda: AllowPda; programIds?: PublicKey[]; }; /** * Resolve function according to SNS-IP 5 * @param connection * @param domain * @param config * @returns */ export declare const resolve: (connection: Connection, domain: string, config?: ResolveConfig) => Promise; export {};