/// import type { Server as http } from "https"; export default function Server(endpoint: number | http | undefined, api: { [key: string]: (...params: any[]) => any; }): void;