import type { SocketAddress } from '#adapter/core/ports/bindings'; interface BunAddress { readonly address: string; readonly family: string; readonly port: number; } interface BunRuntime { readonly hostname: string | undefined; readonly port: number | undefined; readonly requestIP: (request: Request) => SocketAddress | null; readonly stop: (closeActiveConnections?: boolean) => Promise; } type ServeOptions = Parameters[0]; declare const MAX_BODY_SIZE: number; export { MAX_BODY_SIZE }; export { bunServeStatic } from './bun/static.ts'; export { toBunTls, tlsOf } from './bun/tls.ts'; export type { HttpsOptions } from './bun/tls.ts'; export type { BunAddress, BunRuntime, ServeOptions }; //# sourceMappingURL=bun-runtime.d.ts.map