site-panzai/node_modules/nitropack/dist/runtime/utils.d.ts

18 lines
515 B
TypeScript
Raw Permalink Normal View History

2026-11-13 13:57:04 +01:00
import type { H3Event } from "h3";
/**
* @deprecated This util is only provided for backward compatibility and will be removed in v3.
*/
export declare function isJsonRequest(event: H3Event): boolean;
/**
* @deprecated This util is only provided for backward compatibility and will be removed in v3.
*/
export declare function normalizeError(error: any, isDev?: boolean): {
stack: {
text: string;
internal: boolean;
}[];
statusCode: any;
statusMessage: any;
message: any;
};