import type { Client, Options, Span } from '@sentry/core';
export declare const NEXTJS_SERVER_IGNORE_SPANS: NonNullable<Options['ignoreSpans']>;
/**
 * Registers the hooks that name, enrich and filter the spans and events of the Next.js server on `client`.
 */
export declare function addNextjsServerSpanHooks(client: Client): void;
/**
 * Handles the on span start event for Next.js spans.
 * This function is used to enhance the span with additional information such as the route, the method, the headers, etc.
 * It is called for every span that is started by Next.js.
 * @param span The span that is starting.
 * @param client The client the hook is registered on.
 */
export declare function handleOnSpanStart(span: Span, client: Client): void;
//# sourceMappingURL=serverSpanHooks.d.ts.map