import type { DNSResult, ResolverModule as ResolverModuleBase, } from "@lumeweb/libresolver"; import { DnsClient } from "@lumeweb/kernel-dns-client"; import { ResolverOptions } from "@lumeweb/libresolver/src/types.js"; export interface ResolverModule { get resolver(): DnsClient; set resolver(value: DnsClient); resolve( domain: string, options: ResolverOptions, bypassCache: boolean ): Promise; getSupportedTlds(): string[]; getSupportedTlds(): Promise; getSupportedTlds(): any; } export declare function setup(rm: ResolverModule | ResolverModuleBase): void; export * from "@lumeweb/libresolver/dist/util.js"; export * from "@lumeweb/libresolver/dist/types.js"; export { AbstractResolverModule } from "@lumeweb/libresolver/dist/resolverModule.js";