export { _INTERNAL_setTunnelDefaults } from '@sentry/core/server'; type MiddlewareNext = () => Promise; type MiddlewareHandler = (ctx: unknown, next: MiddlewareNext) => Promise | Response | Promise | void; /** * This export is used by our integration to automatically add the middleware. * * It's not possible to pass options at this moment, so we'll call our middleware * factory function with the default options. Users can deactivate the automatic * middleware registration in our integration and manually add it in their own * `/src/middleware.js` file. */ export declare const onRequest: MiddlewareHandler; //# sourceMappingURL=index.d.ts.map