import type { DNSResult, ResolverOptions } from "./types.js"; declare class ResolverRegistry { get resolvers(): Set | Promise>; resolve( domain: string, options?: ResolverOptions, bypassCache?: boolean ): Promise; register(resolver: ResolverModule): void; clear(): void; } export interface ResolverModuleConstructor { new (resolver: ResolverRegistry): any; } export interface ResolverModule extends ResolverModuleConstructor { resolve( domain: string, options: ResolverOptions, bypassCache: boolean ): Promise; getSupportedTlds(): string[]; getSupportedTlds(): Promise; getSupportedTlds(): any; } export declare abstract class AbstractResolverModule { protected resolver: ResolverRegistry; constructor(resolver: ResolverRegistry); abstract resolve( domain: string, options: ResolverOptions, bypassCache: boolean ): Promise; getSupportedTlds(): string[]; getSupportedTlds(): Promise; isTldSupported(domain: string): Promise; isTldSupported(domain: string): boolean; } export {}; //# sourceMappingURL=resolverModule.d.ts.map