nuxt
Version:
7 lines (6 loc) • 335 B
TypeScript
import type { H3Event } from 'h3';
/**
* Nitro internal functions extracted from https://github.com/nitrojs/nitro/blob/main/src/runtime/internal/utils.ts
*/
export declare function isJsonRequest(event: H3Event): boolean;
export declare function hasReqHeader(event: H3Event, name: string, includes: string): boolean | "" | undefined;