wilddragon-site/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.d.ts

14 lines
542 B
TypeScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
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>;