2023-02-19 21:22:59 +00:00
|
|
|
import { Client } from "@lumeweb/libkernel-universal";
|
2023-02-19 21:44:38 +00:00
|
|
|
import { DNSResult, ResolverOptions } from "@lumeweb/libresolver";
|
2023-02-20 01:57:49 +00:00
|
|
|
import { ResolverModule } from "./module.js";
|
2023-02-19 21:22:59 +00:00
|
|
|
export declare class DnsClient extends Client {
|
2023-02-19 21:30:01 +00:00
|
|
|
register(): Promise<void>;
|
2023-02-19 21:22:59 +00:00
|
|
|
clear(): Promise<void>;
|
2023-02-20 01:57:49 +00:00
|
|
|
get resolvers(): Promise<Set<ResolverModule>>;
|
2023-02-19 21:42:13 +00:00
|
|
|
resolve(
|
|
|
|
domain: string,
|
|
|
|
options?: ResolverOptions,
|
|
|
|
bypassCache?: boolean
|
2023-02-19 21:44:38 +00:00
|
|
|
): Promise<DNSResult>;
|
2023-02-19 21:22:59 +00:00
|
|
|
}
|
|
|
|
export declare const createClient: (...args: any) => DnsClient;
|
2023-02-20 01:57:49 +00:00
|
|
|
export * from "./module.js";
|
2022-08-18 20:52:45 +00:00
|
|
|
//# sourceMappingURL=index.d.ts.map
|