import type { NextMiddleware, RequestData, FetchEventResult } from './types'; export declare function adapter(params: { handler: NextMiddleware; page: string; request: RequestData; }): Promise; export declare function blockUnallowedResponse(promise: Promise): Promise; export declare function enhanceGlobals(): void;