import * as _cloudflare_workers_types from '@cloudflare/workers-types';
import * as next_server from 'next/server';
import { H as HighlightEnv, E as EdgeHandler } from './with-highlight-edge-23c1ab0e.js';
export { H } from '@highlight-run/cloudflare';
import '@highlight-run/node';

declare function registerHighlight(): void;
declare function EdgeHighlight(env: HighlightEnv): (handler: EdgeHandler) => (request: next_server.NextRequest, event: next_server.NextFetchEvent & _cloudflare_workers_types.ExecutionContext & {
    __waitUntilTimer?: NodeJS.Timeout | undefined;
    __waitUntilPromises?: Promise<void>[] | undefined;
    waitUntilFinished?: (() => Promise<void>) | undefined;
}) => Promise<Response>;
declare function PageRouterHighlight(_: HighlightEnv): void;
declare function AppRouterHighlight(_: HighlightEnv): void;

export { AppRouterHighlight, EdgeHighlight, HighlightEnv, PageRouterHighlight, registerHighlight };
