import type { Server } from 'node:http'; import type { Http2SecureServer } from 'node:http2'; export declare const getServer: () => Server | Http2SecureServer | null; export declare const setServer: (newServer: Server | Http2SecureServer) => void; export declare const closeServer: () => Promise;