import { Span, Attributes } from '@opentelemetry/api'; import { WebTracerProvider } from '@opentelemetry/sdk-trace-web'; export interface ReactNativeConfiguration { beaconEndpoint?: string; apiKey: string; networkHeadersCapture?: boolean; networkBodyCapture?: boolean; service: string; deploymentEnvironment?: string; allowInsecureBeacon?: boolean; appStartEnabled?: boolean; enableDiskBuffering?: boolean; limitDiskUsageMegabytes?: number; truncationCheckpoint?: number; bufferTimeout?: number; bufferSize?: number; debug?: boolean; /** Sets attributes added to every Span. */ globalAttributes?: Attributes; /** * URLs that partially match any regex in ignoreUrls will not be traced. * In addition, URLs that are _exact matches_ of strings in ignoreUrls will * also not be traced. */ ignoreUrls?: Array; tracePropagationTargets?: (string | RegExp)[]; } export interface HyperDXRumType { appStartSpan?: Span | undefined; appStartEnd: number | null; finishAppStart: () => void; init: (options: ReactNativeConfiguration) => HyperDXRumType | undefined; provider?: WebTracerProvider; _generatenewSessionId: () => void; _testNativeCrash: () => void; reportError: (err: any, isFatal?: boolean) => void; setGlobalAttributes: (attributes: Attributes) => void; updateLocation: (latitude: number, longitude: number) => void; } export declare const HyperDXRum: HyperDXRumType; //# sourceMappingURL=splunkRum.d.ts.map