7 lines
314 B
TypeScript
7 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;
|