@nexo-labs/payload-stripe-inventory 1.6.11 → 1.6.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-BFzOtUiG.d.mts +72 -0
- package/dist/index-BFzOtUiG.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/server/index.d.mts +187 -30
- package/dist/server/index.d.mts.map +1 -1
- package/dist/server/index.mjs +338 -164
- package/dist/server/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/index-D-NQPUJO.d.mts +0 -892
- package/dist/index-D-NQPUJO.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-D-NQPUJO.d.mts","names":["NextConfig","RouteHas","Rewrite","Header","Array","Redirect","Middleware","normalizeRouteRegex","RouteType","checkCustomRoutes","CustomRoutes","loadCustomRoutes","Promise","default","IncomingHttpHeaders","OutgoingHttpHeaders","I18NConfig","NextApiRequestCookies","BaseNextRequestConfig","FetchMetric","FetchMetrics","Array","BaseNextRequest","Body","Partial","BaseNextResponse","Destination","IncomingMessage","BaseNextRequest","NextApiResponse","NextApiRequestCookies","Partial","NextApiRequestQuery","__ApiPreviewProps","wrapApiHandler","T","sendStatusCode","redirect","checkIsOnDemandRevalidate","Request","COOKIE_NAME_PRERENDER_BYPASS","COOKIE_NAME_PRERENDER_DATA","RESPONSE_LIMIT_DEFAULT","SYMBOL_PREVIEW_DATA","SYMBOL_CLEARED_COOKIES","clearPreviewData","ApiError","Error","sendError","LazyProps","setLazyProp","req","NextConfig","RouteHas","RSCMeta","PAGE_TYPES","AppSegmentConfig","PagesSegmentConfig","PagesSegmentConfigConfig","MiddlewareMatcher","MiddlewareConfig","AppPageStaticInfo","APP","RSCModuleType","Omit","PagesPageStaticInfo","PAGES","PageStaticInfo","getRSCModuleInformation","GetPageStaticInfoParams","Partial","getAppPageStaticInfo","pageFilePath","nextConfig","isDev","page","Promise","getPagesPageStaticInfo","getPageStaticInfo","RouteKind","OutgoingHttpHeaders","RenderResult","CacheControl","Revalidate","RouteKind","ResponseCacheBase","ResponseGenerator","IncrementalCache","ResponseCacheEntry","Promise","ServerComponentsHmrCache","CachedFetchData","Record","CachedRouteKind","CachedFetchValue","FETCH","CachedRedirectValue","REDIRECT","Object","CachedAppPageValue","APP_PAGE","Buffer","Map","CachedPageValue","PAGES","CachedRouteValue","APP_ROUTE","CachedImageValue","IMAGE","IncrementalCachedAppPageValue","IncrementalCachedPageValue","IncrementalResponseCacheEntry","IncrementalCacheValue","Exclude","IncrementalFetchCacheEntry","IncrementalCacheEntry","ResponseCacheValue","IncrementalCacheKind","GetIncrementalFetchCacheContext","GetIncrementalResponseCacheContext","SetIncrementalFetchCacheContext","SetIncrementalResponseCacheContext","IncrementalResponseCache","MODERN_BROWSERSLIST_TARGET","ValueOf","T","Required","COMPILER_NAMES","CompilerNameValues","COMPILER_INDEXES","UNDERSCORE_NOT_FOUND_ROUTE","UNDERSCORE_NOT_FOUND_ROUTE_ENTRY","PHASE_EXPORT","PHASE_PRODUCTION_BUILD","PHASE_PRODUCTION_SERVER","PHASE_DEVELOPMENT_SERVER","PHASE_TEST","PHASE_INFO","PAGES_MANIFEST","WEBPACK_STATS","APP_PATHS_MANIFEST","APP_PATH_ROUTES_MANIFEST","BUILD_MANIFEST","APP_BUILD_MANIFEST","FUNCTIONS_CONFIG_MANIFEST","SUBRESOURCE_INTEGRITY_MANIFEST","NEXT_FONT_MANIFEST","EXPORT_MARKER","EXPORT_DETAIL","PRERENDER_MANIFEST","ROUTES_MANIFEST","IMAGES_MANIFEST","SERVER_FILES_MANIFEST","DEV_CLIENT_PAGES_MANIFEST","MIDDLEWARE_MANIFEST","TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST","DEV_CLIENT_MIDDLEWARE_MANIFEST","REACT_LOADABLE_MANIFEST","SERVER_DIRECTORY","CONFIG_FILES","BUILD_ID_FILE","BLOCKED_PAGES","CLIENT_PUBLIC_FILES_PATH","CLIENT_STATIC_FILES_PATH","STRING_LITERAL_DROP_BUNDLE","NEXT_BUILTIN_DOCUMENT","BARREL_OPTIMIZATION_PREFIX","CLIENT_REFERENCE_MANIFEST","SERVER_REFERENCE_MANIFEST","MIDDLEWARE_BUILD_MANIFEST","MIDDLEWARE_REACT_LOADABLE_MANIFEST","INTERCEPTION_ROUTE_REWRITE_MANIFEST","DYNAMIC_CSS_MANIFEST","CLIENT_STATIC_FILES_RUNTIME_MAIN","CLIENT_STATIC_FILES_RUNTIME_MAIN_APP","APP_CLIENT_INTERNALS","CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH","CLIENT_STATIC_FILES_RUNTIME_AMP","CLIENT_STATIC_FILES_RUNTIME_WEBPACK","CLIENT_STATIC_FILES_RUNTIME_POLYFILLS","CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL","DEFAULT_RUNTIME_WEBPACK","EDGE_RUNTIME_WEBPACK","STATIC_PROPS_ID","SERVER_PROPS_ID","DEFAULT_SERIF_FONT","DEFAULT_SANS_SERIF_FONT","STATIC_STATUS_PAGES","TRACE_OUTPUT_VERSION","TURBO_TRACE_DEFAULT_MEMORY_LIMIT","RSC_MODULE_TYPES","EDGE_UNSUPPORTED_NODE_APIS","SYSTEM_ENTRYPOINTS","Set","RouteKind","RouteDefinition","K","Params","RouteDefinition","RouteMatch","D","IncomingMessage","Readable","requestToBodyStream","ReadableStream","Uint8Array","CloneableBody","Promise","getCloneableBody","T","React","PagesDevOverlayBridgeType","PagesDevOverlayBridge","PagesDevOverlayBridgeProps","ReactNode","children","react_jsx_runtime0","JSX","Element","register","IncomingMessage","ParsedUrlQuery","UrlWithParsedQuery","BaseNextRequest","CloneableBody","RouteMatch","NEXT_RSC_UNION_QUERY","ServerComponentsHmrCache","PagesDevOverlayBridgeType","NEXT_REQUEST_META","NextIncomingMessage","RequestMeta","Promise","Error","Record","getRequestMeta","K","setRequestMeta","addRequestMeta","removeRequestMeta","NextQueryMetadata","NextParsedUrlQuery","NextUrlWithParsedQuery","DomainLocale","I18NConfig","NextIncomingMessage","LocaleAnalysisResult","LocaleAnalysisOptions","I18NProvider","Readonly","OutgoingHttpHeaders","DomainLocale","I18NConfig","I18NProvider","Options","URL","Internal","NextURL","URLSearchParams","CookieSerializeOptions","Date","CookieListItem","Pick","ResponseCookie","RequestCookie","RequestCookies","Headers","MapIterator","Symbol","iterator","ResponseCookies","Partial","Omit","stringifyCookie","parseCookie","Map","parseSetCookie","I18NConfig","NextURL","ResponseCookies","INTERNALS","NextResponse","JsonBody","Body","BodyInit","ResponseInit","URL","MiddlewareResponseInit","Response","globalThis","ModifiedRequest","Headers","ComponentType","MiddlewareMatcher","_5","Record","Function","sideEffect","LoadedEntrypointSuccess","LoadedEntrypointFailure","RouteEntrypoint","RouteStyleSheet","LoadedRouteSuccess","LoadedRouteFailure","RouteLoaderEntry","RouteLoader","Promise","markAssetError","Error","isAssetError","getClientBuildManifest","createRouteLoader","ComponentType","RouteLoader","MiddlewareMatcher","_4","Set","sideEffect","StyleSheetTuple","GoodPageCache","PageLoader","Promise","default","_________client_page_loader0","ComponentType","DomainLocale","MittEmitter","ParsedUrlQuery","RouterEvent","StyleSheetTuple","UrlObject","PageLoader","NextPageContext","NEXT_DATA","_3","sideEffect","RouteProperties","TransitionOptions","NextHistoryState","HistoryState","MiddlewareEffectParams","T","FetchDataOutput","Promise","Router","matchesMiddleware","Url","BaseRouter","NextRouter","Pick","PrefetchOptions","PrivateRouteInfo","CompletePrivateRouteInfo","Omit","Record","Error","AppProps","AppComponent","Subscription","BeforePopStateCallback","ComponentLoadCancel","HistoryMethod","Response","NextDataCache","createKey","______lib_bloom_filter0","BloomFilter","initialProps","pageLoader","App","wrapApp","Component","err","subscription","isFallback","locale","locales","defaultLocale","domainLocales","isPreview","PopStateEvent","requestedRoute","pathname","query","as","resolvedAs","routeProps","hasMiddleware","unstable_skipClientCache","isQueryUpdating","isMiddlewareRewrite","isNotFound","GoodPageCache","default","React","Loadable","Omit","RefAttributes","ForwardRefExoticComponent","Promise","_6","sideEffect","default","WorkStore","ParamValue","Array","Params","Record","UnsafeUnwrappedParams","P","Promise","U","Omit","createParamsFromClient","CreateServerParamsForMetadata","createServerParamsForMetadata","createServerParamsForServerSegment","createServerParamsForRoute","createPrerenderParamsForClientSegment","Agent","HttpAgent","HttpsAgent","React","ParsedUrlQuery","IncomingMessage","ServerResponse","NextPageContext","NextComponentType","NextApiResponse","NextApiRequest","NextApiHandler","GetStaticPathsFallback","NextApiRequestCookies","next","ServerRuntime","NextConfig","Metadata","MetadataRoute","ResolvedMetadata","ResolvingMetadata","Viewport","ResolvingViewport","ResolvedViewport","Instrumentation","Route","RouteInferType","_1","T","HTMLAttributes","sideEffect","Redirect","NextPage","Props","InitialProps","FileSizeSuffix","SizeLimit","ResponseLimit","PageConfig","Array","PreviewData","GetStaticPropsContext","Params","Preview","GetStaticPropsResult","GetStaticProps","Promise","InferGetStaticPropsType","ReturnType","Awaited","Extract","GetStaticPathsContext","GetStaticPathsResult","GetStaticPaths","GetServerSidePropsContext","GetServerSidePropsResult","GetServerSideProps","InferGetServerSidePropsType","_2","SubtleCrypto","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","DataView","default","HtmlProps","ComponentType","JSX","DomainLocale","Env","IncomingMessage","ServerResponse","NextRouter","ParsedUrlQuery","PreviewData","COMPILER_NAMES","fs","NextComponentType","Context","InitialProps","Props","BaseContext","NextPageContext","Promise","DocumentType","DocumentContext","DocumentInitialProps","DocumentProps","AppType","P","AppContextType","AppPropsType","AppTreeType","AppInitialProps","WEB_VITALS","NextWebVitalsMetric","Enhancer","C","ComponentsEnhancer","RenderPageResult","Element","Array","RenderPage","NEXT_DATA","Record","Error","server","edgeServer","Router","PageProps","React","ReactElement","ReactNode","Iterable","NextApiRequest","Partial","Send","T","NextApiResponse","Data","NextApiHandler","execOnce","ReturnType","isAbsoluteUrl","getLocationOrigin","getURL","getDisplayName","isResSent","normalizeRepeatedSlashes","loadGetInitialProps","IP","SP","ST","DecodeError","NormalizeError","PageNotFoundError","MissingStaticPage","MiddlewareNotFoundError","CacheFs","existsSync","promises","readFile","readFileSync","Date","stringifyError","webpack","Header","Redirect","Rewrite","ImageConfig","ImageConfigComplete","SubresourceIntegrityAlgorithm","WEB_VITALS","NextParsedUrlQuery","SizeLimit","SupportedTestRunners","ExperimentalPPRConfig","ManifestRewriteRoute","ManifestHeaderRoute","ManifestRedirectRoute","RouteType","NextConfigComplete","NextConfig","Required","TypeScriptConfig","ExperimentalConfig","Omit","AdapterOutputs","Record","Array","NextAdapter","Promise","I18NDomains","DomainLocale","I18NConfig","ESLintConfig","EmotionConfig","StyledComponentsConfig","JSONValue","TurbopackLoaderItem","TurbopackRuleCondition","RegExp","TurbopackRuleConfigItemOrShortcut","TurbopackRuleConfigItem","TurbopackRuleConfigItemOptions","TurbopackOptions","DeprecatedExperimentalTurboOptions","WebpackConfigContext","NextJsWebpackConfig","ReactCompilerOptions","IncomingRequestLoggingConfig","LoggingConfig","Configuration","NonNullable","ExportPathMap","defaultConfig","normalizeConfig","SatoriOptions","EmojiType","OutgoingHttpHeader","ImageOptions","ImageResponseNodeOptions","ImageResponseOptions","Response","ConstructorParameters","FigmaImageResponseProps","FigmaComplexTemplate","Record","FontOptions","Omit","React","CSSProperties","Weight","Style","Buffer","ArrayBuffer","_0","T","sideEffect","AsyncLocalStorage","NodeAsyncLocalStorage","_0","sideEffect","NextFetchEvent","NextRequest","NextResponse","NextMiddleware","MiddlewareConfig","userAgentFromString","userAgent","URLPattern","ImageResponse","ImageResponseOptions","after","unstable_rootParams","connection","UnsafeUnwrappedSearchParams","UnsafeUnwrappedParams"],"sources":["../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/lib/load-custom-routes.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/base-http/index.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/api-utils/index.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/build/analysis/get-page-static-info.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-kind.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/response-cache/types.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/constants.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-definitions/route-definition.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/route-matches/route-match.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/body-streams.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/next-devtools/userspace/pages/pages-dev-overlay-setup.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/request-meta.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/lib/i18n-provider.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/web/next-url.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/compiled/@edge-runtime/cookies/index.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/web/spec-extension/response.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/client/route-loader.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/client/page-loader.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/router/router.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/loadable.shared-runtime.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/request/params.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/types.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/shared/lib/utils.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/server/config-shared.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/dist/compiled/@vercel/og/types.d.ts","../../../node_modules/.pnpm/next@15.4.10_@playwright+test@1.57.0_react-dom@19.1.0_react@19.1.0__react@19.1.0_sass@1.77.4/node_modules/next/server.d.ts","../src/types/api.types.ts","../src/types/customer.types.ts","../src/types/permission.types.ts","../src/types/user-inventory.types.ts"],"sourcesContent":["import type { NextConfig } from '../server/config';\nexport type RouteHas = {\n type: string;\n key: string;\n value?: string;\n} | {\n type: 'host';\n key?: undefined;\n value: string;\n};\nexport type Rewrite = {\n source: string;\n destination: string;\n basePath?: false;\n locale?: false;\n has?: RouteHas[];\n missing?: RouteHas[];\n};\nexport type Header = {\n source: string;\n basePath?: false;\n locale?: false;\n headers: Array<{\n key: string;\n value: string;\n }>;\n has?: RouteHas[];\n missing?: RouteHas[];\n};\nexport type Redirect = {\n source: string;\n destination: string;\n basePath?: false;\n locale?: false;\n has?: RouteHas[];\n missing?: RouteHas[];\n} & ({\n statusCode?: never;\n permanent: boolean;\n} | {\n statusCode: number;\n permanent?: never;\n});\nexport type Middleware = {\n source: string;\n locale?: false;\n has?: RouteHas[];\n missing?: RouteHas[];\n};\nexport declare function normalizeRouteRegex(regex: string): string;\nexport type RouteType = 'rewrite' | 'redirect' | 'header';\nexport declare function checkCustomRoutes(routes: Redirect[] | Header[] | Rewrite[] | Middleware[], type: RouteType | 'middleware'): void;\nexport interface CustomRoutes {\n headers: Header[];\n rewrites: {\n fallback: Rewrite[];\n afterFiles: Rewrite[];\n beforeFiles: Rewrite[];\n };\n redirects: Redirect[];\n}\nexport default function loadCustomRoutes(config: NextConfig): Promise<CustomRoutes>;\n","import type { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';\nimport type { I18NConfig } from '../config-shared';\nimport type { NextApiRequestCookies } from '../api-utils';\nexport interface BaseNextRequestConfig {\n basePath: string | undefined;\n i18n?: I18NConfig;\n trailingSlash?: boolean | undefined;\n}\nexport type FetchMetric = {\n url: string;\n idx: number;\n end: number;\n start: number;\n method: string;\n status: number;\n cacheReason: string;\n cacheStatus: 'hit' | 'miss' | 'skip' | 'hmr';\n cacheWarning?: string;\n};\nexport type FetchMetrics = Array<FetchMetric>;\nexport declare abstract class BaseNextRequest<Body = any> {\n method: string;\n url: string;\n body: Body;\n protected _cookies: NextApiRequestCookies | undefined;\n abstract headers: IncomingHttpHeaders;\n abstract fetchMetrics: FetchMetric[] | undefined;\n constructor(method: string, url: string, body: Body);\n get cookies(): Partial<{\n [key: string]: string;\n }>;\n}\nexport declare abstract class BaseNextResponse<Destination = any> {\n destination: Destination;\n abstract statusCode: number | undefined;\n abstract statusMessage: string | undefined;\n abstract get sent(): boolean;\n constructor(destination: Destination);\n /**\n * Sets a value for the header overwriting existing values\n */\n abstract setHeader(name: string, value: string | string[]): this;\n /**\n * Removes a header\n */\n abstract removeHeader(name: string): this;\n /**\n * Appends value for the given header name\n */\n abstract appendHeader(name: string, value: string): this;\n /**\n * Get all values for a header as an array or undefined if no value is present\n */\n abstract getHeaderValues(name: string): string[] | undefined;\n abstract hasHeader(name: string): boolean;\n /**\n * Get values for a header concatenated using `,` or undefined if no value is present\n */\n abstract getHeader(name: string): string | undefined;\n abstract getHeaders(): OutgoingHttpHeaders;\n abstract body(value: string): this;\n abstract send(): void;\n abstract onClose(callback: () => void): void;\n redirect(destination: string, statusCode: number): this;\n}\n","import type { IncomingMessage } from 'http';\nimport type { BaseNextRequest } from '../base-http';\nimport type { NextApiResponse } from '../../shared/lib/utils';\nexport type NextApiRequestCookies = Partial<{\n [key: string]: string;\n}>;\nexport type NextApiRequestQuery = Partial<{\n [key: string]: string | string[];\n}>;\nexport type __ApiPreviewProps = {\n previewModeId: string;\n previewModeEncryptionKey: string;\n previewModeSigningKey: string;\n};\nexport declare function wrapApiHandler<T extends (...args: any[]) => any>(page: string, handler: T): T;\n/**\n *\n * @param res response object\n * @param statusCode `HTTP` status code of response\n */\nexport declare function sendStatusCode(res: NextApiResponse, statusCode: number): NextApiResponse<any>;\n/**\n *\n * @param res response object\n * @param [statusOrUrl] `HTTP` status code of redirect\n * @param url URL of redirect\n */\nexport declare function redirect(res: NextApiResponse, statusOrUrl: string | number, url?: string): NextApiResponse<any>;\nexport declare function checkIsOnDemandRevalidate(req: Request | IncomingMessage | BaseNextRequest, previewProps: __ApiPreviewProps): {\n isOnDemandRevalidate: boolean;\n revalidateOnlyGenerated: boolean;\n};\nexport declare const COOKIE_NAME_PRERENDER_BYPASS = \"__prerender_bypass\";\nexport declare const COOKIE_NAME_PRERENDER_DATA = \"__next_preview_data\";\nexport declare const RESPONSE_LIMIT_DEFAULT: number;\nexport declare const SYMBOL_PREVIEW_DATA: unique symbol;\nexport declare const SYMBOL_CLEARED_COOKIES: unique symbol;\nexport declare function clearPreviewData<T>(res: NextApiResponse<T>, options?: {\n path?: string;\n}): NextApiResponse<T>;\n/**\n * Custom error class\n */\nexport declare class ApiError extends Error {\n readonly statusCode: number;\n constructor(statusCode: number, message: string);\n}\n/**\n * Sends error in `response`\n * @param res response object\n * @param statusCode of response\n * @param message of response\n */\nexport declare function sendError(res: NextApiResponse, statusCode: number, message: string): void;\ninterface LazyProps {\n req: IncomingMessage;\n}\n/**\n * Execute getter function only if its needed\n * @param LazyProps `req` and `params` for lazyProp\n * @param prop name of property\n * @param getter function to get data\n */\nexport declare function setLazyProp<T>({ req }: LazyProps, prop: string, getter: () => T): void;\nexport {};\n","import type { NextConfig } from '../../server/config-shared';\nimport type { RouteHas } from '../../lib/load-custom-routes';\nimport type { RSCMeta } from '../webpack/loaders/get-module-build-info';\nimport { PAGE_TYPES } from '../../lib/page-types';\nimport { type AppSegmentConfig } from '../segment-config/app/app-segment-config';\nimport { type PagesSegmentConfig, type PagesSegmentConfigConfig } from '../segment-config/pages/pages-segment-config';\nexport type MiddlewareMatcher = {\n regexp: string;\n locale?: false;\n has?: RouteHas[];\n missing?: RouteHas[];\n originalSource: string;\n};\nexport type MiddlewareConfig = {\n /**\n * The matcher for the middleware. Read more: [Next.js Docs: Middleware `matcher`](https://nextjs.org/docs/app/api-reference/file-conventions/middleware#matcher),\n * [Next.js Docs: Middleware matching paths](https://nextjs.org/docs/app/building-your-application/routing/middleware#matching-paths)\n */\n matchers?: MiddlewareMatcher[];\n /**\n * The regions that the middleware should run in.\n */\n regions?: string | string[];\n /**\n * A glob, or an array of globs, ignoring dynamic code evaluation for specific\n * files. The globs are relative to your application root folder.\n */\n unstable_allowDynamic?: string[];\n};\nexport interface AppPageStaticInfo {\n type: PAGE_TYPES.APP;\n ssg?: boolean;\n ssr?: boolean;\n rsc?: RSCModuleType;\n generateStaticParams?: boolean;\n generateSitemaps?: boolean;\n generateImageMetadata?: boolean;\n middleware?: MiddlewareConfig;\n config: Omit<AppSegmentConfig, 'runtime' | 'maxDuration'> | undefined;\n runtime: AppSegmentConfig['runtime'] | undefined;\n preferredRegion: AppSegmentConfig['preferredRegion'] | undefined;\n maxDuration: number | undefined;\n hadUnsupportedValue: boolean;\n}\nexport interface PagesPageStaticInfo {\n type: PAGE_TYPES.PAGES;\n getStaticProps?: boolean;\n getServerSideProps?: boolean;\n rsc?: RSCModuleType;\n generateStaticParams?: boolean;\n generateSitemaps?: boolean;\n generateImageMetadata?: boolean;\n middleware?: MiddlewareConfig;\n config: (Omit<PagesSegmentConfig, 'runtime' | 'config' | 'maxDuration'> & {\n config?: Omit<PagesSegmentConfigConfig, 'runtime' | 'maxDuration'>;\n }) | undefined;\n runtime: PagesSegmentConfig['runtime'] | undefined;\n preferredRegion: PagesSegmentConfigConfig['regions'] | undefined;\n maxDuration: number | undefined;\n hadUnsupportedValue: boolean;\n}\nexport type PageStaticInfo = AppPageStaticInfo | PagesPageStaticInfo;\nexport type RSCModuleType = 'server' | 'client';\nexport declare function getRSCModuleInformation(source: string, isReactServerLayer: boolean): RSCMeta;\ntype GetPageStaticInfoParams = {\n pageFilePath: string;\n nextConfig: Partial<NextConfig>;\n isDev?: boolean;\n page: string;\n pageType: PAGE_TYPES;\n};\nexport declare function getAppPageStaticInfo({ pageFilePath, nextConfig, isDev, page, }: GetPageStaticInfoParams): Promise<AppPageStaticInfo>;\nexport declare function getPagesPageStaticInfo({ pageFilePath, nextConfig, isDev, page, }: GetPageStaticInfoParams): Promise<PagesPageStaticInfo>;\n/**\n * For a given pageFilePath and nextConfig, if the config supports it, this\n * function will read the file and return the runtime that should be used.\n * It will look into the file content only if the page *requires* a runtime\n * to be specified, that is, when gSSP or gSP is used.\n * Related discussion: https://github.com/vercel/next.js/discussions/34179\n */\nexport declare function getPageStaticInfo(params: GetPageStaticInfoParams): Promise<PageStaticInfo>;\nexport {};\n","export declare const enum RouteKind {\n /**\n * `PAGES` represents all the React pages that are under `pages/`.\n */\n PAGES = \"PAGES\",\n /**\n * `PAGES_API` represents all the API routes under `pages/api/`.\n */\n PAGES_API = \"PAGES_API\",\n /**\n * `APP_PAGE` represents all the React pages that are under `app/` with the\n * filename of `page.{j,t}s{,x}`.\n */\n APP_PAGE = \"APP_PAGE\",\n /**\n * `APP_ROUTE` represents all the API routes and metadata routes that are under `app/` with the\n * filename of `route.{j,t}s{,x}`.\n */\n APP_ROUTE = \"APP_ROUTE\",\n /**\n * `IMAGE` represents all the images that are generated by `next/image`.\n */\n IMAGE = \"IMAGE\"\n}\n","import type { OutgoingHttpHeaders } from 'http';\nimport type RenderResult from '../render-result';\nimport type { CacheControl, Revalidate } from '../lib/cache-control';\nimport type { RouteKind } from '../route-kind';\nexport interface ResponseCacheBase {\n get(key: string | null, responseGenerator: ResponseGenerator, context: {\n isOnDemandRevalidate?: boolean;\n isPrefetch?: boolean;\n incrementalCache: IncrementalCache;\n /**\n * This is a hint to the cache to help it determine what kind of route\n * this is so it knows where to look up the cache entry from. If not\n * provided it will test the filesystem to check.\n */\n routeKind: RouteKind;\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean;\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean;\n }): Promise<ResponseCacheEntry | null>;\n}\nexport interface ServerComponentsHmrCache {\n get(key: string): CachedFetchData | undefined;\n set(key: string, data: CachedFetchData): void;\n}\nexport type CachedFetchData = {\n headers: Record<string, string>;\n body: string;\n url: string;\n status?: number;\n};\nexport declare const enum CachedRouteKind {\n APP_PAGE = \"APP_PAGE\",\n APP_ROUTE = \"APP_ROUTE\",\n PAGES = \"PAGES\",\n FETCH = \"FETCH\",\n REDIRECT = \"REDIRECT\",\n IMAGE = \"IMAGE\"\n}\nexport interface CachedFetchValue {\n kind: CachedRouteKind.FETCH;\n data: CachedFetchData;\n tags?: string[];\n revalidate: number;\n}\nexport interface CachedRedirectValue {\n kind: CachedRouteKind.REDIRECT;\n props: Object;\n}\nexport interface CachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE;\n html: RenderResult;\n rscData: Buffer | undefined;\n status: number | undefined;\n postponed: string | undefined;\n headers: OutgoingHttpHeaders | undefined;\n segmentData: Map<string, Buffer> | undefined;\n}\nexport interface CachedPageValue {\n kind: CachedRouteKind.PAGES;\n html: RenderResult;\n pageData: Object;\n status: number | undefined;\n headers: OutgoingHttpHeaders | undefined;\n}\nexport interface CachedRouteValue {\n kind: CachedRouteKind.APP_ROUTE;\n body: Buffer;\n status: number;\n headers: OutgoingHttpHeaders;\n}\nexport interface CachedImageValue {\n kind: CachedRouteKind.IMAGE;\n etag: string;\n upstreamEtag: string;\n buffer: Buffer;\n extension: string;\n isMiss?: boolean;\n isStale?: boolean;\n}\nexport interface IncrementalCachedAppPageValue {\n kind: CachedRouteKind.APP_PAGE;\n html: string;\n rscData: Buffer | undefined;\n headers: OutgoingHttpHeaders | undefined;\n postponed: string | undefined;\n status: number | undefined;\n segmentData: Map<string, Buffer> | undefined;\n}\nexport interface IncrementalCachedPageValue {\n kind: CachedRouteKind.PAGES;\n html: string;\n pageData: Object;\n headers: OutgoingHttpHeaders | undefined;\n status: number | undefined;\n}\nexport interface IncrementalResponseCacheEntry {\n cacheControl?: CacheControl;\n /**\n * timestamp in milliseconds to revalidate after\n */\n revalidateAfter?: Revalidate;\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1;\n isMiss?: boolean;\n value: Exclude<IncrementalCacheValue, CachedFetchValue> | null;\n}\nexport interface IncrementalFetchCacheEntry {\n /**\n * `-1` here dictates a blocking revalidate should be used\n */\n isStale?: boolean | -1;\n value: CachedFetchValue;\n}\nexport type IncrementalCacheEntry = IncrementalResponseCacheEntry | IncrementalFetchCacheEntry;\nexport type IncrementalCacheValue = CachedRedirectValue | IncrementalCachedPageValue | IncrementalCachedAppPageValue | CachedImageValue | CachedFetchValue | CachedRouteValue;\nexport type ResponseCacheValue = CachedRedirectValue | CachedPageValue | CachedAppPageValue | CachedImageValue | CachedRouteValue;\nexport type ResponseCacheEntry = {\n cacheControl?: CacheControl;\n value: ResponseCacheValue | null;\n isStale?: boolean | -1;\n isMiss?: boolean;\n};\n/**\n * @param hasResolved whether the responseGenerator has resolved it's promise\n * @param previousCacheEntry the previous cache entry if it exists or the current\n */\nexport type ResponseGenerator = (state: {\n hasResolved: boolean;\n previousCacheEntry?: IncrementalResponseCacheEntry | null;\n isRevalidating?: boolean;\n span?: any;\n}) => Promise<ResponseCacheEntry | null>;\nexport declare const enum IncrementalCacheKind {\n APP_PAGE = \"APP_PAGE\",\n APP_ROUTE = \"APP_ROUTE\",\n PAGES = \"PAGES\",\n FETCH = \"FETCH\",\n IMAGE = \"IMAGE\"\n}\nexport interface GetIncrementalFetchCacheContext {\n kind: IncrementalCacheKind.FETCH;\n revalidate?: Revalidate;\n fetchUrl?: string;\n fetchIdx?: number;\n tags?: string[];\n softTags?: string[];\n}\nexport interface GetIncrementalResponseCacheContext {\n kind: Exclude<IncrementalCacheKind, IncrementalCacheKind.FETCH>;\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean;\n /**\n * True if this is a fallback request.\n */\n isFallback: boolean;\n}\nexport interface SetIncrementalFetchCacheContext {\n fetchCache: true;\n fetchUrl?: string;\n fetchIdx?: number;\n tags?: string[];\n isImplicitBuildTimeCache?: boolean;\n}\nexport interface SetIncrementalResponseCacheContext {\n fetchCache?: false;\n cacheControl?: CacheControl;\n /**\n * True if the route is enabled for PPR.\n */\n isRoutePPREnabled?: boolean;\n /**\n * True if this is a fallback request.\n */\n isFallback?: boolean;\n}\nexport interface IncrementalResponseCache {\n get(cacheKey: string, ctx: GetIncrementalResponseCacheContext): Promise<IncrementalResponseCacheEntry | null>;\n set(key: string, data: Exclude<IncrementalCacheValue, CachedFetchValue> | null, ctx: SetIncrementalResponseCacheContext): Promise<void>;\n}\nexport interface IncrementalCache extends IncrementalResponseCache {\n get(cacheKey: string, ctx: GetIncrementalFetchCacheContext): Promise<IncrementalFetchCacheEntry | null>;\n get(cacheKey: string, ctx: GetIncrementalResponseCacheContext): Promise<IncrementalResponseCacheEntry | null>;\n set(key: string, data: CachedFetchValue | null, ctx: SetIncrementalFetchCacheContext): Promise<void>;\n set(key: string, data: Exclude<IncrementalCacheValue, CachedFetchValue> | null, ctx: SetIncrementalResponseCacheContext): Promise<void>;\n}\n","import MODERN_BROWSERSLIST_TARGET from './modern-browserslist-target';\nexport { MODERN_BROWSERSLIST_TARGET };\nexport type ValueOf<T> = Required<T>[keyof T];\nexport declare const COMPILER_NAMES: {\n readonly client: \"client\";\n readonly server: \"server\";\n readonly edgeServer: \"edge-server\";\n};\nexport type CompilerNameValues = ValueOf<typeof COMPILER_NAMES>;\nexport declare const COMPILER_INDEXES: {\n [compilerKey in CompilerNameValues]: number;\n};\nexport declare const UNDERSCORE_NOT_FOUND_ROUTE = \"/_not-found\";\nexport declare const UNDERSCORE_NOT_FOUND_ROUTE_ENTRY = \"/_not-found/page\";\nexport declare const PHASE_EXPORT = \"phase-export\";\nexport declare const PHASE_PRODUCTION_BUILD = \"phase-production-build\";\nexport declare const PHASE_PRODUCTION_SERVER = \"phase-production-server\";\nexport declare const PHASE_DEVELOPMENT_SERVER = \"phase-development-server\";\nexport declare const PHASE_TEST = \"phase-test\";\nexport declare const PHASE_INFO = \"phase-info\";\nexport declare const PAGES_MANIFEST = \"pages-manifest.json\";\nexport declare const WEBPACK_STATS = \"webpack-stats.json\";\nexport declare const APP_PATHS_MANIFEST = \"app-paths-manifest.json\";\nexport declare const APP_PATH_ROUTES_MANIFEST = \"app-path-routes-manifest.json\";\nexport declare const BUILD_MANIFEST = \"build-manifest.json\";\nexport declare const APP_BUILD_MANIFEST = \"app-build-manifest.json\";\nexport declare const FUNCTIONS_CONFIG_MANIFEST = \"functions-config-manifest.json\";\nexport declare const SUBRESOURCE_INTEGRITY_MANIFEST = \"subresource-integrity-manifest\";\nexport declare const NEXT_FONT_MANIFEST = \"next-font-manifest\";\nexport declare const EXPORT_MARKER = \"export-marker.json\";\nexport declare const EXPORT_DETAIL = \"export-detail.json\";\nexport declare const PRERENDER_MANIFEST = \"prerender-manifest.json\";\nexport declare const ROUTES_MANIFEST = \"routes-manifest.json\";\nexport declare const IMAGES_MANIFEST = \"images-manifest.json\";\nexport declare const SERVER_FILES_MANIFEST = \"required-server-files.json\";\nexport declare const DEV_CLIENT_PAGES_MANIFEST = \"_devPagesManifest.json\";\nexport declare const MIDDLEWARE_MANIFEST = \"middleware-manifest.json\";\nexport declare const TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST = \"_clientMiddlewareManifest.json\";\nexport declare const DEV_CLIENT_MIDDLEWARE_MANIFEST = \"_devMiddlewareManifest.json\";\nexport declare const REACT_LOADABLE_MANIFEST = \"react-loadable-manifest.json\";\nexport declare const SERVER_DIRECTORY = \"server\";\nexport declare const CONFIG_FILES: string[];\nexport declare const BUILD_ID_FILE = \"BUILD_ID\";\nexport declare const BLOCKED_PAGES: string[];\nexport declare const CLIENT_PUBLIC_FILES_PATH = \"public\";\nexport declare const CLIENT_STATIC_FILES_PATH = \"static\";\nexport declare const STRING_LITERAL_DROP_BUNDLE = \"__NEXT_DROP_CLIENT_FILE__\";\nexport declare const NEXT_BUILTIN_DOCUMENT = \"__NEXT_BUILTIN_DOCUMENT__\";\nexport declare const BARREL_OPTIMIZATION_PREFIX = \"__barrel_optimize__\";\nexport declare const CLIENT_REFERENCE_MANIFEST = \"client-reference-manifest\";\nexport declare const SERVER_REFERENCE_MANIFEST = \"server-reference-manifest\";\nexport declare const MIDDLEWARE_BUILD_MANIFEST = \"middleware-build-manifest\";\nexport declare const MIDDLEWARE_REACT_LOADABLE_MANIFEST = \"middleware-react-loadable-manifest\";\nexport declare const INTERCEPTION_ROUTE_REWRITE_MANIFEST = \"interception-route-rewrite-manifest\";\nexport declare const DYNAMIC_CSS_MANIFEST = \"dynamic-css-manifest\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_MAIN = \"main\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_MAIN_APP = \"main-app\";\nexport declare const APP_CLIENT_INTERNALS = \"app-pages-internals\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH = \"react-refresh\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_AMP = \"amp\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_WEBPACK = \"webpack\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS = \"polyfills\";\nexport declare const CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL: unique symbol;\nexport declare const DEFAULT_RUNTIME_WEBPACK = \"webpack-runtime\";\nexport declare const EDGE_RUNTIME_WEBPACK = \"edge-runtime-webpack\";\nexport declare const STATIC_PROPS_ID = \"__N_SSG\";\nexport declare const SERVER_PROPS_ID = \"__N_SSP\";\nexport declare const DEFAULT_SERIF_FONT: {\n name: string;\n xAvgCharWidth: number;\n azAvgWidth: number;\n unitsPerEm: number;\n};\nexport declare const DEFAULT_SANS_SERIF_FONT: {\n name: string;\n xAvgCharWidth: number;\n azAvgWidth: number;\n unitsPerEm: number;\n};\nexport declare const STATIC_STATUS_PAGES: string[];\nexport declare const TRACE_OUTPUT_VERSION = 1;\nexport declare const TURBO_TRACE_DEFAULT_MEMORY_LIMIT = 6000;\nexport declare const RSC_MODULE_TYPES: {\n readonly client: \"client\";\n readonly server: \"server\";\n};\nexport declare const EDGE_UNSUPPORTED_NODE_APIS: string[];\nexport declare const SYSTEM_ENTRYPOINTS: Set<string>;\n","import type { RouteKind } from '../route-kind';\nexport interface RouteDefinition<K extends RouteKind = RouteKind> {\n readonly kind: K;\n readonly bundlePath: string;\n readonly filename: string;\n /**\n * Describes the pathname including all internal modifiers such as\n * intercepting routes, parallel routes and route/page suffixes that are not\n * part of the pathname.\n */\n readonly page: string;\n /**\n * The pathname (including dynamic placeholders) for a route to resolve.\n */\n readonly pathname: string;\n}\n","import type { Params } from '../request/params';\nimport type { RouteDefinition } from '../route-definitions/route-definition';\n/**\n * RouteMatch is the resolved match for a given request. This will contain all\n * the dynamic parameters used for this route.\n */\nexport interface RouteMatch<D extends RouteDefinition = RouteDefinition> {\n readonly definition: D;\n /**\n * params when provided are the dynamic route parameters that were parsed from\n * the incoming request pathname. If a route match is returned without any\n * params, it should be considered a static route.\n */\n readonly params: Params | undefined;\n}\n","import type { IncomingMessage } from 'http';\nimport type { Readable } from 'stream';\nexport declare function requestToBodyStream(context: {\n ReadableStream: typeof ReadableStream;\n}, KUint8Array: typeof Uint8Array, stream: Readable): ReadableStream<any>;\nexport interface CloneableBody {\n finalize(): Promise<void>;\n cloneBodyStream(): Readable;\n}\nexport declare function getCloneableBody<T extends IncomingMessage>(readable: T, sizeLimit?: number): CloneableBody;\n","import React from 'react';\nexport type PagesDevOverlayBridgeType = typeof PagesDevOverlayBridge;\ninterface PagesDevOverlayBridgeProps {\n children?: React.ReactNode;\n}\nexport declare function PagesDevOverlayBridge({ children, }: PagesDevOverlayBridgeProps): import(\"react/jsx-runtime\").JSX.Element;\nexport declare function register(): void;\nexport {};\n","import type { IncomingMessage } from 'http';\nimport type { ParsedUrlQuery } from 'querystring';\nimport type { UrlWithParsedQuery } from 'url';\nimport type { BaseNextRequest } from './base-http';\nimport type { CloneableBody } from './body-streams';\nimport type { RouteMatch } from './route-matches/route-match';\nimport type { NEXT_RSC_UNION_QUERY } from '../client/components/app-router-headers';\nimport type { ServerComponentsHmrCache } from './response-cache';\nimport type { PagesDevOverlayBridgeType } from '../next-devtools/userspace/pages/pages-dev-overlay-setup';\nexport declare const NEXT_REQUEST_META: unique symbol;\nexport type NextIncomingMessage = (BaseNextRequest | IncomingMessage) & {\n [NEXT_REQUEST_META]?: RequestMeta;\n};\nexport interface RequestMeta {\n /**\n * The query that was used to make the request.\n */\n initQuery?: ParsedUrlQuery;\n /**\n * The URL that was used to make the request.\n */\n initURL?: string;\n /**\n * The protocol that was used to make the request.\n */\n initProtocol?: string;\n /**\n * The body that was read from the request. This is used to allow the body to\n * be read multiple times.\n */\n clonableBody?: CloneableBody;\n /**\n * True when the request matched a locale domain that was configured in the\n * next.config.js file.\n */\n isLocaleDomain?: boolean;\n /**\n * True when the request had locale information stripped from the pathname\n * part of the URL.\n */\n didStripLocale?: boolean;\n /**\n * If the request had it's URL rewritten, this is the URL it was rewritten to.\n */\n rewroteURL?: string;\n /**\n * The cookies that were added by middleware and were added to the response.\n */\n middlewareCookie?: string[];\n /**\n * The match on the request for a given route.\n */\n match?: RouteMatch;\n /**\n * The incremental cache to use for the request.\n */\n incrementalCache?: any;\n /**\n * The server components HMR cache, only for dev.\n */\n serverComponentsHmrCache?: ServerComponentsHmrCache;\n /**\n * Equals the segment path that was used for the prefetch RSC request.\n */\n segmentPrefetchRSCRequest?: string;\n /**\n * True when the request is for the prefetch flight data.\n */\n isPrefetchRSCRequest?: true;\n /**\n * True when the request is for the flight data.\n */\n isRSCRequest?: true;\n /**\n * A search param set by the Next.js client when performing RSC requests.\n * Because some CDNs do not vary their cache entries on our custom headers,\n * this search param represents a hash of the header values. For any cached\n * RSC request, we should verify that the hash matches before responding.\n * Otherwise this can lead to cache poisoning.\n * TODO: Consider not using custom request headers at all, and instead encode\n * everything into the search param.\n */\n cacheBustingSearchParam?: string;\n /**\n * True when the request is for the `/_next/data` route using the pages\n * router.\n */\n isNextDataReq?: true;\n /**\n * Postponed state to use for resumption. If present it's assumed that the\n * request is for a page that has postponed (there are no guarantees that the\n * page actually has postponed though as it would incur an additional cache\n * lookup).\n */\n postponed?: string;\n /**\n * If provided, this will be called when a response cache entry was generated\n * or looked up in the cache.\n */\n onCacheEntry?: (cacheEntry: any, requestMeta: any) => Promise<boolean | void> | boolean | void;\n /**\n * The previous revalidate before rendering 404 page for notFound: true\n */\n notFoundRevalidate?: number | false;\n /**\n * In development, the original source page that returned a 404.\n */\n developmentNotFoundSourcePage?: string;\n /**\n * The path we routed to and should be invoked\n */\n invokePath?: string;\n /**\n * The specific page output we should be matching\n */\n invokeOutput?: string;\n /**\n * The status we are invoking the request with from routing\n */\n invokeStatus?: number;\n /**\n * The routing error we are invoking with\n */\n invokeError?: Error;\n /**\n * The query parsed for the invocation\n */\n invokeQuery?: Record<string, undefined | string | string[]>;\n /**\n * Whether the request is a middleware invocation\n */\n middlewareInvoke?: boolean;\n /**\n * Whether the request should render the fallback shell or not.\n */\n renderFallbackShell?: boolean;\n /**\n * Whether the request is for the custom error page.\n */\n customErrorRender?: true;\n /**\n * Whether to bubble up the NoFallbackError to the caller when a 404 is\n * returned.\n */\n bubbleNoFallback?: true;\n /**\n * True when the request had locale information inferred from the default\n * locale.\n */\n localeInferredFromDefault?: true;\n /**\n * The locale that was inferred or explicitly set for the request.\n */\n locale?: string;\n /**\n * The default locale that was inferred or explicitly set for the request.\n */\n defaultLocale?: string;\n /**\n * The project dir the server is running in\n */\n projectDir?: string;\n /**\n * The dist directory the server is currently using\n */\n distDir?: string;\n /**\n * Whether we are generating the fallback version of the page in dev mode\n */\n isIsrFallback?: boolean;\n /**\n * The query after resolving routes\n */\n query?: ParsedUrlQuery;\n /**\n * The params after resolving routes\n */\n params?: ParsedUrlQuery;\n /**\n * The AMP validator to use in development\n */\n ampValidator?: (html: string, pathname: string) => Promise<void>;\n /**\n * ErrorOverlay component to use in development for pages router\n */\n PagesErrorDebug?: PagesDevOverlayBridgeType;\n /**\n * Whether server is in minimal mode (this will be replaced with more\n * specific flags in future)\n */\n minimalMode?: boolean;\n}\n/**\n * Gets the request metadata. If no key is provided, the entire metadata object\n * is returned.\n *\n * @param req the request to get the metadata from\n * @param key the key to get from the metadata (optional)\n * @returns the value for the key or the entire metadata object\n */\nexport declare function getRequestMeta(req: NextIncomingMessage, key?: undefined): RequestMeta;\nexport declare function getRequestMeta<K extends keyof RequestMeta>(req: NextIncomingMessage, key: K): RequestMeta[K];\n/**\n * Sets the request metadata.\n *\n * @param req the request to set the metadata on\n * @param meta the metadata to set\n * @returns the mutated request metadata\n */\nexport declare function setRequestMeta(req: NextIncomingMessage, meta: RequestMeta): RequestMeta;\n/**\n * Adds a value to the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to set\n * @param value the value to set\n * @returns the mutated request metadata\n */\nexport declare function addRequestMeta<K extends keyof RequestMeta>(request: NextIncomingMessage, key: K, value: RequestMeta[K]): RequestMeta;\n/**\n * Removes a key from the request metadata.\n *\n * @param request the request to mutate\n * @param key the key to remove\n * @returns the mutated request metadata\n */\nexport declare function removeRequestMeta<K extends keyof RequestMeta>(request: NextIncomingMessage, key: K): RequestMeta;\ntype NextQueryMetadata = {\n /**\n * The `_rsc` query parameter used for cache busting to ensure that the RSC\n * requests do not get cached by the browser explicitly.\n */\n [NEXT_RSC_UNION_QUERY]?: string;\n};\nexport type NextParsedUrlQuery = ParsedUrlQuery & NextQueryMetadata & {\n amp?: '1';\n};\nexport interface NextUrlWithParsedQuery extends UrlWithParsedQuery {\n query: NextParsedUrlQuery;\n}\nexport {};\n","import type { DomainLocale, I18NConfig } from '../config-shared';\nimport { type NextIncomingMessage } from '../request-meta';\n/**\n * The result of matching a locale aware route.\n */\nexport interface LocaleAnalysisResult {\n /**\n * The pathname without the locale prefix (if any).\n */\n pathname: string;\n /**\n * The detected locale. If no locale was detected, this will be `undefined`.\n */\n detectedLocale?: string;\n /**\n * True if the locale was inferred from the default locale.\n */\n inferredFromDefault: boolean;\n}\ntype LocaleAnalysisOptions = {\n /**\n * When provided, it will be used as the default locale if the locale\n * cannot be inferred from the pathname.\n */\n defaultLocale?: string;\n};\n/**\n * The I18NProvider is used to match locale aware routes, detect the locale from\n * the pathname and hostname and normalize the pathname by removing the locale\n * prefix.\n */\nexport declare class I18NProvider {\n readonly config: Readonly<I18NConfig>;\n private readonly lowerCaseLocales;\n private readonly lowerCaseDomains?;\n constructor(config: Readonly<I18NConfig>);\n /**\n * Detects the domain locale from the hostname and the detected locale if\n * provided.\n *\n * @param hostname The hostname to detect the domain locale from, this must be lowercased.\n * @param detectedLocale The detected locale to use if the hostname does not match.\n * @returns The domain locale if found, `undefined` otherwise.\n */\n detectDomainLocale(hostname?: string, detectedLocale?: string): DomainLocale | undefined;\n /**\n * Pulls the pre-computed locale and inference results from the query\n * object.\n *\n * @param req the request object\n * @param pathname the pathname that could contain a locale prefix\n * @returns the locale analysis result\n */\n fromRequest(req: NextIncomingMessage, pathname: string): LocaleAnalysisResult;\n /**\n * Analyzes the pathname for a locale and returns the pathname without it.\n *\n * @param pathname The pathname that could contain a locale prefix.\n * @param options The options to use when matching the locale.\n * @returns The matched locale and the pathname without the locale prefix\n * (if any).\n */\n analyze(pathname: string, options?: LocaleAnalysisOptions): LocaleAnalysisResult;\n}\nexport {};\n","import type { OutgoingHttpHeaders } from 'http';\nimport type { DomainLocale, I18NConfig } from '../config-shared';\nimport type { I18NProvider } from '../lib/i18n-provider';\ninterface Options {\n base?: string | URL;\n headers?: OutgoingHttpHeaders;\n forceLocale?: boolean;\n nextConfig?: {\n basePath?: string;\n i18n?: I18NConfig | null;\n trailingSlash?: boolean;\n };\n i18nProvider?: I18NProvider;\n}\ndeclare const Internal: unique symbol;\nexport declare class NextURL {\n private [Internal];\n constructor(input: string | URL, base?: string | URL, opts?: Options);\n constructor(input: string | URL, opts?: Options);\n private analyze;\n private formatPathname;\n private formatSearch;\n get buildId(): string | undefined;\n set buildId(buildId: string | undefined);\n get locale(): string;\n set locale(locale: string);\n get defaultLocale(): string | undefined;\n get domainLocale(): DomainLocale | undefined;\n get searchParams(): URLSearchParams;\n get host(): string;\n set host(value: string);\n get hostname(): string;\n set hostname(value: string);\n get port(): string;\n set port(value: string);\n get protocol(): string;\n set protocol(value: string);\n get href(): string;\n set href(url: string);\n get origin(): string;\n get pathname(): string;\n set pathname(value: string);\n get hash(): string;\n set hash(value: string);\n get search(): string;\n set search(value: string);\n get password(): string;\n set password(value: string);\n get username(): string;\n set username(value: string);\n get basePath(): string;\n set basePath(value: string);\n toString(): string;\n toJSON(): string;\n clone(): NextURL;\n}\nexport {};\n","/**\n * Basic HTTP cookie parser and serializer for HTTP servers.\n */\n\n/**\n * Additional serialization options\n */\ninterface CookieSerializeOptions {\n /**\n * Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.3|Domain Set-Cookie attribute}. By default, no\n * domain is set, and most clients will consider the cookie to apply to only\n * the current domain.\n */\n domain?: string | undefined;\n\n /**\n * Specifies a function that will be used to encode a cookie's value. Since\n * value of a cookie has a limited character set (and must be a simple\n * string), this function can be used to encode a value into a string suited\n * for a cookie's value.\n *\n * The default function is the global `encodeURIComponent`, which will\n * encode a JavaScript string into UTF-8 byte sequences and then URL-encode\n * any that fall outside of the cookie range.\n */\n encode?(value: string): string;\n\n /**\n * Specifies the `Date` object to be the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.1|`Expires` `Set-Cookie` attribute}. By default,\n * no expiration is set, and most clients will consider this a \"non-persistent cookie\" and will delete\n * it on a condition like exiting a web browser application.\n *\n * *Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3|cookie storage model specification}\n * states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is\n * possible not all clients by obey this, so if both are set, they should\n * point to the same date and time.\n */\n expires?: Date | undefined;\n /**\n * Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.6|`HttpOnly` `Set-Cookie` attribute}.\n * When truthy, the `HttpOnly` attribute is set, otherwise it is not. By\n * default, the `HttpOnly` attribute is not set.\n *\n * *Note* be careful when setting this to true, as compliant clients will\n * not allow client-side JavaScript to see the cookie in `document.cookie`.\n */\n httpOnly?: boolean | undefined;\n /**\n * Specifies the number (in seconds) to be the value for the `Max-Age`\n * `Set-Cookie` attribute. The given number will be converted to an integer\n * by rounding down. By default, no maximum age is set.\n *\n * *Note* the {@link https://tools.ietf.org/html/rfc6265#section-5.3|cookie storage model specification}\n * states that if both `expires` and `maxAge` are set, then `maxAge` takes precedence, but it is\n * possible not all clients by obey this, so if both are set, they should\n * point to the same date and time.\n */\n maxAge?: number | undefined;\n /**\n * Specifies the `boolean` value for the [`Partitioned` `Set-Cookie`](rfc-cutler-httpbis-partitioned-cookies)\n * attribute. When truthy, the `Partitioned` attribute is set, otherwise it is not. By default, the\n * `Partitioned` attribute is not set.\n *\n * **note** This is an attribute that has not yet been fully standardized, and may change in the future.\n * This also means many clients may ignore this attribute until they understand it.\n *\n * More information about can be found in [the proposal](https://github.com/privacycg/CHIPS)\n */\n partitioned?: boolean | undefined;\n /**\n * Specifies the value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.4|`Path` `Set-Cookie` attribute}.\n * By default, the path is considered the \"default path\".\n */\n path?: string | undefined;\n /**\n * Specifies the `string` to be the value for the [`Priority` `Set-Cookie` attribute][rfc-west-cookie-priority-00-4.1].\n *\n * - `'low'` will set the `Priority` attribute to `Low`.\n * - `'medium'` will set the `Priority` attribute to `Medium`, the default priority when not set.\n * - `'high'` will set the `Priority` attribute to `High`.\n *\n * More information about the different priority levels can be found in\n * [the specification][rfc-west-cookie-priority-00-4.1].\n *\n * **note** This is an attribute that has not yet been fully standardized, and may change in the future.\n * This also means many clients may ignore this attribute until they understand it.\n */\n priority?: \"low\" | \"medium\" | \"high\" | undefined;\n /**\n * Specifies the boolean or string to be the value for the {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7|`SameSite` `Set-Cookie` attribute}.\n *\n * - `true` will set the `SameSite` attribute to `Strict` for strict same\n * site enforcement.\n * - `false` will not set the `SameSite` attribute.\n * - `'lax'` will set the `SameSite` attribute to Lax for lax same site\n * enforcement.\n * - `'strict'` will set the `SameSite` attribute to Strict for strict same\n * site enforcement.\n * - `'none'` will set the SameSite attribute to None for an explicit\n * cross-site cookie.\n *\n * More information about the different enforcement levels can be found in {@link https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-03#section-4.1.2.7|the specification}.\n *\n * *note* This is an attribute that has not yet been fully standardized, and may change in the future. This also means many clients may ignore this attribute until they understand it.\n */\n sameSite?: true | false | \"lax\" | \"strict\" | \"none\" | undefined;\n /**\n * Specifies the boolean value for the {@link https://tools.ietf.org/html/rfc6265#section-5.2.5|`Secure` `Set-Cookie` attribute}. When truthy, the\n * `Secure` attribute is set, otherwise it is not. By default, the `Secure` attribute is not set.\n *\n * *Note* be careful when setting this to `true`, as compliant clients will\n * not send the cookie back to the server in the future if the browser does\n * not have an HTTPS connection.\n */\n secure?: boolean | undefined;\n}\n\n/**\n * {@link https://wicg.github.io/cookie-store/#dictdef-cookielistitem CookieListItem}\n * as specified by W3C.\n */\ninterface CookieListItem extends Pick<CookieSerializeOptions, 'domain' | 'path' | 'secure' | 'sameSite' | 'partitioned'> {\n /** A string with the name of a cookie. */\n name: string;\n /** A string containing the value of the cookie. */\n value: string;\n /** A number of milliseconds or Date interface containing the expires of the cookie. */\n expires?: number | CookieSerializeOptions['expires'];\n}\n/**\n * Superset of {@link CookieListItem} extending it with\n * the `httpOnly`, `maxAge` and `priority` properties.\n */\ntype ResponseCookie = CookieListItem & Pick<CookieSerializeOptions, 'httpOnly' | 'maxAge' | 'priority'>;\n/**\n * Subset of {@link CookieListItem}, only containing `name` and `value`\n * since other cookie attributes aren't be available on a `Request`.\n */\ntype RequestCookie = Pick<CookieListItem, 'name' | 'value'>;\n\n/**\n * A class for manipulating {@link Request} cookies (`Cookie` header).\n */\ndeclare class RequestCookies {\n constructor(requestHeaders: Headers);\n [Symbol.iterator](): MapIterator<[string, RequestCookie]>;\n /**\n * The amount of cookies received from the client\n */\n get size(): number;\n get(...args: [name: string] | [RequestCookie]): RequestCookie | undefined;\n getAll(...args: [name: string] | [RequestCookie] | []): RequestCookie[];\n has(name: string): boolean;\n set(...args: [key: string, value: string] | [options: RequestCookie]): this;\n /**\n * Delete the cookies matching the passed name or names in the request.\n */\n delete(\n /** Name or names of the cookies to be deleted */\n names: string | string[]): boolean | boolean[];\n /**\n * Delete all the cookies in the cookies in the request.\n */\n clear(): this;\n toString(): string;\n}\n\n/**\n * A class for manipulating {@link Response} cookies (`Set-Cookie` header).\n * Loose implementation of the experimental [Cookie Store API](https://wicg.github.io/cookie-store/#dictdef-cookie)\n * The main difference is `ResponseCookies` methods do not return a Promise.\n */\ndeclare class ResponseCookies {\n constructor(responseHeaders: Headers);\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-get CookieStore#get} without the Promise.\n */\n get(...args: [key: string] | [options: ResponseCookie]): ResponseCookie | undefined;\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-getAll CookieStore#getAll} without the Promise.\n */\n getAll(...args: [key: string] | [options: ResponseCookie] | []): ResponseCookie[];\n has(name: string): boolean;\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-set CookieStore#set} without the Promise.\n */\n set(...args: [key: string, value: string, cookie?: Partial<ResponseCookie>] | [options: ResponseCookie]): this;\n /**\n * {@link https://wicg.github.io/cookie-store/#CookieStore-delete CookieStore#delete} without the Promise.\n */\n delete(...args: [key: string] | [options: Omit<ResponseCookie, 'value' | 'expires'>]): this;\n toString(): string;\n}\n\ndeclare function stringifyCookie(c: ResponseCookie | RequestCookie): string;\n/** Parse a `Cookie` header value */\ndeclare function parseCookie(cookie: string): Map<string, string>;\n/** Parse a `Set-Cookie` header value */\ndeclare function parseSetCookie(setCookie: string): undefined | ResponseCookie;\n\nexport { type CookieListItem, type RequestCookie, RequestCookies, type ResponseCookie, ResponseCookies, parseCookie, parseSetCookie, stringifyCookie };\n","import type { I18NConfig } from '../../config-shared';\nimport { NextURL } from '../next-url';\nimport { ResponseCookies } from './cookies';\ndeclare const INTERNALS: unique symbol;\n/**\n * This class extends the [Web `Response` API](https://developer.mozilla.org/docs/Web/API/Response) with additional convenience methods.\n *\n * Read more: [Next.js Docs: `NextResponse`](https://nextjs.org/docs/app/api-reference/functions/next-response)\n */\nexport declare class NextResponse<Body = unknown> extends Response {\n [INTERNALS]: {\n cookies: ResponseCookies;\n url?: NextURL;\n body?: Body;\n };\n constructor(body?: BodyInit | null, init?: ResponseInit);\n get cookies(): ResponseCookies;\n static json<JsonBody>(body: JsonBody, init?: ResponseInit): NextResponse<JsonBody>;\n static redirect(url: string | NextURL | URL, init?: number | ResponseInit): NextResponse<unknown>;\n static rewrite(destination: string | NextURL | URL, init?: MiddlewareResponseInit): NextResponse<unknown>;\n static next(init?: MiddlewareResponseInit): NextResponse<unknown>;\n}\ninterface ResponseInit extends globalThis.ResponseInit {\n nextConfig?: {\n basePath?: string;\n i18n?: I18NConfig;\n trailingSlash?: boolean;\n };\n url?: string;\n}\ninterface ModifiedRequest {\n /**\n * If this is set, the request headers will be overridden with this value.\n */\n headers?: Headers;\n}\ninterface MiddlewareResponseInit extends globalThis.ResponseInit {\n /**\n * These fields will override the request from clients.\n */\n request?: ModifiedRequest;\n}\nexport {};\n","import type { ComponentType } from 'react';\nimport type { MiddlewareMatcher } from '../build/analysis/get-page-static-info';\ndeclare global {\n interface Window {\n __BUILD_MANIFEST?: Record<string, string[]>;\n __BUILD_MANIFEST_CB?: Function;\n __MIDDLEWARE_MATCHERS?: MiddlewareMatcher[];\n __MIDDLEWARE_MANIFEST_CB?: Function;\n __REACT_LOADABLE_MANIFEST?: any;\n __DYNAMIC_CSS_MANIFEST?: any;\n __RSC_MANIFEST?: any;\n __RSC_SERVER_MANIFEST?: any;\n __NEXT_FONT_MANIFEST?: any;\n __SUBRESOURCE_INTEGRITY_MANIFEST?: string;\n __INTERCEPTION_ROUTE_REWRITE_MANIFEST?: string;\n }\n}\ninterface LoadedEntrypointSuccess {\n component: ComponentType;\n exports: any;\n}\ninterface LoadedEntrypointFailure {\n error: unknown;\n}\ntype RouteEntrypoint = LoadedEntrypointSuccess | LoadedEntrypointFailure;\ninterface RouteStyleSheet {\n href: string;\n content: string;\n}\ninterface LoadedRouteSuccess extends LoadedEntrypointSuccess {\n styles: RouteStyleSheet[];\n}\ninterface LoadedRouteFailure {\n error: unknown;\n}\ntype RouteLoaderEntry = LoadedRouteSuccess | LoadedRouteFailure;\nexport interface RouteLoader {\n whenEntrypoint(route: string): Promise<RouteEntrypoint>;\n onEntrypoint(route: string, execute: () => unknown): void;\n loadRoute(route: string, prefetch?: boolean): Promise<RouteLoaderEntry>;\n prefetch(route: string): Promise<void>;\n}\nexport declare function markAssetError(err: Error): Error;\nexport declare function isAssetError(err?: Error): boolean | undefined;\nexport declare function getClientBuildManifest(): Promise<Record<string, string[]>>;\nexport declare function createRouteLoader(assetPrefix: string): RouteLoader;\nexport {};\n","import type { ComponentType } from 'react';\nimport type { RouteLoader } from './route-loader';\nimport type { MiddlewareMatcher } from '../build/analysis/get-page-static-info';\ndeclare global {\n interface Window {\n __DEV_MIDDLEWARE_MATCHERS?: MiddlewareMatcher[];\n __DEV_PAGES_MANIFEST?: {\n pages: string[];\n };\n __SSG_MANIFEST_CB?: () => void;\n __SSG_MANIFEST?: Set<string>;\n }\n}\nexport type StyleSheetTuple = {\n href: string;\n text: string;\n};\nexport type GoodPageCache = {\n page: ComponentType;\n mod: any;\n styleSheets: StyleSheetTuple[];\n};\nexport default class PageLoader {\n private buildId;\n private assetPrefix;\n private promisedSsgManifest;\n private promisedDevPagesManifest?;\n private promisedMiddlewareMatchers?;\n routeLoader: RouteLoader;\n constructor(buildId: string, assetPrefix: string);\n getPageList(): string[] | Promise<string[]>;\n getMiddleware(): MiddlewareMatcher[] | Promise<MiddlewareMatcher[]> | undefined;\n getDataHref(params: {\n asPath: string;\n href: string;\n locale?: string | false;\n skipInterpolation?: boolean;\n }): string;\n _isSsg(\n /** the route (file-system path) */\n route: string): Promise<boolean>;\n loadPage(route: string): Promise<GoodPageCache>;\n prefetch(route: string): Promise<void>;\n}\n","import type { ComponentType } from 'react';\nimport type { DomainLocale } from '../../../server/config';\nimport type { MittEmitter } from '../mitt';\nimport type { ParsedUrlQuery } from 'querystring';\nimport type { RouterEvent } from '../../../client/router';\nimport type { StyleSheetTuple } from '../../../client/page-loader';\nimport type { UrlObject } from 'url';\nimport type PageLoader from '../../../client/page-loader';\nimport type { NextPageContext, NEXT_DATA } from '../utils';\ndeclare global {\n interface Window {\n __NEXT_DATA__: NEXT_DATA;\n }\n}\ninterface RouteProperties {\n shallow: boolean;\n}\ninterface TransitionOptions {\n shallow?: boolean;\n locale?: string | false;\n scroll?: boolean;\n unstable_skipClientCache?: boolean;\n}\ninterface NextHistoryState {\n url: string;\n as: string;\n options: TransitionOptions;\n}\nexport type HistoryState = null | {\n __NA: true;\n __N?: false;\n} | {\n __N: false;\n __NA?: false;\n} | ({\n __NA?: false;\n __N: true;\n key: string;\n} & NextHistoryState);\ninterface MiddlewareEffectParams<T extends FetchDataOutput> {\n fetchData?: () => Promise<T>;\n locale?: string;\n asPath: string;\n router: Router;\n}\nexport declare function matchesMiddleware<T extends FetchDataOutput>(options: MiddlewareEffectParams<T>): Promise<boolean>;\nexport type Url = UrlObject | string;\nexport type BaseRouter = {\n route: string;\n pathname: string;\n query: ParsedUrlQuery;\n asPath: string;\n basePath: string;\n locale?: string | undefined;\n locales?: readonly string[] | undefined;\n defaultLocale?: string | undefined;\n domainLocales?: readonly DomainLocale[] | undefined;\n isLocaleDomain: boolean;\n};\nexport type NextRouter = BaseRouter & Pick<Router, 'push' | 'replace' | 'reload' | 'back' | 'forward' | 'prefetch' | 'beforePopState' | 'events' | 'isFallback' | 'isReady' | 'isPreview'>;\nexport type PrefetchOptions = {\n priority?: boolean;\n locale?: string | false;\n unstable_skipClientCache?: boolean;\n};\nexport type PrivateRouteInfo = (Omit<CompletePrivateRouteInfo, 'styleSheets'> & {\n initial: true;\n}) | CompletePrivateRouteInfo;\nexport type CompletePrivateRouteInfo = {\n Component: ComponentType;\n styleSheets: StyleSheetTuple[];\n __N_SSG?: boolean;\n __N_SSP?: boolean;\n props?: Record<string, any>;\n err?: Error;\n error?: any;\n route?: string;\n resolvedAs?: string;\n query?: ParsedUrlQuery;\n};\nexport type AppProps = Pick<CompletePrivateRouteInfo, 'Component' | 'err'> & {\n router: Router;\n} & Record<string, any>;\nexport type AppComponent = ComponentType<AppProps>;\ntype Subscription = (data: PrivateRouteInfo, App: AppComponent, resetScroll: {\n x: number;\n y: number;\n} | null) => Promise<void>;\ntype BeforePopStateCallback = (state: NextHistoryState) => boolean;\ntype ComponentLoadCancel = (() => void) | null;\ntype HistoryMethod = 'replaceState' | 'pushState';\ninterface FetchDataOutput {\n dataHref: string;\n json: Record<string, any> | null;\n response: Response;\n text: string;\n cacheKey: string;\n}\ninterface NextDataCache {\n [asPath: string]: Promise<FetchDataOutput>;\n}\nexport declare function createKey(): string;\nexport default class Router implements BaseRouter {\n basePath: string;\n /**\n * Map of all components loaded in `Router`\n */\n components: {\n [pathname: string]: PrivateRouteInfo;\n };\n sdc: NextDataCache;\n sbc: NextDataCache;\n sub: Subscription;\n clc: ComponentLoadCancel;\n pageLoader: PageLoader;\n _bps: BeforePopStateCallback | undefined;\n events: MittEmitter<RouterEvent>;\n _wrapApp: (App: AppComponent) => any;\n isSsr: boolean;\n _inFlightRoute?: string | undefined;\n _shallow?: boolean | undefined;\n locales?: readonly string[] | undefined;\n defaultLocale?: string | undefined;\n domainLocales?: readonly DomainLocale[] | undefined;\n isReady: boolean;\n isLocaleDomain: boolean;\n isFirstPopStateEvent: boolean;\n _initialMatchesMiddlewarePromise: Promise<boolean>;\n _bfl_s?: import('../../lib/bloom-filter').BloomFilter;\n _bfl_d?: import('../../lib/bloom-filter').BloomFilter;\n private state;\n private _key;\n static events: MittEmitter<RouterEvent>;\n constructor(pathname: string, query: ParsedUrlQuery, as: string, { initialProps, pageLoader, App, wrapApp, Component, err, subscription, isFallback, locale, locales, defaultLocale, domainLocales, isPreview, }: {\n subscription: Subscription;\n initialProps: any;\n pageLoader: any;\n Component: ComponentType;\n App: AppComponent;\n wrapApp: (WrapAppComponent: AppComponent) => any;\n err?: Error;\n isFallback: boolean;\n locale?: string;\n locales?: readonly string[];\n defaultLocale?: string;\n domainLocales?: readonly DomainLocale[];\n isPreview?: boolean;\n });\n onPopState: (e: PopStateEvent) => void;\n reload(): void;\n /**\n * Go back in history\n */\n back(): void;\n /**\n * Go forward in history\n */\n forward(): void;\n /**\n * Performs a `pushState` with arguments\n * @param url of the route\n * @param as masks `url` for the browser\n * @param options object you can define `shallow` and other options\n */\n push(url: Url, as?: Url, options?: TransitionOptions): Promise<boolean>;\n /**\n * Performs a `replaceState` with arguments\n * @param url of the route\n * @param as masks `url` for the browser\n * @param options object you can define `shallow` and other options\n */\n replace(url: Url, as?: Url, options?: TransitionOptions): Promise<boolean>;\n _bfl(as: string, resolvedAs?: string, locale?: string | false, skipNavigate?: boolean): Promise<unknown>;\n private change;\n changeState(method: HistoryMethod, url: string, as: string, options?: TransitionOptions): void;\n handleRouteInfoError(err: Error & {\n code?: any;\n cancelled?: boolean;\n }, pathname: string, query: ParsedUrlQuery, as: string, routeProps: RouteProperties, loadErrorFail?: boolean): Promise<CompletePrivateRouteInfo>;\n getRouteInfo({ route: requestedRoute, pathname, query, as, resolvedAs, routeProps, locale, hasMiddleware, isPreview, unstable_skipClientCache, isQueryUpdating, isMiddlewareRewrite, isNotFound, }: {\n route: string;\n pathname: string;\n query: ParsedUrlQuery;\n as: string;\n resolvedAs: string;\n hasMiddleware?: boolean;\n routeProps: RouteProperties;\n locale: string | undefined;\n isPreview: boolean;\n unstable_skipClientCache?: boolean;\n isQueryUpdating?: boolean;\n isMiddlewareRewrite?: boolean;\n isNotFound?: boolean;\n }): Promise<{\n type: \"redirect-external\";\n destination: string;\n } | {\n type: \"redirect-internal\";\n newAs: string;\n newUrl: string;\n } | PrivateRouteInfo>;\n private set;\n /**\n * Callback to execute before replacing router state\n * @param cb callback to be executed\n */\n beforePopState(cb: BeforePopStateCallback): void;\n onlyAHashChange(as: string): boolean;\n scrollToHash(as: string): void;\n urlIsNew(asPath: string): boolean;\n /**\n * Prefetch page code, you may wait for the data during page rendering.\n * This feature only works in production!\n * @param url the href of prefetched page\n * @param asPath the as path of the prefetched page\n */\n prefetch(url: string, asPath?: string, options?: PrefetchOptions): Promise<void>;\n fetchComponent(route: string): Promise<import(\"../../../client/page-loader\").GoodPageCache>;\n _getData<T>(fn: () => Promise<T>): Promise<T>;\n getInitialProps(Component: ComponentType, ctx: NextPageContext): Promise<Record<string, any>>;\n get route(): string;\n get pathname(): string;\n get query(): ParsedUrlQuery;\n get asPath(): string;\n get locale(): string | undefined;\n get isFallback(): boolean;\n get isPreview(): boolean;\n}\nexport {};\n","/**\n@copyright (c) 2017-present James Kyle <me@thejameskyle.com>\n MIT License\n Permission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n The above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\n*/\nimport React from 'react';\ndeclare function Loadable(opts: any): React.ForwardRefExoticComponent<Omit<any, \"ref\"> & React.RefAttributes<unknown>>;\ndeclare namespace Loadable {\n var preloadAll: () => Promise<unknown>;\n var preloadReady: (ids?: (string | number)[]) => Promise<void>;\n}\ndeclare global {\n interface Window {\n __NEXT_PRELOADREADY?: (ids?: (string | number)[]) => Promise<void>;\n }\n}\nexport default Loadable;\n","import type { WorkStore } from '../app-render/work-async-storage.external';\nexport type ParamValue = string | Array<string> | undefined;\nexport type Params = Record<string, ParamValue>;\n/**\n * In this version of Next.js the `params` prop passed to Layouts, Pages, and other Segments is a Promise.\n * However to facilitate migration to this new Promise type you can currently still access params directly on the Promise instance passed to these Segments.\n * The `UnsafeUnwrappedParams` type is available if you need to temporarily access the underlying params without first awaiting or `use`ing the Promise.\n *\n * In a future version of Next.js the `params` prop will be a plain Promise and this type will be removed.\n *\n * Typically instances of `params` can be updated automatically to be treated as a Promise by a codemod published alongside this Next.js version however if you\n * have not yet run the codemod of the codemod cannot detect certain instances of `params` usage you should first try to refactor your code to await `params`.\n *\n * If refactoring is not possible but you still want to be able to access params directly without typescript errors you can cast the params Promise to this type\n *\n * ```tsx\n * type Props = { params: Promise<{ id: string }>}\n *\n * export default async function Layout(props: Props) {\n * const directParams = (props.params as unknown as UnsafeUnwrappedParams<typeof props.params>)\n * return ...\n * }\n * ```\n *\n * This type is marked deprecated to help identify it as target for refactoring away.\n *\n * @deprecated\n */\nexport type UnsafeUnwrappedParams<P> = P extends Promise<infer U> ? Omit<U, 'then' | 'status' | 'value'> : never;\nexport declare function createParamsFromClient(underlyingParams: Params, workStore: WorkStore): Promise<Params>;\nexport type CreateServerParamsForMetadata = typeof createServerParamsForMetadata;\nexport declare const createServerParamsForMetadata: typeof createServerParamsForServerSegment;\nexport declare function createServerParamsForRoute(underlyingParams: Params, workStore: WorkStore): Promise<Params>;\nexport declare function createServerParamsForServerSegment(underlyingParams: Params, workStore: WorkStore): Promise<Params>;\nexport declare function createPrerenderParamsForClientSegment(underlyingParams: Params, workStore: WorkStore): Promise<Params>;\n","/// <reference types=\"node\" preserve=\"true\" />\n/// <reference types=\"react\" preserve=\"true\" />\n/// <reference types=\"react/experimental\" preserve=\"true\" />\n/// <reference types=\"react-dom\" preserve=\"true\" />\n/// <reference types=\"react-dom/experimental\" preserve=\"true\" />\nimport type { Agent as HttpAgent } from 'http';\nimport type { Agent as HttpsAgent } from 'https';\nimport type React from 'react';\nimport type { ParsedUrlQuery } from 'querystring';\nimport type { IncomingMessage, ServerResponse } from 'http';\nimport type { NextPageContext, NextComponentType, NextApiResponse, NextApiRequest, NextApiHandler } from './shared/lib/utils';\nimport type { GetStaticPathsFallback } from './lib/fallback';\nimport type { NextApiRequestCookies } from './server/api-utils';\nimport next from './server/next';\nexport type ServerRuntime = 'nodejs' | 'experimental-edge' | 'edge' | undefined;\nexport { NextConfig } from './server/config';\nexport type { Metadata, MetadataRoute, ResolvedMetadata, ResolvingMetadata, Viewport, ResolvingViewport, ResolvedViewport, } from './lib/metadata/types/metadata-interface';\nexport type { Instrumentation } from './server/instrumentation/types';\n/**\n * Stub route type for typedRoutes before `next dev` or `next build` is run\n * @link https://nextjs.org/docs/app/api-reference/config/typescript#statically-typed-links\n * @example\n * ```ts\n * import type { Route } from 'next'\n * // ...\n * router.push(returnToPath as Route)\n * ```\n */\nexport type Route<RouteInferType = any> = string & {};\ndeclare module 'react' {\n interface HtmlHTMLAttributes<T> extends React.HTMLAttributes<T> {\n amp?: string;\n }\n interface ImgHTMLAttributes<T> {\n fetchPriority?: 'high' | 'low' | 'auto' | undefined;\n }\n}\nexport type Redirect = {\n statusCode: 301 | 302 | 303 | 307 | 308;\n destination: string;\n basePath?: false;\n} | {\n permanent: boolean;\n destination: string;\n basePath?: false;\n};\n/**\n * `NextPage` type, use it as a guide to create `pages`.\n */\nexport type NextPage<Props = {}, InitialProps = Props> = NextComponentType<NextPageContext, InitialProps, Props>;\nexport type FileSizeSuffix = `${'k' | 'K' | 'm' | 'M' | 'g' | 'G' | 't' | 'T' | 'p' | 'P'}${'b' | 'B'}`;\nexport type SizeLimit = number | `${number}${FileSizeSuffix}`;\nexport type ResponseLimit = SizeLimit | boolean;\n/**\n * `Config` type, use it for export const config\n */\nexport type PageConfig = {\n amp?: boolean | 'hybrid';\n api?: {\n /**\n * Configures or disables body size limit warning. Can take a number or\n * any string format supported by `bytes`, for example `1000`, `'500kb'` or\n * `'3mb'`.\n */\n responseLimit?: ResponseLimit;\n /**\n * The byte limit of the body. This is the number of bytes or any string\n * format supported by `bytes`, for example `1000`, `'500kb'` or `'3mb'`.\n */\n bodyParser?: {\n sizeLimit?: SizeLimit;\n } | false;\n /**\n * Flag to disable warning \"API page resolved\n * without sending a response\", due to explicitly\n * using an external API resolver, like express\n */\n externalResolver?: true;\n };\n env?: Array<string>;\n /**\n * Configures the longest time in seconds a serverless function can process an HTTP\n * request before responding.\n */\n maxDuration?: number;\n runtime?: ServerRuntime;\n unstable_runtimeJS?: false;\n unstable_JsPreload?: false;\n};\nexport type { NextPageContext, NextComponentType, NextApiResponse, NextApiRequest, NextApiHandler, };\nexport type PreviewData = string | false | object | undefined;\n/**\n * Context object passed into `getStaticProps`.\n * @link https://nextjs.org/docs/api-reference/data-fetching/get-static-props#context-parameter\n */\nexport type GetStaticPropsContext<Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData> = {\n params?: Params;\n preview?: boolean;\n previewData?: Preview;\n draftMode?: boolean;\n locale?: string;\n locales?: string[];\n defaultLocale?: string;\n revalidateReason?: 'on-demand' | 'build' | 'stale';\n};\n/**\n * The return type of `getStaticProps`.\n * @link https://nextjs.org/docs/api-reference/data-fetching/get-static-props#getstaticprops-return-values\n */\nexport type GetStaticPropsResult<Props> = {\n props: Props;\n revalidate?: number | boolean;\n} | {\n redirect: Redirect;\n revalidate?: number | boolean;\n} | {\n notFound: true;\n revalidate?: number | boolean;\n};\n/**\n * Static Site Generation feature for Next.js.\n * @link https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-props\n * @link https://nextjs.org/docs/pages/api-reference/config/typescript#static-generation-and-server-side-rendering\n * @example\n * ```ts\n * export const getStaticProps: GetStaticProps = async (context) => {\n * // ...\n * }\n * ```\n */\nexport type GetStaticProps<Props extends {\n [key: string]: any;\n} = {\n [key: string]: any;\n}, Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData> = (context: GetStaticPropsContext<Params, Preview>) => Promise<GetStaticPropsResult<Props>> | GetStaticPropsResult<Props>;\nexport type InferGetStaticPropsType<T extends (args: any) => any> = Extract<Awaited<ReturnType<T>>, {\n props: any;\n}>['props'];\nexport type GetStaticPathsContext = {\n locales?: string[];\n defaultLocale?: string;\n};\n/**\n * The return type of `getStaticPaths`.\n * @link https://nextjs.org/docs/api-reference/data-fetching/get-static-paths#getstaticpaths-return-values\n */\nexport type GetStaticPathsResult<Params extends ParsedUrlQuery = ParsedUrlQuery> = {\n paths: Array<string | {\n params: Params;\n locale?: string;\n }>;\n fallback: GetStaticPathsFallback;\n};\n/**\n * Define a list of paths to be statically generated if dynamic routes exist.\n * @link https://nextjs.org/docs/pages/building-your-application/data-fetching/get-static-paths\n * @link https://nextjs.org/docs/pages/api-reference/config/typescript#static-generation-and-server-side-rendering\n * @example\n * ```ts\n * export const getStaticPaths: GetStaticPaths = async () => {\n * // ...\n * }\n * ```\n */\nexport type GetStaticPaths<Params extends ParsedUrlQuery = ParsedUrlQuery> = (context: GetStaticPathsContext) => Promise<GetStaticPathsResult<Params>> | GetStaticPathsResult<Params>;\n/**\n * Context object passed into `getServerSideProps`.\n * @link https://nextjs.org/docs/pages/api-reference/functions/get-server-side-props#context-parameter\n */\nexport type GetServerSidePropsContext<Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData> = {\n req: IncomingMessage & {\n cookies: NextApiRequestCookies;\n };\n res: ServerResponse;\n params?: Params;\n query: ParsedUrlQuery;\n preview?: boolean;\n previewData?: Preview;\n draftMode?: boolean;\n resolvedUrl: string;\n locale?: string;\n locales?: string[];\n defaultLocale?: string;\n};\n/**\n * The return type of `getServerSideProps`.\n * @link https://nextjs.org/docs/api-reference/data-fetching/get-server-side-props#getserversideprops-return-values\n */\nexport type GetServerSidePropsResult<Props> = {\n props: Props | Promise<Props>;\n} | {\n redirect: Redirect;\n} | {\n notFound: true;\n};\n/**\n * Server-side Rendering feature for Next.js.\n * @link https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props\n * @link https://nextjs.org/docs/pages/api-reference/config/typescript#static-generation-and-server-side-rendering\n * @example\n * ```ts\n * export const getServerSideProps: GetServerSideProps = async (context) => {\n * // ...\n * }\n */\nexport type GetServerSideProps<Props extends {\n [key: string]: any;\n} = {\n [key: string]: any;\n}, Params extends ParsedUrlQuery = ParsedUrlQuery, Preview extends PreviewData = PreviewData> = (context: GetServerSidePropsContext<Params, Preview>) => Promise<GetServerSidePropsResult<Props>>;\nexport type InferGetServerSidePropsType<T extends (args: any) => any> = Awaited<Extract<Awaited<ReturnType<T>>, {\n props: any;\n}>['props']>;\ndeclare global {\n interface Crypto {\n readonly subtle: SubtleCrypto;\n getRandomValues<T extends Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | null>(array: T): T;\n randomUUID(): string;\n }\n var __NEXT_HTTP_AGENT_OPTIONS: {\n keepAlive?: boolean;\n } | undefined;\n var __NEXT_UNDICI_AGENT_SET: boolean;\n var __NEXT_HTTP_AGENT: HttpAgent;\n var __NEXT_HTTPS_AGENT: HttpsAgent;\n}\nexport default next;\n","import type { HtmlProps } from './html-context.shared-runtime';\nimport type { ComponentType, JSX } from 'react';\nimport type { DomainLocale } from '../../server/config';\nimport type { Env } from '@next/env';\nimport type { IncomingMessage, ServerResponse } from 'http';\nimport type { NextRouter } from './router/router';\nimport type { ParsedUrlQuery } from 'querystring';\nimport type { PreviewData } from '../../types';\nimport type { COMPILER_NAMES } from './constants';\nimport type fs from 'fs';\nexport type NextComponentType<Context extends BaseContext = NextPageContext, InitialProps = {}, Props = {}> = ComponentType<Props> & {\n /**\n * Used for initial page load data population. Data returned from `getInitialProps` is serialized when server rendered.\n * Make sure to return plain `Object` without using `Date`, `Map`, `Set`.\n * @param context Context of `page`\n */\n getInitialProps?(context: Context): InitialProps | Promise<InitialProps>;\n};\nexport type DocumentType = NextComponentType<DocumentContext, DocumentInitialProps, DocumentProps>;\nexport type AppType<P = {}> = NextComponentType<AppContextType, P, AppPropsType<any, P>>;\nexport type AppTreeType = ComponentType<AppInitialProps & {\n [name: string]: any;\n}>;\n/**\n * Web vitals provided to _app.reportWebVitals by Core Web Vitals plugin developed by Google Chrome team.\n * https://nextjs.org/blog/next-9-4#integrated-web-vitals-reporting\n */\nexport declare const WEB_VITALS: readonly [\"CLS\", \"FCP\", \"FID\", \"INP\", \"LCP\", \"TTFB\"];\nexport type NextWebVitalsMetric = {\n id: string;\n startTime: number;\n value: number;\n attribution?: {\n [key: string]: unknown;\n };\n} & ({\n label: 'web-vital';\n name: (typeof WEB_VITALS)[number];\n} | {\n label: 'custom';\n name: 'Next.js-hydration' | 'Next.js-route-change-to-render' | 'Next.js-render';\n});\nexport type Enhancer<C> = (Component: C) => C;\nexport type ComponentsEnhancer = {\n enhanceApp?: Enhancer<AppType>;\n enhanceComponent?: Enhancer<NextComponentType>;\n} | Enhancer<NextComponentType>;\nexport type RenderPageResult = {\n html: string;\n head?: Array<JSX.Element | null>;\n};\nexport type RenderPage = (options?: ComponentsEnhancer) => DocumentInitialProps | Promise<DocumentInitialProps>;\nexport type BaseContext = {\n res?: ServerResponse;\n [k: string]: any;\n};\nexport type NEXT_DATA = {\n props: Record<string, any>;\n page: string;\n query: ParsedUrlQuery;\n buildId: string;\n assetPrefix?: string;\n runtimeConfig?: {\n [key: string]: any;\n };\n nextExport?: boolean;\n autoExport?: boolean;\n isFallback?: boolean;\n isExperimentalCompile?: boolean;\n dynamicIds?: (string | number)[];\n err?: Error & {\n statusCode?: number;\n source?: typeof COMPILER_NAMES.server | typeof COMPILER_NAMES.edgeServer;\n };\n gsp?: boolean;\n gssp?: boolean;\n customServer?: boolean;\n gip?: boolean;\n appGip?: boolean;\n locale?: string;\n locales?: readonly string[];\n defaultLocale?: string;\n domainLocales?: readonly DomainLocale[];\n scriptLoader?: any[];\n isPreview?: boolean;\n notFoundSrcPage?: string;\n};\n/**\n * `Next` context\n */\nexport interface NextPageContext {\n /**\n * Error object if encountered during rendering\n */\n err?: (Error & {\n statusCode?: number;\n }) | null;\n /**\n * `HTTP` request object.\n */\n req?: IncomingMessage;\n /**\n * `HTTP` response object.\n */\n res?: ServerResponse;\n /**\n * Path section of `URL`.\n */\n pathname: string;\n /**\n * Query string section of `URL` parsed as an object.\n */\n query: ParsedUrlQuery;\n /**\n * `String` of the actual path including query.\n */\n asPath?: string;\n /**\n * The currently active locale\n */\n locale?: string;\n /**\n * All configured locales\n */\n locales?: readonly string[];\n /**\n * The configured default locale\n */\n defaultLocale?: string;\n /**\n * `Component` the tree of the App to use if needing to render separately\n */\n AppTree: AppTreeType;\n}\nexport type AppContextType<Router extends NextRouter = NextRouter> = {\n Component: NextComponentType<NextPageContext>;\n AppTree: AppTreeType;\n ctx: NextPageContext;\n router: Router;\n};\nexport type AppInitialProps<PageProps = any> = {\n pageProps: PageProps;\n};\nexport type AppPropsType<Router extends NextRouter = NextRouter, PageProps = {}> = AppInitialProps<PageProps> & {\n Component: NextComponentType<NextPageContext, any, any>;\n router: Router;\n __N_SSG?: boolean;\n __N_SSP?: boolean;\n};\nexport type DocumentContext = NextPageContext & {\n renderPage: RenderPage;\n defaultGetInitialProps(ctx: DocumentContext, options?: {\n nonce?: string;\n }): Promise<DocumentInitialProps>;\n};\nexport type DocumentInitialProps = RenderPageResult & {\n styles?: React.ReactElement[] | Iterable<React.ReactNode> | JSX.Element;\n};\nexport type DocumentProps = DocumentInitialProps & HtmlProps;\n/**\n * Next `API` route request\n */\nexport interface NextApiRequest extends IncomingMessage {\n /**\n * Object of `query` values from url\n */\n query: Partial<{\n [key: string]: string | string[];\n }>;\n /**\n * Object of `cookies` from header\n */\n cookies: Partial<{\n [key: string]: string;\n }>;\n body: any;\n env: Env;\n draftMode?: boolean;\n preview?: boolean;\n /**\n * Preview data set on the request, if any\n * */\n previewData?: PreviewData;\n}\n/**\n * Send body of response\n */\ntype Send<T> = (body: T) => void;\n/**\n * Next `API` route response\n */\nexport type NextApiResponse<Data = any> = ServerResponse & {\n /**\n * Send data `any` data in response\n */\n send: Send<Data>;\n /**\n * Send data `json` data in response\n */\n json: Send<Data>;\n status: (statusCode: number) => NextApiResponse<Data>;\n redirect(url: string): NextApiResponse<Data>;\n redirect(status: number, url: string): NextApiResponse<Data>;\n /**\n * Set draft mode\n */\n setDraftMode: (options: {\n enable: boolean;\n }) => NextApiResponse<Data>;\n /**\n * Set preview data for Next.js' prerender mode\n */\n setPreviewData: (data: object | string, options?: {\n /**\n * Specifies the number (in seconds) for the preview session to last for.\n * The given number will be converted to an integer by rounding down.\n * By default, no maximum age is set and the preview session finishes\n * when the client shuts down (browser is closed).\n */\n maxAge?: number;\n /**\n * Specifies the path for the preview session to work under. By default,\n * the path is considered the \"default path\", i.e., any pages under \"/\".\n */\n path?: string;\n }) => NextApiResponse<Data>;\n /**\n * Clear preview data for Next.js' prerender mode\n */\n clearPreviewData: (options?: {\n path?: string;\n }) => NextApiResponse<Data>;\n /**\n * Revalidate a specific page and regenerate it using On-Demand Incremental\n * Static Regeneration.\n * The path should be an actual path, not a rewritten path. E.g. for\n * \"/blog/[slug]\" this should be \"/blog/post-1\".\n * @link https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration#on-demand-revalidation-with-revalidatepath\n */\n revalidate: (urlPath: string, opts?: {\n unstable_onlyGenerated?: boolean;\n }) => Promise<void>;\n};\n/**\n * Next `API` route handler\n */\nexport type NextApiHandler<T = any> = (req: NextApiRequest, res: NextApiResponse<T>) => unknown | Promise<unknown>;\n/**\n * Utils\n */\nexport declare function execOnce<T extends (...args: any[]) => ReturnType<T>>(fn: T): T;\nexport declare const isAbsoluteUrl: (url: string) => boolean;\nexport declare function getLocationOrigin(): string;\nexport declare function getURL(): string;\nexport declare function getDisplayName<P>(Component: ComponentType<P>): string;\nexport declare function isResSent(res: ServerResponse): boolean;\nexport declare function normalizeRepeatedSlashes(url: string): string;\nexport declare function loadGetInitialProps<C extends BaseContext, IP = {}, P = {}>(App: NextComponentType<C, IP, P>, ctx: C): Promise<IP>;\nexport declare const SP: boolean;\nexport declare const ST: boolean;\nexport declare class DecodeError extends Error {\n}\nexport declare class NormalizeError extends Error {\n}\nexport declare class PageNotFoundError extends Error {\n code: string;\n constructor(page: string);\n}\nexport declare class MissingStaticPage extends Error {\n constructor(page: string, message: string);\n}\nexport declare class MiddlewareNotFoundError extends Error {\n code: string;\n constructor();\n}\nexport interface CacheFs {\n existsSync: typeof fs.existsSync;\n readFile: typeof fs.promises.readFile;\n readFileSync: typeof fs.readFileSync;\n writeFile(f: string, d: any): Promise<void>;\n mkdir(dir: string): Promise<void | string>;\n stat(f: string): Promise<{\n mtime: Date;\n }>;\n}\nexport declare function stringifyError(error: Error): string;\nexport {};\n","import type { webpack } from 'next/dist/compiled/webpack/webpack';\nimport type { Header, Redirect, Rewrite } from '../lib/load-custom-routes';\nimport type { ImageConfig, ImageConfigComplete } from '../shared/lib/image-config';\nimport type { SubresourceIntegrityAlgorithm } from '../build/webpack/plugins/subresource-integrity-plugin';\nimport type { WEB_VITALS } from '../shared/lib/utils';\nimport type { NextParsedUrlQuery } from './request-meta';\nimport type { SizeLimit } from '../types';\nimport type { SupportedTestRunners } from '../cli/next-test';\nimport type { ExperimentalPPRConfig } from './lib/experimental/ppr';\nimport type { ManifestRewriteRoute, ManifestHeaderRoute, ManifestRedirectRoute, RouteType } from '../build';\nexport type NextConfigComplete = Required<NextConfig> & {\n images: Required<ImageConfigComplete>;\n typescript: Required<TypeScriptConfig>;\n configOrigin?: string;\n configFile?: string;\n configFileName: string;\n htmlLimitedBots: string | undefined;\n experimental: Omit<ExperimentalConfig, 'turbo'>;\n};\nexport type AdapterOutputs = Array<{\n id: string;\n fallbackID?: string;\n runtime?: 'nodejs' | 'edge';\n pathname: string;\n allowQuery?: string[];\n config?: {\n maxDuration?: number;\n expiration?: number;\n revalidate?: number;\n };\n assets?: Record<string, string>;\n filePath: string;\n type: RouteType;\n}>;\nexport interface NextAdapter {\n name: string;\n modifyConfig(config: NextConfigComplete): Promise<NextConfigComplete> | NextConfigComplete;\n onBuildComplete(ctx: {\n routes: {\n headers: Array<ManifestHeaderRoute>;\n redirects: Array<ManifestRedirectRoute>;\n rewrites: {\n beforeFiles: Array<ManifestRewriteRoute>;\n afterFiles: Array<ManifestRewriteRoute>;\n fallback: Array<ManifestRewriteRoute>;\n };\n dynamicRoutes: Array<{}>;\n };\n outputs: AdapterOutputs;\n }): Promise<void> | void;\n}\nexport type I18NDomains = readonly DomainLocale[];\nexport interface I18NConfig {\n defaultLocale: string;\n domains?: I18NDomains;\n localeDetection?: false;\n locales: readonly string[];\n}\nexport interface DomainLocale {\n defaultLocale: string;\n domain: string;\n http?: true;\n locales?: readonly string[];\n}\nexport interface ESLintConfig {\n /** Only run ESLint on these directories with `next lint` and `next build`. */\n dirs?: string[];\n /** Do not run ESLint during production builds (`next build`). */\n ignoreDuringBuilds?: boolean;\n}\nexport interface TypeScriptConfig {\n /** Do not run TypeScript during production builds (`next build`). */\n ignoreBuildErrors?: boolean;\n /** Relative path to a custom tsconfig file */\n tsconfigPath?: string;\n}\nexport interface EmotionConfig {\n sourceMap?: boolean;\n autoLabel?: 'dev-only' | 'always' | 'never';\n labelFormat?: string;\n importMap?: {\n [importName: string]: {\n [exportName: string]: {\n canonicalImport?: [string, string];\n styledBaseImport?: [string, string];\n };\n };\n };\n}\nexport interface StyledComponentsConfig {\n /**\n * Enabled by default in development, disabled in production to reduce file size,\n * setting this will override the default for all environments.\n */\n displayName?: boolean;\n topLevelImportPaths?: string[];\n ssr?: boolean;\n fileName?: boolean;\n meaninglessFileNames?: string[];\n minify?: boolean;\n transpileTemplateLiterals?: boolean;\n namespace?: string;\n pure?: boolean;\n cssProp?: boolean;\n}\ntype JSONValue = string | number | boolean | JSONValue[] | {\n [k: string]: JSONValue;\n};\n/**\n * @deprecated Use `TurbopackRuleConfigItem` instead.\n */\nexport type TurbopackLoaderItem = string | {\n loader: string;\n options: Record<string, JSONValue>;\n};\nexport type TurbopackRuleCondition = {\n path: string | RegExp;\n};\nexport type TurbopackRuleConfigItemOrShortcut = TurbopackLoaderItem[] | TurbopackRuleConfigItem;\nexport type TurbopackRuleConfigItemOptions = {\n loaders: TurbopackLoaderItem[];\n as?: string;\n};\nexport type TurbopackRuleConfigItem = TurbopackRuleConfigItemOptions | {\n [condition: string]: TurbopackRuleConfigItem;\n} | false;\nexport interface TurbopackOptions {\n /**\n * (`next --turbopack` only) A mapping of aliased imports to modules to load in their place.\n *\n * @see [Resolve Alias](https://nextjs.org/docs/app/api-reference/next-config-js/turbo#resolve-alias)\n */\n resolveAlias?: Record<string, string | string[] | Record<string, string | string[]>>;\n /**\n * (`next --turbopack` only) A list of extensions to resolve when importing files.\n *\n * @see [Resolve Extensions](https://nextjs.org/docs/app/api-reference/next-config-js/turbo#resolve-extensions)\n */\n resolveExtensions?: string[];\n /**\n * (`next --turbopack` only) A list of webpack loaders to apply when running with Turbopack.\n *\n * @see [Turbopack Loaders](https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders)\n */\n rules?: Record<string, TurbopackRuleConfigItemOrShortcut>;\n /**\n * (`next --turbopack` only) A list of conditions to apply when running webpack loaders with Turbopack.\n *\n * @see [Turbopack Loaders](https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders)\n */\n conditions?: Record<string, TurbopackRuleCondition>;\n /**\n * The module ID strategy to use for Turbopack.\n * If not set, the default is `'named'` for development and `'deterministic'`\n * for production.\n */\n moduleIds?: 'named' | 'deterministic';\n /**\n * This is the repo root usually and only files above this\n * directory can be resolved by turbopack.\n */\n root?: string;\n}\nexport interface DeprecatedExperimentalTurboOptions extends TurbopackOptions {\n /**\n * (`next --turbopack` only) A list of webpack loaders to apply when running with Turbopack.\n *\n * @deprecated Use `rules` instead.\n * @see [Turbopack Loaders](https://nextjs.org/docs/app/api-reference/next-config-js/turbo#webpack-loaders)\n */\n loaders?: Record<string, TurbopackLoaderItem[]>;\n /**\n * A target memory limit for turbo, in bytes.\n * @deprecated Use `experimental.turbopackMemoryLimit` instead.\n */\n memoryLimit?: number;\n /**\n * Enable minification. Defaults to true in build mode and false in dev mode.\n * @deprecated Use `experimental.turbopackMinify` instead.\n */\n minify?: boolean;\n /**\n * Enable tree shaking for the turbopack dev server and build.\n * @deprecated Use `experimental.turbopackTreeShaking` instead.\n */\n treeShaking?: boolean;\n /**\n * Enable source maps. Defaults to true.\n * @deprecated Use `experimental.turbopackSourceMaps` instead.\n */\n sourceMaps?: boolean;\n}\nexport interface WebpackConfigContext {\n /** Next.js root directory */\n dir: string;\n /** Indicates if the compilation will be done in development */\n dev: boolean;\n /** It's `true` for server-side compilation, and `false` for client-side compilation */\n isServer: boolean;\n /** The build id, used as a unique identifier between builds */\n buildId: string;\n /** The next.config.js merged with default values */\n config: NextConfigComplete;\n /** Default loaders used internally by Next.js */\n defaultLoaders: {\n /** Default babel-loader configuration */\n babel: any;\n };\n /** Number of total Next.js pages */\n totalPages: number;\n /** The webpack configuration */\n webpack: any;\n /** The current server runtime */\n nextRuntime?: 'nodejs' | 'edge';\n}\nexport interface NextJsWebpackConfig {\n (\n /** Existing Webpack config */\n config: any, context: WebpackConfigContext): any;\n}\n/**\n * Set of options for the react compiler next.js\n * currently supports.\n *\n * This can be changed without breaking changes while supporting\n * react compiler in the experimental phase.\n */\nexport interface ReactCompilerOptions {\n compilationMode?: 'infer' | 'annotation' | 'all';\n panicThreshold?: 'ALL_ERRORS' | 'CRITICAL_ERRORS' | 'NONE';\n}\nexport interface IncomingRequestLoggingConfig {\n /**\n * A regular expression array to match incoming requests that should not be logged.\n * You can specify multiple patterns to match incoming requests that should not be logged.\n */\n ignore?: RegExp[];\n}\nexport interface LoggingConfig {\n fetches?: {\n fullUrl?: boolean;\n /**\n * If true, fetch requests that are restored from the HMR cache are logged\n * during an HMR refresh request, i.e. when editing a server component.\n */\n hmrRefreshes?: boolean;\n };\n /**\n * If set to false, incoming request logging is disabled.\n * You can specify a pattern to match incoming requests that should not be logged.\n */\n incomingRequests?: boolean | IncomingRequestLoggingConfig;\n}\nexport interface ExperimentalConfig {\n adapterPath?: string;\n useSkewCookie?: boolean;\n nodeMiddleware?: boolean;\n cacheHandlers?: {\n default?: string;\n remote?: string;\n static?: string;\n [handlerName: string]: string | undefined;\n };\n multiZoneDraftMode?: boolean;\n appNavFailHandling?: boolean;\n prerenderEarlyExit?: boolean;\n linkNoTouchStart?: boolean;\n caseSensitiveRoutes?: boolean;\n clientSegmentCache?: boolean | 'client-only';\n dynamicOnHover?: boolean;\n appDocumentPreloading?: boolean;\n preloadEntriesOnStart?: boolean;\n /** @default true */\n strictNextHead?: boolean;\n clientRouterFilter?: boolean;\n clientRouterFilterRedirects?: boolean;\n /**\n * This config can be used to override the cache behavior for the client router.\n * These values indicate the time, in seconds, that the cache should be considered\n * reusable. When the `prefetch` Link prop is left unspecified, this will use the `dynamic` value.\n * When the `prefetch` Link prop is set to `true`, this will use the `static` value.\n */\n staleTimes?: {\n dynamic?: number;\n static?: number;\n };\n cacheLife?: {\n [profile: string]: {\n stale?: number;\n revalidate?: number;\n expire?: number;\n };\n };\n clientRouterFilterAllowedRate?: number;\n externalMiddlewareRewritesResolve?: boolean;\n extensionAlias?: Record<string, any>;\n allowedRevalidateHeaderKeys?: string[];\n fetchCacheKeyPrefix?: string;\n imgOptConcurrency?: number | null;\n imgOptTimeoutInSeconds?: number;\n imgOptMaxInputPixels?: number;\n imgOptSequentialRead?: boolean | null;\n optimisticClientCache?: boolean;\n /**\n * @deprecated use config.expireTime instead\n */\n expireTime?: number;\n middlewarePrefetch?: 'strict' | 'flexible';\n manualClientBasePath?: boolean;\n /**\n * CSS Chunking strategy. Defaults to `true` (\"loose\" mode), which guesses dependencies\n * between CSS files to keep ordering of them.\n * An alternative is 'strict', which will try to keep correct ordering as\n * much as possible, even when this leads to many requests.\n */\n cssChunking?: boolean | 'strict';\n disablePostcssPresetEnv?: boolean;\n cpus?: number;\n memoryBasedWorkersCount?: boolean;\n proxyTimeout?: number;\n isrFlushToDisk?: boolean;\n workerThreads?: boolean;\n optimizeCss?: boolean | Record<string, unknown>;\n nextScriptWorkers?: boolean;\n scrollRestoration?: boolean;\n externalDir?: boolean;\n amp?: {\n optimizer?: any;\n validator?: string;\n skipValidation?: boolean;\n };\n disableOptimizedLoading?: boolean;\n gzipSize?: boolean;\n craCompat?: boolean;\n esmExternals?: boolean | 'loose';\n fullySpecified?: boolean;\n urlImports?: NonNullable<webpack.Configuration['experiments']>['buildHttp'];\n swcTraceProfiling?: boolean;\n forceSwcTransforms?: boolean;\n swcPlugins?: Array<[string, Record<string, unknown>]>;\n largePageDataBytes?: number;\n /**\n * If set to `false`, webpack won't fall back to polyfill Node.js modules in the browser\n * Full list of old polyfills is accessible here:\n * [webpack/webpack#ModuleNotoundError.js#L13-L42](https://github.com/webpack/webpack/blob/2a0536cf510768111a3a6dceeb14cb79b9f59273/lib/ModuleNotFoundError.js#L13-L42)\n */\n fallbackNodePolyfills?: false;\n sri?: {\n algorithm?: SubresourceIntegrityAlgorithm;\n };\n webVitalsAttribution?: Array<(typeof WEB_VITALS)[number]>;\n /**\n * Automatically apply the \"modularizeImports\" optimization to imports of the specified packages.\n */\n optimizePackageImports?: string[];\n /**\n * Optimize React APIs for server builds.\n */\n optimizeServerReact?: boolean;\n /**\n * @deprecated Use `config.turbopack` instead.\n */\n turbo?: DeprecatedExperimentalTurboOptions;\n /**\n * A target memory limit for turbo, in bytes.\n */\n turbopackMemoryLimit?: number;\n /**\n * Enable minification. Defaults to true in build mode and false in dev mode.\n */\n turbopackMinify?: boolean;\n /**\n * Enable scope hoisting. Defaults to true in build mode. Always disabled in development mode.\n */\n turbopackScopeHoisting?: boolean;\n /**\n * Enable persistent caching for the turbopack dev server and build.\n */\n turbopackPersistentCaching?: boolean;\n /**\n * Enable source maps. Defaults to true.\n */\n turbopackSourceMaps?: boolean;\n /**\n * Enable tree shaking for the turbopack dev server and build.\n */\n turbopackTreeShaking?: boolean;\n /**\n * Enable removing unused exports for turbopack dev server and build.\n */\n turbopackRemoveUnusedExports?: boolean;\n /**\n * For use with `@next/mdx`. Compile MDX files using the new Rust compiler.\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/mdxRs\n */\n mdxRs?: boolean | {\n development?: boolean;\n jsx?: boolean;\n jsxRuntime?: string;\n jsxImportSource?: string;\n providerImportSource?: string;\n mdxType?: 'gfm' | 'commonmark';\n };\n /**\n * Generate Route types and enable type checking for Link and Router.push, etc.\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/typedRoutes\n */\n typedRoutes?: boolean;\n /**\n * Enable type-checking and autocompletion for environment variables.\n *\n * @default false\n */\n typedEnv?: boolean;\n /**\n * Runs the compilations for server and edge in parallel instead of in serial.\n * This will make builds faster if there is enough server and edge functions\n * in the application at the cost of more memory.\n *\n * NOTE: This option is only valid when the build process can use workers. See\n * the documentation for `webpackBuildWorker` for more details.\n */\n parallelServerCompiles?: boolean;\n /**\n * Runs the logic to collect build traces for the server routes in parallel\n * with other work during the compilation. This will increase the speed of\n * the build at the cost of more memory. This option may incur some additional\n * work compared to if the option was disabled since the work is started\n * before data from the client compilation is available to potentially reduce\n * the amount of code that needs to be traced. Despite that, this may still\n * result in faster builds for some applications.\n *\n * Valid values are:\n * - `true`: Collect the server build traces in parallel.\n * - `false`: Do not collect the server build traces in parallel.\n * - `undefined`: Collect server build traces in parallel only in the `experimental-compile` mode.\n *\n * NOTE: This option is only valid when the build process can use workers. See\n * the documentation for `webpackBuildWorker` for more details.\n */\n parallelServerBuildTraces?: boolean;\n /**\n * Run the Webpack build in a separate process to optimize memory usage during build.\n * Valid values are:\n * - `false`: Disable the Webpack build worker\n * - `true`: Enable the Webpack build worker\n * - `undefined`: Enable the Webpack build worker only if the webpack config is not customized\n */\n webpackBuildWorker?: boolean;\n /**\n * Enables optimizations to reduce memory usage in Webpack. This reduces the max size of the heap\n * but may increase compile times slightly.\n * Valid values are:\n * - `false`: Disable Webpack memory optimizations (default).\n * - `true`: Enables Webpack memory optimizations.\n */\n webpackMemoryOptimizations?: boolean;\n /**\n * The array of the meta tags to the client injected by tracing propagation data.\n */\n clientTraceMetadata?: string[];\n /**\n * Enables experimental Partial Prerendering feature of Next.js.\n * Using this feature will enable the `react@experimental` for the `app` directory.\n */\n ppr?: ExperimentalPPRConfig;\n /**\n * Enables experimental taint APIs in React.\n * Using this feature will enable the `react@experimental` for the `app` directory.\n */\n taint?: boolean;\n /**\n * Enables the Back/Forward Cache for the router.\n */\n routerBFCache?: boolean;\n /**\n * Uninstalls all \"unhandledRejection\" and \"uncaughtException\" listeners from\n * the global process so that we can override the behavior, which in some\n * runtimes is to exit the process.\n *\n * This is experimental until we've considered the impact in various\n * deployment environments.\n */\n removeUncaughtErrorAndRejectionListeners?: boolean;\n /**\n * During an RSC request, validates that the request headers match the\n * cache-busting search parameter sent by the client.\n */\n validateRSCRequestHeaders?: boolean;\n serverActions?: {\n /**\n * Allows adjusting body parser size limit for server actions.\n */\n bodySizeLimit?: SizeLimit;\n /**\n * Allowed origins that can bypass Server Action's CSRF check. This is helpful\n * when you have reverse proxy in front of your app.\n * @example\n * [\"my-app.com\", \"*.my-app.com\"]\n */\n allowedOrigins?: string[];\n };\n /**\n * enables the minification of server code.\n */\n serverMinification?: boolean;\n /**\n * Enables source maps while generating static pages.\n * Helps with errors during the prerender phase in `next build`.\n */\n enablePrerenderSourceMaps?: boolean;\n /**\n * Enables source maps generation for the server production bundle.\n */\n serverSourceMaps?: boolean;\n useWasmBinary?: boolean;\n /**\n * Use lightningcss instead of postcss-loader\n */\n useLightningcss?: boolean;\n /**\n * Enables view transitions by using the {@link https://github.com/facebook/react/pull/31975 unstable_ViewTransition} Component.\n */\n viewTransition?: boolean;\n /**\n * Enables `fetch` requests to be proxied to the experimental test proxy server\n */\n testProxy?: boolean;\n /**\n * Set a default test runner to be used by `next experimental-test`.\n */\n defaultTestRunner?: SupportedTestRunners;\n /**\n * Allow NODE_ENV=development even for `next build`.\n */\n allowDevelopmentBuild?: true;\n /**\n * @deprecated use `config.bundlePagesRouterDependencies` instead\n *\n */\n bundlePagesExternals?: boolean;\n /**\n * @deprecated use `config.serverExternalPackages` instead\n *\n */\n serverComponentsExternalPackages?: string[];\n /**\n * Enable experimental React compiler optimization.\n * Configuration accepts partial config object to the compiler, if provided\n * compiler will be enabled.\n */\n reactCompiler?: boolean | ReactCompilerOptions;\n /**\n * The number of times to retry static generation (per page) before giving up.\n */\n staticGenerationRetryCount?: number;\n /**\n * The amount of pages to export per worker during static generation.\n */\n staticGenerationMaxConcurrency?: number;\n /**\n * The minimum number of pages to be chunked into each export worker.\n */\n staticGenerationMinPagesPerWorker?: number;\n /**\n * Allows previously fetched data to be re-used when editing server components.\n */\n serverComponentsHmrCache?: boolean;\n /**\n * When enabled, will cause IO in App Router to be excluded from prerenders,\n * unless explicitly cached. This also enables the experimental Partial\n * Prerendering feature of Next.js, and it enables `react@experimental` being\n * used for the `app` directory.\n */\n dynamicIO?: boolean;\n /**\n * Render <style> tags inline in the HTML for imported CSS assets.\n * Supports app-router in production mode only.\n */\n inlineCss?: boolean;\n /**\n * This config allows you to enable the experimental navigation API `forbidden` and `unauthorized`.\n */\n authInterrupts?: boolean;\n /**\n * Enables the use of the `\"use cache\"` directive.\n */\n useCache?: boolean;\n /**\n * Enables detection and reporting of slow modules during development builds.\n * Enabling this may impact build performance to ensure accurate measurements.\n */\n slowModuleDetection?: {\n /**\n * The time threshold in milliseconds for identifying slow modules.\n * Modules taking longer than this build time threshold will be reported.\n */\n buildTimeThresholdMs: number;\n };\n /**\n * Enables using the global-not-found.js file in the app directory\n *\n */\n globalNotFound?: boolean;\n /**\n * Enable segment viewer for the app directory in Next.js DevTools.\n */\n devtoolSegmentExplorer?: boolean;\n /**\n * Enable new panel UI for the Next.js DevTools.\n */\n devtoolNewPanelUI?: boolean;\n /**\n * Enable debug information to be forwarded from browser to dev server stdout/stderr\n */\n browserDebugInfoInTerminal?: boolean | {\n /**\n * Option to limit stringification at a specific nesting depth when logging circular objects.\n * @default 5\n */\n depthLimit?: number;\n /**\n * Maximum number of properties/elements to stringify when logging objects/arrays with circular references.\n * @default 100\n */\n edgeLimit?: number;\n /**\n * Whether to include source location information in debug output when available\n */\n showSourceLocation?: boolean;\n };\n /**\n * When enabled, will only opt-in to special smooth scroll handling when\n * data-scroll-behavior=\"smooth\" is present on the <html> element.\n * This will be the default, non-configurable behavior in the next major version.\n *\n * @default false\n */\n optimizeRouterScrolling?: boolean;\n /**\n * Body size limit for request bodies with middleware configured.\n * Defaults to 10MB. Can be specified as a number (bytes) or string (e.g. '5mb').\n */\n middlewareClientMaxBodySize?: SizeLimit;\n}\nexport type ExportPathMap = {\n [path: string]: {\n page: string;\n query?: NextParsedUrlQuery;\n };\n};\n/**\n * Next.js can be configured through a `next.config.js` file in the root of your project directory.\n *\n * This can change the behavior, enable experimental features, and configure other advanced options.\n *\n * Read more: [Next.js Docs: `next.config.js`](https://nextjs.org/docs/app/api-reference/config/next-config-js)\n */\nexport interface NextConfig extends Record<string, any> {\n allowedDevOrigins?: string[];\n exportPathMap?: (defaultMap: ExportPathMap, ctx: {\n dev: boolean;\n dir: string;\n outDir: string | null;\n distDir: string;\n buildId: string;\n }) => Promise<ExportPathMap> | ExportPathMap;\n /**\n * Internationalization configuration\n *\n * @see [Internationalization docs](https://nextjs.org/docs/advanced-features/i18n-routing)\n */\n i18n?: I18NConfig | null;\n /**\n * @since version 11\n * @see [ESLint configuration](https://nextjs.org/docs/app/api-reference/config/eslint)\n */\n eslint?: ESLintConfig;\n /**\n * @see [Next.js TypeScript documentation](https://nextjs.org/docs/app/api-reference/config/typescript)\n */\n typescript?: TypeScriptConfig;\n /**\n * Headers allow you to set custom HTTP headers for an incoming request path.\n *\n * @see [Headers configuration documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/headers)\n */\n headers?: () => Promise<Header[]>;\n /**\n * Rewrites allow you to map an incoming request path to a different destination path.\n *\n * @see [Rewrites configuration documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/rewrites)\n */\n rewrites?: () => Promise<Rewrite[] | {\n beforeFiles?: Rewrite[];\n afterFiles?: Rewrite[];\n fallback?: Rewrite[];\n }>;\n /**\n * Redirects allow you to redirect an incoming request path to a different destination path.\n *\n * @see [Redirects configuration documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/redirects)\n */\n redirects?: () => Promise<Redirect[]>;\n /**\n * @see [Moment.js locales excluded by default](https://nextjs.org/docs/upgrading#momentjs-locales-excluded-by-default)\n */\n excludeDefaultMomentLocales?: boolean;\n /**\n * Before continuing to add custom webpack configuration to your application make sure Next.js doesn't already support your use-case\n *\n * @see [Custom Webpack Config documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/webpack)\n */\n webpack?: NextJsWebpackConfig | null;\n /**\n * By default Next.js will redirect urls with trailing slashes to their counterpart without a trailing slash.\n *\n * @default false\n * @see [Trailing Slash Configuration](https://nextjs.org/docs/app/api-reference/config/next-config-js/trailingSlash)\n */\n trailingSlash?: boolean;\n /**\n * Next.js comes with built-in support for environment variables\n *\n * @see [Environment Variables documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/env)\n */\n env?: Record<string, string | undefined>;\n /**\n * Destination directory (defaults to `.next`)\n */\n distDir?: string;\n /**\n * The build output directory (defaults to `.next`) is now cleared by default except for the Next.js caches.\n */\n cleanDistDir?: boolean;\n /**\n * To set up a CDN, you can set up an asset prefix and configure your CDN's origin to resolve to the domain that Next.js is hosted on.\n *\n * @see [CDN Support with Asset Prefix](https://nextjs.org/docs/app/api-reference/config/next-config-js/assetPrefix)\n */\n assetPrefix?: string;\n /**\n * The default cache handler for the Pages and App Router uses the filesystem cache. This requires no configuration, however, you can customize the cache handler if you prefer.\n *\n * @see [Configuring Caching](https://nextjs.org/docs/app/building-your-application/deploying#configuring-caching) and the [API Reference](https://nextjs.org/docs/app/api-reference/next-config-js/incrementalCacheHandlerPath).\n */\n cacheHandler?: string | undefined;\n /**\n * Configure the in-memory cache size in bytes. Defaults to 50 MB.\n * If `cacheMaxMemorySize: 0`, this disables in-memory caching entirely.\n *\n * @see [Configuring Caching](https://nextjs.org/docs/app/building-your-application/deploying#configuring-caching).\n */\n cacheMaxMemorySize?: number;\n /**\n * By default, `Next` will serve each file in the `pages` folder under a pathname matching the filename.\n * To disable this behavior and prevent routing based set this to `true`.\n *\n * @default true\n * @see [Disabling file-system routing](https://nextjs.org/docs/advanced-features/custom-server#disabling-file-system-routing)\n */\n useFileSystemPublicRoutes?: boolean;\n /**\n * @see [Configuring the build ID](https://nextjs.org/docs/app/api-reference/config/next-config-js/generateBuildId)\n */\n generateBuildId?: () => string | null | Promise<string | null>;\n /** @see [Disabling ETag Configuration](https://nextjs.org/docs/app/api-reference/config/next-config-js/generateEtags) */\n generateEtags?: boolean;\n /** @see [Including non-page files in the pages directory](https://nextjs.org/docs/app/api-reference/config/next-config-js/pageExtensions) */\n pageExtensions?: string[];\n /** @see [Compression documentation](https://nextjs.org/docs/app/api-reference/config/next-config-js/compress) */\n compress?: boolean;\n /** @see [Disabling x-powered-by](https://nextjs.org/docs/app/api-reference/config/next-config-js/poweredByHeader) */\n poweredByHeader?: boolean;\n /** @see [Using the Image Component](https://nextjs.org/docs/app/api-reference/next-config-js/images) */\n images?: ImageConfig;\n /** Configure indicators in development environment */\n devIndicators?: false | {\n /**\n * @deprecated The dev tools indicator has it enabled by default. To disable, set `devIndicators` to `false`.\n * */\n appIsrStatus?: boolean;\n /**\n * Show \"building...\" indicator in development\n * @deprecated The dev tools indicator has it enabled by default. To disable, set `devIndicators` to `false`.\n */\n buildActivity?: boolean;\n /**\n * Position of \"building...\" indicator in browser\n * @default \"bottom-right\"\n * @deprecated Renamed as `position`.\n */\n buildActivityPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';\n /**\n * Position of the development tools indicator in the browser window.\n * @default \"bottom-left\"\n * */\n position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';\n };\n /**\n * Next.js exposes some options that give you some control over how the server will dispose or keep in memory built pages in development.\n *\n * @see [Configuring `onDemandEntries`](https://nextjs.org/docs/app/api-reference/config/next-config-js/onDemandEntries)\n */\n onDemandEntries?: {\n /** period (in ms) where the server will keep pages in the buffer */\n maxInactiveAge?: number;\n /** number of pages that should be kept simultaneously without being disposed */\n pagesBufferLength?: number;\n };\n /** @see [`next/amp`](https://nextjs.org/docs/api-reference/next/amp) */\n amp?: {\n canonicalBase?: string;\n };\n /**\n * A unique identifier for a deployment that will be included in each request's query string or header.\n */\n deploymentId?: string;\n /**\n * Deploy a Next.js application under a sub-path of a domain\n *\n * @see [Base path configuration](https://nextjs.org/docs/app/api-reference/config/next-config-js/basePath)\n */\n basePath?: string;\n /** @see [Customizing sass options](https://nextjs.org/docs/app/api-reference/next-config-js/sassOptions) */\n sassOptions?: {\n implementation?: string;\n [key: string]: any;\n };\n /**\n * Enable browser source map generation during the production build\n *\n * @see [Source Maps](https://nextjs.org/docs/advanced-features/source-maps)\n */\n productionBrowserSourceMaps?: boolean;\n /**\n * Enable react profiling in production\n *\n */\n reactProductionProfiling?: boolean;\n /**\n * The Next.js runtime is Strict Mode-compliant.\n *\n * @see [React Strict Mode](https://nextjs.org/docs/app/api-reference/config/next-config-js/reactStrictMode)\n */\n reactStrictMode?: boolean | null;\n /**\n * The maximum length of the headers that are emitted by React and added to\n * the response.\n *\n * @see [React Max Headers Length](https://nextjs.org/docs/app/api-reference/config/next-config-js/reactMaxHeadersLength)\n */\n reactMaxHeadersLength?: number;\n /**\n * Add public (in browser) runtime configuration to your app\n *\n * @see [Runtime configuration](https://nextjs.org/docs/pages/api-reference/config/next-config-js/runtime-configuration\n */\n publicRuntimeConfig?: {\n [key: string]: any;\n };\n /**\n * Add server runtime configuration to your app\n *\n * @see [Runtime configuration](https://nextjs.org/docs/pages/api-reference/config/next-config-js/runtime-configuration\n */\n serverRuntimeConfig?: {\n [key: string]: any;\n };\n /**\n * Next.js enables HTTP Keep-Alive by default.\n * You may want to disable HTTP Keep-Alive for certain `fetch()` calls or globally.\n *\n * @see [Disabling HTTP Keep-Alive](https://nextjs.org/docs/app/api-reference/next-config-js/httpAgentOptions)\n */\n httpAgentOptions?: {\n keepAlive?: boolean;\n };\n /**\n * Timeout after waiting to generate static pages in seconds\n *\n * @default 60\n */\n staticPageGenerationTimeout?: number;\n /**\n * Add `\"crossorigin\"` attribute to generated `<script>` elements generated by `<Head />` or `<NextScript />` components\n *\n *\n * @see [`crossorigin` attribute documentation](https://developer.mozilla.org/docs/Web/HTML/Attributes/crossorigin)\n */\n crossOrigin?: 'anonymous' | 'use-credentials';\n /**\n * Optionally enable compiler transforms\n *\n * @see [Supported Compiler Options](https://nextjs.org/docs/advanced-features/compiler#supported-features)\n */\n compiler?: {\n reactRemoveProperties?: boolean | {\n properties?: string[];\n };\n relay?: {\n src: string;\n artifactDirectory?: string;\n language?: 'typescript' | 'javascript' | 'flow';\n eagerEsModules?: boolean;\n };\n removeConsole?: boolean | {\n exclude?: string[];\n };\n styledComponents?: boolean | StyledComponentsConfig;\n emotion?: boolean | EmotionConfig;\n styledJsx?: boolean | {\n useLightningcss?: boolean;\n };\n /**\n * Replaces variables in your code during compile time. Each key will be\n * replaced with the respective values.\n */\n define?: Record<string, string>;\n /**\n * Replaces server-only (Node.js and Edge) variables in your code during compile time.\n * Each key will be replaced with the respective values.\n */\n defineServer?: Record<string, string>;\n /**\n * A hook function that executes after production build compilation finishes,\n * but before running post-compilation tasks such as type checking and\n * static page generation.\n */\n runAfterProductionCompile?: (metadata: {\n /**\n * The root directory of the project\n */\n projectDir: string;\n /**\n * The build output directory (defaults to `.next`)\n */\n distDir: string;\n }) => Promise<void>;\n };\n /**\n * The type of build output.\n * - `undefined`: The default build output, `.next` directory, that works with production mode `next start` or a hosting provider like Vercel\n * - `'standalone'`: A standalone build output, `.next/standalone` directory, that only includes necessary files/dependencies. Useful for self-hosting in a Docker container.\n * - `'export'`: An exported build output, `out` directory, that only includes static HTML/CSS/JS. Useful for self-hosting without a Node.js server.\n * @see [Output File Tracing](https://nextjs.org/docs/advanced-features/output-file-tracing)\n * @see [Static HTML Export](https://nextjs.org/docs/advanced-features/static-html-export)\n */\n output?: 'standalone' | 'export';\n /**\n * Automatically transpile and bundle dependencies from local packages (like monorepos) or from external dependencies (`node_modules`). This replaces the\n * `next-transpile-modules` package.\n * @see [transpilePackages](https://nextjs.org/docs/advanced-features/compiler#module-transpilation)\n */\n transpilePackages?: string[];\n /**\n * Options for Turbopack. Temporarily also available as `experimental.turbo` for compatibility.\n */\n turbopack?: TurbopackOptions;\n skipMiddlewareUrlNormalize?: boolean;\n skipTrailingSlashRedirect?: boolean;\n modularizeImports?: Record<string, {\n transform: string | Record<string, string>;\n preventFullImport?: boolean;\n skipDefaultConversion?: boolean;\n }>;\n /**\n * Logging configuration. Set to `false` to disable logging.\n */\n logging?: LoggingConfig | false;\n /**\n * period (in seconds) where the server allow to serve stale cache\n */\n expireTime?: number;\n /**\n * Enable experimental features. Note that all experimental features are subject to breaking changes in the future.\n */\n experimental?: ExperimentalConfig;\n /**\n * Enables the bundling of node_modules packages (externals) for pages server-side bundles.\n * @see https://nextjs.org/docs/pages/api-reference/next-config-js/bundlePagesRouterDependencies\n */\n bundlePagesRouterDependencies?: boolean;\n /**\n * A list of packages that should be treated as external in the server build.\n * @see https://nextjs.org/docs/app/api-reference/next-config-js/serverExternalPackages\n */\n serverExternalPackages?: string[];\n /**\n * This is the repo root usually and only files above this\n * directory are traced and included.\n */\n outputFileTracingRoot?: string;\n /**\n * This allows manually excluding traced files if too many\n * are included incorrectly on a per-page basis.\n */\n outputFileTracingExcludes?: Record<string, string[]>;\n /**\n * This allows manually including traced files if some\n * were not detected on a per-page basis.\n */\n outputFileTracingIncludes?: Record<string, string[]>;\n watchOptions?: {\n pollIntervalMs?: number;\n };\n /**\n * User Agent of bots that can handle streaming metadata.\n * Besides the default behavior, Next.js act differently on serving metadata to bots based on their capability.\n *\n * @default\n * /Mediapartners-Google|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview/i\n */\n htmlLimitedBots?: RegExp;\n}\nexport declare const defaultConfig: {\n env: {};\n webpack: null;\n eslint: {\n ignoreDuringBuilds: false;\n };\n typescript: {\n ignoreBuildErrors: false;\n tsconfigPath: string;\n };\n distDir: string;\n cleanDistDir: true;\n assetPrefix: string;\n cacheHandler: string | undefined;\n cacheMaxMemorySize: number;\n configOrigin: string;\n useFileSystemPublicRoutes: true;\n generateBuildId: () => null;\n generateEtags: true;\n pageExtensions: string[];\n poweredByHeader: true;\n compress: true;\n images: ImageConfigComplete;\n devIndicators: {\n position: \"bottom-left\";\n };\n onDemandEntries: {\n maxInactiveAge: number;\n pagesBufferLength: number;\n };\n amp: {\n canonicalBase: string;\n };\n basePath: string;\n sassOptions: {};\n trailingSlash: false;\n i18n: null;\n productionBrowserSourceMaps: false;\n excludeDefaultMomentLocales: true;\n serverRuntimeConfig: {};\n publicRuntimeConfig: {};\n reactProductionProfiling: false;\n reactStrictMode: null;\n reactMaxHeadersLength: number;\n httpAgentOptions: {\n keepAlive: true;\n };\n logging: {};\n compiler: {};\n expireTime: number | undefined;\n staticPageGenerationTimeout: number;\n output: \"standalone\" | undefined;\n modularizeImports: undefined;\n outputFileTracingRoot: string;\n allowedDevOrigins: undefined;\n experimental: {\n adapterPath: string | undefined;\n useSkewCookie: false;\n nodeMiddleware: false;\n cacheLife: {\n default: {\n stale: undefined;\n revalidate: number;\n expire: number;\n };\n seconds: {\n stale: undefined;\n revalidate: number;\n expire: number;\n };\n minutes: {\n stale: number;\n revalidate: number;\n expire: number;\n };\n hours: {\n stale: number;\n revalidate: number;\n expire: number;\n };\n days: {\n stale: number;\n revalidate: number;\n expire: number;\n };\n weeks: {\n stale: number;\n revalidate: number;\n expire: number;\n };\n max: {\n stale: number;\n revalidate: number;\n expire: number;\n };\n };\n cacheHandlers: {\n default: string | undefined;\n remote: string | undefined;\n static: string | undefined;\n };\n cssChunking: true;\n multiZoneDraftMode: false;\n appNavFailHandling: false;\n prerenderEarlyExit: true;\n serverMinification: true;\n enablePrerenderSourceMaps: undefined;\n serverSourceMaps: false;\n linkNoTouchStart: false;\n caseSensitiveRoutes: false;\n clientSegmentCache: boolean;\n dynamicOnHover: false;\n appDocumentPreloading: undefined;\n preloadEntriesOnStart: true;\n clientRouterFilter: true;\n clientRouterFilterRedirects: false;\n fetchCacheKeyPrefix: string;\n middlewarePrefetch: \"flexible\";\n optimisticClientCache: true;\n manualClientBasePath: false;\n cpus: number;\n memoryBasedWorkersCount: false;\n imgOptConcurrency: null;\n imgOptTimeoutInSeconds: number;\n imgOptMaxInputPixels: number;\n imgOptSequentialRead: null;\n isrFlushToDisk: true;\n workerThreads: false;\n proxyTimeout: undefined;\n optimizeCss: false;\n nextScriptWorkers: false;\n scrollRestoration: false;\n externalDir: false;\n disableOptimizedLoading: false;\n gzipSize: true;\n craCompat: false;\n esmExternals: true;\n fullySpecified: false;\n swcTraceProfiling: false;\n forceSwcTransforms: false;\n swcPlugins: undefined;\n largePageDataBytes: number;\n disablePostcssPresetEnv: undefined;\n amp: undefined;\n urlImports: undefined;\n turbo: undefined;\n typedRoutes: false;\n typedEnv: false;\n clientTraceMetadata: undefined;\n parallelServerCompiles: false;\n parallelServerBuildTraces: false;\n ppr: boolean;\n authInterrupts: false;\n webpackBuildWorker: undefined;\n webpackMemoryOptimizations: false;\n optimizeServerReact: true;\n viewTransition: false;\n routerBFCache: false;\n removeUncaughtErrorAndRejectionListeners: false;\n validateRSCRequestHeaders: boolean;\n staleTimes: {\n dynamic: number;\n static: number;\n };\n allowDevelopmentBuild: undefined;\n reactCompiler: undefined;\n staticGenerationRetryCount: undefined;\n serverComponentsHmrCache: true;\n staticGenerationMaxConcurrency: number;\n staticGenerationMinPagesPerWorker: number;\n dynamicIO: boolean;\n inlineCss: false;\n useCache: undefined;\n slowModuleDetection: undefined;\n globalNotFound: false;\n devtoolNewPanelUI: boolean;\n devtoolSegmentExplorer: boolean;\n browserDebugInfoInTerminal: false;\n optimizeRouterScrolling: false;\n strictNextHead: true;\n middlewareClientMaxBodySize: number;\n };\n htmlLimitedBots: undefined;\n bundlePagesRouterDependencies: false;\n};\nexport declare function normalizeConfig(phase: string, config: any): Promise<any>;\nexport {};\n","/// <reference types=\"node\" />\n/// <reference types=\"react\" />\n/// <reference types=\"node\" />\n/// <reference types=\"node\" />\nimport type { SatoriOptions } from \"next/dist/compiled/@vercel/og/satori\";\nimport type { EmojiType } from './emoji';\nimport type { OutgoingHttpHeader } from 'http';\ntype ImageOptions = {\n /**\n * The width of the image.\n *\n * @type {number}\n * @default 1200\n */\n width?: number;\n /**\n * The height of the image.\n *\n * @type {number}\n * @default 630\n */\n height?: number;\n /**\n * Display debug information on the image.\n *\n * @type {boolean}\n * @default false\n */\n debug?: boolean;\n /**\n * A list of fonts to use.\n *\n * @type {{ data: ArrayBuffer; name: string; weight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900; style?: 'normal' | 'italic' }[]}\n * @default Noto Sans Latin Regular.\n */\n fonts?: SatoriOptions['fonts'];\n /**\n * Using a specific Emoji style. Defaults to `twemoji`.\n *\n * @type {EmojiType}\n * @default 'twemoji'\n */\n emoji?: EmojiType;\n};\nexport type ImageResponseNodeOptions = ImageOptions & {\n status?: number;\n statusText?: string;\n headers?: OutgoingHttpHeader[];\n};\nexport type ImageResponseOptions = ImageOptions & ConstructorParameters<typeof Response>[1];\nexport interface FigmaImageResponseProps {\n /**\n * Link to the Figma template frame.\n *\n * You can get the URL in Figma by right-clicking a frame and selecting \"Copy link\".\n * @example https://www.figma.com/file/QjGNQixWnhu300e1Xzdl2y/OG-Images?type=design&node-id=11356-2443&mode=design&t=yLROd7ro8mP1PxMY-4\n */\n url: string;\n /**\n * A mapping between Figma layer name and the value you want to replace it with.\n *\n * @example Sets Figma text layer named \"Title\" to \"How to create OG Images\"\n * ```js\n * { \"Title\": \"How to create OG Images\" }\n * ```\n *\n * @example Sets multiple Figma text layers and provides custom styles\n * ```js\n * {\n * \"Title\": { value: \"How to create OG Images\", props: { color: \"red\", centerHorizontally: true } },\n * \"Description\": { value: \"A short story\", props: { centerHorizontally: true } },\n * }\n * ```\n *\n * `centerHorizontally` centers text layer horizontally.\n */\n template: Record<string, FigmaComplexTemplate | string>;\n /**\n * The font names must match the font names in Figma.\n */\n fonts?: FontOptions[];\n /**\n * The same as {@link ImageResponseOptions} except `width` and `height`. `width` and `height` are automatically set from the Figma frame's size.\n */\n imageResponseOptions?: Omit<ImageResponseOptions, 'width' | 'height'>;\n}\nexport interface FigmaComplexTemplate {\n value: string;\n props?: {\n centerHorizontally?: boolean;\n } & React.CSSProperties;\n}\ntype Weight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;\ntype Style = 'normal' | 'italic';\ninterface FontOptions {\n data: Buffer | ArrayBuffer;\n name: string;\n weight?: Weight;\n style?: Style;\n lang?: string;\n}\ndeclare module 'react' {\n interface HTMLAttributes<T> {\n /**\n * Specify styles using Tailwind CSS classes. This feature is currently experimental.\n * If `style` prop is also specified, styles generated with `tw` prop will be overridden.\n *\n * Example:\n * - `tw='w-full h-full bg-blue-200'`\n * - `tw='text-9xl'`\n * - `tw='text-[80px]'`\n *\n * @type {string}\n */\n tw?: string;\n }\n}\nexport {};\n","import type { AsyncLocalStorage as NodeAsyncLocalStorage } from 'async_hooks'\n\ndeclare global {\n var AsyncLocalStorage: typeof NodeAsyncLocalStorage\n}\n\nexport { NextFetchEvent } from 'next/dist/server/web/spec-extension/fetch-event'\nexport { NextRequest } from 'next/dist/server/web/spec-extension/request'\nexport { NextResponse } from 'next/dist/server/web/spec-extension/response'\nexport { NextMiddleware, MiddlewareConfig } from 'next/dist/server/web/types'\nexport { userAgentFromString } from 'next/dist/server/web/spec-extension/user-agent'\nexport { userAgent } from 'next/dist/server/web/spec-extension/user-agent'\nexport { URLPattern } from 'next/dist/compiled/@edge-runtime/primitives/url'\nexport { ImageResponse } from 'next/dist/server/web/spec-extension/image-response'\nexport type { ImageResponseOptions } from 'next/dist/compiled/@vercel/og/types'\nexport { after } from 'next/dist/server/after'\nexport { unstable_rootParams } from 'next/dist/server/request/root-params'\nexport { connection } from 'next/dist/server/request/connection'\nexport type { UnsafeUnwrappedSearchParams } from 'next/dist/server/request/search-params'\nexport type { UnsafeUnwrappedParams } from 'next/dist/server/request/params'\n"],"x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],"mappings":";;;;;;;;;;;;;;;;;KACYC,QAAAA;;;;;;;;;;;KCOAkB,WAAAA;;EDPAlB,GAAAA,EAAAA,MAAQ;;;;ECORkB,MAAAA,EAAAA,MAAW;EAYOG,WAAAA,EAAAA,MAAe;EAGnCC,WAAAA,EAAAA,KAAAA,GAAAA,MAAAA,GAAAA,MAAAA,GAAAA,KAAAA;EACcN,YAAAA,CAAAA,EAAAA,MAAAA;CACFH;AAE6BS,uBAPrBD,eAOqBC,CAAAA,OAAAA,GAAAA,CAAAA,CAAAA;EAChCC,MAAAA,EAAAA,MAAAA;EAAO,GAAA,EAAA,MAAA;QALhBD;sBACcN;oBACFH;ECtBVg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