kequapp
Version:
DEPRECATED: renamed to @kequtech/arbor
5 lines (4 loc) • 372 B
TypeScript
import type { IncomingMessage, ServerResponse } from 'node:http';
import type { Bundle, BundleContext } from '../types.ts';
import type { FakeReq, FakeRes } from '../utils/fake-http.ts';
export declare function createBundle(req: IncomingMessage | FakeReq, res: ServerResponse | FakeRes, params: Record<string, string>, methods: string[], context?: BundleContext): Bundle;