import "./startup"; import * as net from "net"; import { MicroTcpOptions } from "./options"; import "@halsp/micro/server"; export { MicroTcpOptions }; declare module "@halsp/core" { interface Startup { useMicroTcp(options?: MicroTcpOptions): this; listen(): Promise; close(): Promise; } interface Context { get socket(): net.Socket; } }