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

9 lines
352 B
TypeScript

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>;