import { ServerStatusOptions, ServerStatus } from "./types.ts"; /** * Looks up the server. * @example * Here's a simple example: * ``` * let result = await mc.lookup({ * host: "mc.hypixel.net" * port: 25565, * timeout: 10000, * ping: true, * protocolVersion: 769 * throwOnParseError: false, * SRVLookup: true, * JSONParse: true * }) * ``` */ export declare function lookup(options?: ServerStatusOptions): Promise; /** * Used for changing the default DNS servers. * @example * ``` // Recommended servers mc.setDnsServers(["9.9.9.9", "1.1.1.1", "8.8.8.8"]) // (Quad9, Cloudflare, Google) // Note: Cloudflare is typically the fastest for DNS queries. ``` */ export declare function setDnsServers(serverArray: Array): Promise; /** * The default export, containing setDnsServers and lookup */ declare const _default: { setDnsServers: typeof setDnsServers; lookup: typeof lookup; }; export default _default; //# sourceMappingURL=index.d.ts.map