import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
interface HttpOptions {
    /**
     * Whether breadcrumbs should be recorded for requests.
     * Defaults to true
     */
    breadcrumbs?: boolean;
    /**
     * Do not capture spans or breadcrumbs for outgoing HTTP requests to URLs where the given callback returns `true`.
     * This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
     */
    ignoreOutgoingRequests?: (url: string) => boolean;
    /**
     * Do not capture spans or breadcrumbs for incoming HTTP requests to URLs where the given callback returns `true`.
     * This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
     */
    ignoreIncomingRequests?: (url: string) => boolean;
    /** Allows to pass a custom version of HttpInstrumentation. We use this for Next.js. */
    _instrumentation?: typeof HttpInstrumentation;
}
/**
 * Instrument the HTTP module.
 * This can only be instrumented once! If this called again later, we just update the options.
 */
export declare const instrumentHttp: (() => void) & {
    id: string;
};
/**
 * The http integration instruments Node's internal http and https modules.
 * It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
 */
export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/types").Integration;
export {};
//# sourceMappingURL=http.d.ts.map
