TeaWeb/shared/backend.d/dns.d.ts

6 lines
324 B
TypeScript
Raw Permalink Normal View History

2020-03-30 11:44:18 +00:00
import {AddressTarget, ResolveOptions} from "tc-shared/dns";
import {ServerAddress} from "tc-shared/tree/Server";
2020-03-30 11:44:18 +00:00
export function supported();
export function resolve_address(address: ServerAddress, options?: ResolveOptions) : Promise<AddressTarget>;
export function resolve_address_ipv4(address: string) : Promise<string>;