site-panzai/node_modules/@nuxt/nitro-server/dist/runtime/utils/error.d.mts
2026-11-13 13:57:04 +01:00

6 lines
314 B
TypeScript

import type { H3Event } from "h3";
/**
* Nitro internal functions extracted from https://github.com/nitrojs/nitro/blob/v2/src/runtime/internal/utils.ts
*/
export declare function isJsonRequest(event: H3Event): boolean;
export declare function hasReqHeader(event: H3Event, name: string, includes: string): boolean;