kernel-dns-client/dist/index.d.ts

17 lines
564 B
TypeScript
Raw Normal View History

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 {
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