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

16 lines
487 B
TypeScript

import { Client } from "@lumeweb/libkernel-universal";
import { ResolverOptions } from "@lumeweb/libresolver";
export declare class DnsClient extends Client {
register(): Promise<void>;
clear(): Promise<void>;
getResolvers(): Promise<string[]>;
ready(): Promise<void>;
resolve(
domain: string,
options?: ResolverOptions,
bypassCache?: boolean
): Promise<void>;
}
export declare const createClient: (...args: any) => DnsClient;
//# sourceMappingURL=index.d.ts.map