/// <reference types="node" />
/// <reference types="node/http" />
/// <reference types="got/dist/source/core/utils/timed-out" />
import { Express } from 'express';
import { Server } from 'http';
declare function randomListen(app: Express): Promise<Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>>;
declare function getPort(server: Server): number;
declare function terminateServer(server: Server): Promise<void>;
export { randomListen, getPort, terminateServer };
//# sourceMappingURL=shared.d.ts.map