import * as packet from 'dns-packet'; export declare function encodeURLParams(p: { [key: string]: string; }): string; export declare const getDNS: (q: packet.Packet) => Promise; export declare const dnsQuery: (qtype: string, qname: string) => Promise; export default function (_: any, dnsName: string): Promise;