import type { Scope } from '@sentry/core'; import * as React from 'react'; import type { ReactNativeOptions, ReactNativeWrapperOptions } from './options'; /** * Inits the SDK and returns the final options. */ export declare function init(passedOptions: ReactNativeOptions): void; /** * Inits the Sentry React Native SDK with automatic instrumentation and wrapped features. */ export declare function wrap
>(RootComponent: React.ComponentType
, options?: ReactNativeWrapperOptions): React.ComponentType
;
/**
* If native client is available it will trigger a native crash.
* Use this only for testing purposes.
*/
export declare function nativeCrash(): void;
/**
* Flushes all pending events in the queue to disk.
* Use this before applying any realtime updates such as code-push or expo updates.
*/
export declare function flush(): Promise