import type { Integration } from '@sentry/core';
export declare const INTEGRATION_NAME = "TurboModuleContext";
export interface TurboModuleContextOptions {
    /**
     * Additional TurboModules to track. Each entry's methods will be wrapped so
     * that any native crash happening inside a method call gets `contexts.turbo_module`
     * + `turbo_module.name` / `turbo_module.method` attached to the crash report.
     *
     * The built-in `RNSentry` TurboModule is always tracked.
     */
    modules?: Array<{
        name: string;
        module: object | null | undefined;
        skipMethods?: ReadonlyArray<string>;
    }>;
}
/**
 * Attaches the currently-executing TurboModule method to the Sentry scope so
 * that native crashes can be attributed to the high-level RN module + method
 * (e.g. `RNSentry.captureEnvelope`) on top of the native stack trace.
 *
 * The active call is mirrored as `contexts.turbo_module` and the
 * `turbo_module.name` / `turbo_module.method` tags, both of which are already
 * synced to the native SDKs by the existing scope-sync hooks and therefore end
 * up in crash reports captured by sentry-cocoa / sentry-java.
 *
 * See https://github.com/getsentry/sentry-react-native/issues/6163.
 */
export declare const turboModuleContextIntegration: (options?: TurboModuleContextOptions) => Integration;
//# sourceMappingURL=turboModuleContext.d.ts.map
