/// <reference types="node" />
import { ServerResponse } from 'node:http';
import { IncomingMessage } from 'node:http';
import { RsbuildConfig } from '@rsbuild/core';
export declare const SENTRY_SYMBOLICATE_ENDPOINT = "/__sentry__/symbolicate";
export type NextFunction = () => void;
export declare const createSentrySymbolicatorMiddleware: (config: RsbuildConfig) => (_req: IncomingMessage, _res: ServerResponse, next: NextFunction) => void;
export declare const noopMiddleware: (_req: IncomingMessage, _res: ServerResponse, next: NextFunction) => void;
export declare function processSymbolicateRequest({ req, res, projectRootPath, serverPublicPath, }: {
    req: IncomingMessage;
    res: ServerResponse;
    projectRootPath?: string;
    serverPublicPath?: string;
}): Promise<void>;
//# sourceMappingURL=middleware.d.ts.map