import type { NodeSDKConfig } from "../index.js";
import type { NodeOptions as SentryNodeOptions } from "@sentry/node";
/**
 * Options for the withSentry preset function.
 */
export interface WithSentryOptions {
    /**
     * Sentry-specific configuration options.
     * Passed to Sentry.init() with skipOpenTelemetrySetup: true.
     */
    sentryOptions?: SentryNodeOptions;
    /**
     * If true, Sentry's sampling logic (tracesSampleRate/tracesSampler) takes precedence.
     * If false, o11y's sampler handles all decisions and Sentry receives all sampled traces.
     *
     * @default false
     */
    useSentrySampling?: boolean;
}
/**
 * Enhances a NodeSDKConfig with Sentry for Node integration.
 *
 * Includes sentry own processors and context management.
 */
export declare function withSentry(config: NodeSDKConfig, options?: WithSentryOptions): Promise<NodeSDKConfig>;
