securityos/node_modules/next/dist/server/web/adapter.d.ts

9 lines
352 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import type { NextMiddleware, RequestData, FetchEventResult } from './types';
export type AdapterOptions = {
handler: NextMiddleware;
page: string;
request: RequestData;
IncrementalCache?: typeof import('../lib/incremental-cache').IncrementalCache;
};
export declare function adapter(params: AdapterOptions): Promise<FetchEventResult>;