import { NodeOptions } from '@highlight-run/node'; import type { IncomingHttpHeaders } from 'http'; export declare type HasHeaders = { headers: IncomingHttpHeaders; method?: string; url?: string; }; export declare type HasStatus = { readonly statusCode: number; readonly statusMessage: string; status: (statusCode: number) => HasStatus; send: (body: string) => void; }; export declare type ApiHandler = (req: T, res: S) => unknown | Promise; export declare const Highlight: (options: NodeOptions) => (originalHandler: ApiHandler) => ApiHandler; //# sourceMappingURL=with-highlight-nodejs-page-router.d.ts.map