securityos/node_modules/next/dist/server/future/route-matcher-providers/dev/file-cache-route-matcher-pr...

10 lines
521 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { RouteMatcher } from '../../route-matchers/route-matcher';
import { CachedRouteMatcherProvider } from '../helpers/cached-route-matcher-provider';
import type { FileReader } from './helpers/file-reader/file-reader';
/**
* This will memoize the matchers when the file contents are the same.
*/
export declare abstract class FileCacheRouteMatcherProvider<M extends RouteMatcher = RouteMatcher> extends CachedRouteMatcherProvider<M, ReadonlyArray<string>> {
constructor(dir: string, reader: FileReader);
}