kernel-libresolver/dist/resolverRegistry.d.ts

14 lines
397 B
TypeScript
Raw Normal View History

2022-08-18 22:28:56 +00:00
import { DNSResult, ResolverOptions } from "@lumeweb/resolver-common";
2022-08-18 22:50:54 +00:00
import { RpcNetwork } from "@lumeweb/kernel-rpc-client";
2022-08-18 22:28:56 +00:00
export declare class ResolverRegistry {
2022-08-18 22:50:54 +00:00
private _rpcNetwork;
constructor(network: RpcNetwork);
get rpcNetwork(): RpcNetwork;
2022-08-18 22:28:56 +00:00
resolve(
domain: string,
options?: ResolverOptions,
bypassCache?: boolean
): Promise<DNSResult>;
}
2022-08-18 22:50:54 +00:00
export { RpcNetwork };