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

6 lines
322 B
TypeScript
Raw Normal View History

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