import * as dns from 'dns'; export type DnsLookupFunction = Omit; export declare class CachedDns { private cacheDurationMs; private cache; constructor(cacheDurationMs: number); private cacheKey; lookup: DnsLookupFunction; } export declare function dnsLookup(lookupFn: typeof dns.lookup | DnsLookupFunction, hostname: string): Promise; //# sourceMappingURL=dns.d.ts.map