15 lines
878 B
TypeScript
15 lines
878 B
TypeScript
import type { FileReader } from './helpers/file-reader/file-reader';
|
|
import { PagesAPIRouteMatcher } from '../../route-matchers/pages-api-route-matcher';
|
|
import type { LocaleRouteNormalizer } from '../../normalizers/locale-route-normalizer';
|
|
import { FileCacheRouteMatcherProvider } from './file-cache-route-matcher-provider';
|
|
export declare class DevPagesAPIRouteMatcherProvider extends FileCacheRouteMatcherProvider<PagesAPIRouteMatcher> {
|
|
private readonly pagesDir;
|
|
private readonly extensions;
|
|
private readonly localeNormalizer?;
|
|
private readonly expression;
|
|
private readonly normalizers;
|
|
constructor(pagesDir: string, extensions: ReadonlyArray<string>, reader: FileReader, localeNormalizer?: LocaleRouteNormalizer | undefined);
|
|
private test;
|
|
protected transform(files: ReadonlyArray<string>): Promise<ReadonlyArray<PagesAPIRouteMatcher>>;
|
|
}
|