import type { IncomingMessage } from 'node:http';
/**
 * A request's pathname, parsed defensively (#938). Node hands the request target through
 * verbatim, including absolute-form targets a proxy client may send (`GET http://[ ...`),
 * and `new URL` throws on those synchronously inside the request handler — an uncaught
 * exception that takes the whole daemon down. `undefined` means "no parseable path":
 * answer 400 (or serve the fallback), never throw.
 */
export declare function requestPathname(req: IncomingMessage): string | undefined;
//# sourceMappingURL=request-path.d.ts.map