nitro-imports.d.ts 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. declare global {
  2. const __buildAssetsURL: typeof import('../../node_modules/nuxt/dist/core/runtime/nitro/paths')['buildAssetsURL']
  3. const __publicAssetsURL: typeof import('../../node_modules/nuxt/dist/core/runtime/nitro/paths')['publicAssetsURL']
  4. const appendCorsHeaders: typeof import('../../node_modules/h3')['appendCorsHeaders']
  5. const appendCorsPreflightHeaders: typeof import('../../node_modules/h3')['appendCorsPreflightHeaders']
  6. const appendHeader: typeof import('../../node_modules/h3')['appendHeader']
  7. const appendHeaders: typeof import('../../node_modules/h3')['appendHeaders']
  8. const appendResponseHeader: typeof import('../../node_modules/h3')['appendResponseHeader']
  9. const appendResponseHeaders: typeof import('../../node_modules/h3')['appendResponseHeaders']
  10. const assertMethod: typeof import('../../node_modules/h3')['assertMethod']
  11. const cachedEventHandler: typeof import('../../node_modules/nitropack/dist/runtime/internal/cache')['cachedEventHandler']
  12. const cachedFunction: typeof import('../../node_modules/nitropack/dist/runtime/internal/cache')['cachedFunction']
  13. const callNodeListener: typeof import('../../node_modules/h3')['callNodeListener']
  14. const clearResponseHeaders: typeof import('../../node_modules/h3')['clearResponseHeaders']
  15. const clearSession: typeof import('../../node_modules/h3')['clearSession']
  16. const createApp: typeof import('../../node_modules/h3')['createApp']
  17. const createAppEventHandler: typeof import('../../node_modules/h3')['createAppEventHandler']
  18. const createError: typeof import('../../node_modules/h3')['createError']
  19. const createEvent: typeof import('../../node_modules/h3')['createEvent']
  20. const createEventStream: typeof import('../../node_modules/h3')['createEventStream']
  21. const createRouter: typeof import('../../node_modules/h3')['createRouter']
  22. const defaultContentType: typeof import('../../node_modules/h3')['defaultContentType']
  23. const defineAppConfig: typeof import('../../node_modules/nuxt/dist/core/runtime/nitro/config')['defineAppConfig']
  24. const defineCachedEventHandler: typeof import('../../node_modules/nitropack/dist/runtime/internal/cache')['defineCachedEventHandler']
  25. const defineCachedFunction: typeof import('../../node_modules/nitropack/dist/runtime/internal/cache')['defineCachedFunction']
  26. const defineEventHandler: typeof import('../../node_modules/h3')['defineEventHandler']
  27. const defineLazyEventHandler: typeof import('../../node_modules/h3')['defineLazyEventHandler']
  28. const defineNitroErrorHandler: typeof import('../../node_modules/nitropack/dist/runtime/internal/error')['defineNitroErrorHandler']
  29. const defineNitroPlugin: typeof import('../../node_modules/nitropack/dist/runtime/internal/plugin')['defineNitroPlugin']
  30. const defineNodeListener: typeof import('../../node_modules/h3')['defineNodeListener']
  31. const defineNodeMiddleware: typeof import('../../node_modules/h3')['defineNodeMiddleware']
  32. const defineRenderHandler: typeof import('../../node_modules/nitropack/dist/runtime/internal/renderer')['defineRenderHandler']
  33. const defineRequestMiddleware: typeof import('../../node_modules/h3')['defineRequestMiddleware']
  34. const defineResponseMiddleware: typeof import('../../node_modules/h3')['defineResponseMiddleware']
  35. const defineRouteMeta: typeof import('../../node_modules/nitropack/dist/runtime/internal/meta')['defineRouteMeta']
  36. const defineTask: typeof import('../../node_modules/nitropack/dist/runtime/internal/task')['defineTask']
  37. const defineWebSocket: typeof import('../../node_modules/h3')['defineWebSocket']
  38. const defineWebSocketHandler: typeof import('../../node_modules/h3')['defineWebSocketHandler']
  39. const deleteCookie: typeof import('../../node_modules/h3')['deleteCookie']
  40. const dynamicEventHandler: typeof import('../../node_modules/h3')['dynamicEventHandler']
  41. const eventHandler: typeof import('../../node_modules/h3')['eventHandler']
  42. const fetchWithEvent: typeof import('../../node_modules/h3')['fetchWithEvent']
  43. const fromNodeMiddleware: typeof import('../../node_modules/h3')['fromNodeMiddleware']
  44. const fromPlainHandler: typeof import('../../node_modules/h3')['fromPlainHandler']
  45. const fromWebHandler: typeof import('../../node_modules/h3')['fromWebHandler']
  46. const getCookie: typeof import('../../node_modules/h3')['getCookie']
  47. const getHeader: typeof import('../../node_modules/h3')['getHeader']
  48. const getHeaders: typeof import('../../node_modules/h3')['getHeaders']
  49. const getMethod: typeof import('../../node_modules/h3')['getMethod']
  50. const getProxyRequestHeaders: typeof import('../../node_modules/h3')['getProxyRequestHeaders']
  51. const getQuery: typeof import('../../node_modules/h3')['getQuery']
  52. const getRequestFingerprint: typeof import('../../node_modules/h3')['getRequestFingerprint']
  53. const getRequestHeader: typeof import('../../node_modules/h3')['getRequestHeader']
  54. const getRequestHeaders: typeof import('../../node_modules/h3')['getRequestHeaders']
  55. const getRequestHost: typeof import('../../node_modules/h3')['getRequestHost']
  56. const getRequestIP: typeof import('../../node_modules/h3')['getRequestIP']
  57. const getRequestPath: typeof import('../../node_modules/h3')['getRequestPath']
  58. const getRequestProtocol: typeof import('../../node_modules/h3')['getRequestProtocol']
  59. const getRequestURL: typeof import('../../node_modules/h3')['getRequestURL']
  60. const getRequestWebStream: typeof import('../../node_modules/h3')['getRequestWebStream']
  61. const getResponseHeader: typeof import('../../node_modules/h3')['getResponseHeader']
  62. const getResponseHeaders: typeof import('../../node_modules/h3')['getResponseHeaders']
  63. const getResponseStatus: typeof import('../../node_modules/h3')['getResponseStatus']
  64. const getResponseStatusText: typeof import('../../node_modules/h3')['getResponseStatusText']
  65. const getRouteRules: typeof import('../../node_modules/nitropack/dist/runtime/internal/route-rules')['getRouteRules']
  66. const getRouterParam: typeof import('../../node_modules/h3')['getRouterParam']
  67. const getRouterParams: typeof import('../../node_modules/h3')['getRouterParams']
  68. const getSession: typeof import('../../node_modules/h3')['getSession']
  69. const getValidatedQuery: typeof import('../../node_modules/h3')['getValidatedQuery']
  70. const getValidatedRouterParams: typeof import('../../node_modules/h3')['getValidatedRouterParams']
  71. const handleCacheHeaders: typeof import('../../node_modules/h3')['handleCacheHeaders']
  72. const handleCors: typeof import('../../node_modules/h3')['handleCors']
  73. const isCorsOriginAllowed: typeof import('../../node_modules/h3')['isCorsOriginAllowed']
  74. const isError: typeof import('../../node_modules/h3')['isError']
  75. const isEvent: typeof import('../../node_modules/h3')['isEvent']
  76. const isEventHandler: typeof import('../../node_modules/h3')['isEventHandler']
  77. const isMethod: typeof import('../../node_modules/h3')['isMethod']
  78. const isPreflightRequest: typeof import('../../node_modules/h3')['isPreflightRequest']
  79. const isStream: typeof import('../../node_modules/h3')['isStream']
  80. const isWebResponse: typeof import('../../node_modules/h3')['isWebResponse']
  81. const lazyEventHandler: typeof import('../../node_modules/h3')['lazyEventHandler']
  82. const nitroPlugin: typeof import('../../node_modules/nitropack/dist/runtime/internal/plugin')['nitroPlugin']
  83. const parseCookies: typeof import('../../node_modules/h3')['parseCookies']
  84. const promisifyNodeListener: typeof import('../../node_modules/h3')['promisifyNodeListener']
  85. const proxyRequest: typeof import('../../node_modules/h3')['proxyRequest']
  86. const readBody: typeof import('../../node_modules/h3')['readBody']
  87. const readFormData: typeof import('../../node_modules/h3')['readFormData']
  88. const readMultipartFormData: typeof import('../../node_modules/h3')['readMultipartFormData']
  89. const readRawBody: typeof import('../../node_modules/h3')['readRawBody']
  90. const readValidatedBody: typeof import('../../node_modules/h3')['readValidatedBody']
  91. const removeResponseHeader: typeof import('../../node_modules/h3')['removeResponseHeader']
  92. const runTask: typeof import('../../node_modules/nitropack/dist/runtime/internal/task')['runTask']
  93. const sanitizeStatusCode: typeof import('../../node_modules/h3')['sanitizeStatusCode']
  94. const sanitizeStatusMessage: typeof import('../../node_modules/h3')['sanitizeStatusMessage']
  95. const sealSession: typeof import('../../node_modules/h3')['sealSession']
  96. const send: typeof import('../../node_modules/h3')['send']
  97. const sendError: typeof import('../../node_modules/h3')['sendError']
  98. const sendIterable: typeof import('../../node_modules/h3')['sendIterable']
  99. const sendNoContent: typeof import('../../node_modules/h3')['sendNoContent']
  100. const sendProxy: typeof import('../../node_modules/h3')['sendProxy']
  101. const sendRedirect: typeof import('../../node_modules/h3')['sendRedirect']
  102. const sendStream: typeof import('../../node_modules/h3')['sendStream']
  103. const sendWebResponse: typeof import('../../node_modules/h3')['sendWebResponse']
  104. const serveStatic: typeof import('../../node_modules/h3')['serveStatic']
  105. const setCookie: typeof import('../../node_modules/h3')['setCookie']
  106. const setHeader: typeof import('../../node_modules/h3')['setHeader']
  107. const setHeaders: typeof import('../../node_modules/h3')['setHeaders']
  108. const setResponseHeader: typeof import('../../node_modules/h3')['setResponseHeader']
  109. const setResponseHeaders: typeof import('../../node_modules/h3')['setResponseHeaders']
  110. const setResponseStatus: typeof import('../../node_modules/h3')['setResponseStatus']
  111. const splitCookiesString: typeof import('../../node_modules/h3')['splitCookiesString']
  112. const toEventHandler: typeof import('../../node_modules/h3')['toEventHandler']
  113. const toNodeListener: typeof import('../../node_modules/h3')['toNodeListener']
  114. const toPlainHandler: typeof import('../../node_modules/h3')['toPlainHandler']
  115. const toWebHandler: typeof import('../../node_modules/h3')['toWebHandler']
  116. const toWebRequest: typeof import('../../node_modules/h3')['toWebRequest']
  117. const unsealSession: typeof import('../../node_modules/h3')['unsealSession']
  118. const updateSession: typeof import('../../node_modules/h3')['updateSession']
  119. const useAppConfig: typeof import('../../node_modules/nitropack/dist/runtime/internal/config')['useAppConfig']
  120. const useBase: typeof import('../../node_modules/h3')['useBase']
  121. const useEvent: typeof import('../../node_modules/nitropack/dist/runtime/internal/context')['useEvent']
  122. const useNitroApp: typeof import('../../node_modules/nitropack/dist/runtime/internal/app')['useNitroApp']
  123. const useRuntimeConfig: typeof import('../../node_modules/nitropack/dist/runtime/internal/config')['useRuntimeConfig']
  124. const useSession: typeof import('../../node_modules/h3')['useSession']
  125. const useStorage: typeof import('../../node_modules/nitropack/dist/runtime/internal/storage')['useStorage']
  126. const writeEarlyHints: typeof import('../../node_modules/h3')['writeEarlyHints']
  127. }
  128. export { useNitroApp } from 'nitropack/runtime/internal/app';
  129. export { useRuntimeConfig, useAppConfig } from 'nitropack/runtime/internal/config';
  130. export { defineNitroPlugin, nitroPlugin } from 'nitropack/runtime/internal/plugin';
  131. export { defineCachedFunction, defineCachedEventHandler, cachedFunction, cachedEventHandler } from 'nitropack/runtime/internal/cache';
  132. export { useStorage } from 'nitropack/runtime/internal/storage';
  133. export { defineRenderHandler } from 'nitropack/runtime/internal/renderer';
  134. export { defineRouteMeta } from 'nitropack/runtime/internal/meta';
  135. export { getRouteRules } from 'nitropack/runtime/internal/route-rules';
  136. export { useEvent } from 'nitropack/runtime/internal/context';
  137. export { defineTask, runTask } from 'nitropack/runtime/internal/task';
  138. export { defineNitroErrorHandler } from 'nitropack/runtime/internal/error';
  139. export { appendCorsHeaders, appendCorsPreflightHeaders, appendHeader, appendHeaders, appendResponseHeader, appendResponseHeaders, assertMethod, callNodeListener, clearResponseHeaders, clearSession, createApp, createAppEventHandler, createError, createEvent, createEventStream, createRouter, defaultContentType, defineEventHandler, defineLazyEventHandler, defineNodeListener, defineNodeMiddleware, defineRequestMiddleware, defineResponseMiddleware, defineWebSocket, defineWebSocketHandler, deleteCookie, dynamicEventHandler, eventHandler, fetchWithEvent, fromNodeMiddleware, fromPlainHandler, fromWebHandler, getCookie, getHeader, getHeaders, getMethod, getProxyRequestHeaders, getQuery, getRequestFingerprint, getRequestHeader, getRequestHeaders, getRequestHost, getRequestIP, getRequestPath, getRequestProtocol, getRequestURL, getRequestWebStream, getResponseHeader, getResponseHeaders, getResponseStatus, getResponseStatusText, getRouterParam, getRouterParams, getSession, getValidatedQuery, getValidatedRouterParams, handleCacheHeaders, handleCors, isCorsOriginAllowed, isError, isEvent, isEventHandler, isMethod, isPreflightRequest, isStream, isWebResponse, lazyEventHandler, parseCookies, promisifyNodeListener, proxyRequest, readBody, readFormData, readMultipartFormData, readRawBody, readValidatedBody, removeResponseHeader, sanitizeStatusCode, sanitizeStatusMessage, sealSession, send, sendError, sendIterable, sendNoContent, sendProxy, sendRedirect, sendStream, sendWebResponse, serveStatic, setCookie, setHeader, setHeaders, setResponseHeader, setResponseHeaders, setResponseStatus, splitCookiesString, toEventHandler, toNodeListener, toPlainHandler, toWebHandler, toWebRequest, unsealSession, updateSession, useBase, useSession, writeEarlyHints } from 'h3';
  140. export { buildAssetsURL as __buildAssetsURL, publicAssetsURL as __publicAssetsURL } from '../../node_modules/nuxt/dist/core/runtime/nitro/paths';
  141. export { defineAppConfig } from '../../node_modules/nuxt/dist/core/runtime/nitro/config';