This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

14 lines
542 B
TypeScript

import type { ProxyMatcher } from '../../analysis/get-page-static-info';
export type MiddlewareLoaderOptions = {
absolutePagePath: string;
page: string;
rootDir: string;
matchers?: string;
preferredRegion: string | string[] | undefined;
middlewareConfig: string;
cacheHandler?: string;
};
export declare function encodeMatchers(matchers: ProxyMatcher[]): string;
export declare function decodeMatchers(encodedMatchers: string): ProxyMatcher[];
export default function middlewareLoader(this: any): Promise<string>;