Files
novarix.uk/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.d.ts
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

13 lines
515 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;
};
export declare function encodeMatchers(matchers: ProxyMatcher[]): string;
export declare function decodeMatchers(encodedMatchers: string): ProxyMatcher[];
export default function middlewareLoader(this: any): Promise<string>;