server.d.mts 367 B

12345678910
  1. import { AddressInfo } from 'node:net';
  2. import { Options, ServerType } from './types.mjs';
  3. import 'node:http';
  4. import 'node:http2';
  5. import 'node:https';
  6. declare const createAdaptorServer: (options: Options) => ServerType;
  7. declare const serve: (options: Options, listeningListener?: (info: AddressInfo) => void) => ServerType;
  8. export { createAdaptorServer, serve };