export interface PrismaInstrumentationConfig {
    /**
     * Span types that should not be traced. Matched against the full span name (e.g. `prisma:client:operation`),
     * either exactly (string) or by pattern (RegExp).
     */
    ignoreSpanTypes?: (string | RegExp)[];
}
export interface PrismaOptions {
    /**
     * @deprecated This is no longer used, v5 works out of the box.
     */
    prismaInstrumentation?: unknown;
    /**
     * Configuration for the Prisma tracing helper.
     */
    instrumentationConfig?: PrismaInstrumentationConfig;
}
/**
 * Sets up the global Prisma tracing helper that Prisma looks up on `globalThis` to emit tracing data.
 *
 * Prisma reads `globalThis.PRISMA_INSTRUMENTATION` (and its versioned variant) to find a "TracingHelper"
 * which it uses internally to create spans, so it can produce tracing data without depending on
 * OpenTelemetry. The helper we install here mints spans through Sentry's span APIs. A single helper
 * serves both Prisma v5 (which calls `createEngineSpan`) and v6/v7 (which call `dispatchEngineSpans`),
 * so it doesn't blow up on version mismatches.
 */
export declare function instrumentPrisma(options?: PrismaOptions): void;
/**
 * Adds Sentry tracing instrumentation for the [prisma](https://www.npmjs.com/package/prisma) library.
 * For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).
 *
 * NOTE: This integration works out of the box with Prisma v6, and v7.
 * On Prisma versions prior to v6, add `previewFeatures = ["tracing"]` to the client generator block of your Prisma schema:
 *
 *    ```
 *    generator client {
 *      provider = "prisma-client-js"
 *      previewFeatures = ["tracing"]
 *    }
 *    ```
 */
export declare const prismaIntegration: (options?: PrismaOptions | undefined) => import("@sentry/core").Integration & {
    name: "Prisma";
};
//# sourceMappingURL=index.d.ts.map
