6 lines
268 B
TypeScript
6 lines
268 B
TypeScript
|
/// <reference types="node" />
|
||
|
import { LookupAddress, LookupOptions } from 'dns';
|
||
|
import { GMT } from './index';
|
||
|
export declare function dnsLookup(host: string, opts: LookupOptions): Promise<string | LookupAddress[]>;
|
||
|
export declare function isGMT(v: any): v is GMT;
|