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

16 lines
503 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-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-19 21:35:34 +00:00
getResolvers(): Promise<string[]>;
2023-02-19 21:22:59 +00:00
ready(): Promise<void>;
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;
2022-08-18 20:52:45 +00:00
//# sourceMappingURL=index.d.ts.map