import { Client } from "@sentry/types"; import { NormalizedOptions } from "../options-mapping"; import { Scope } from "@sentry/core"; export declare function createSentryInstance(options: NormalizedOptions, shouldSendTelemetry: Promise, buildTool: string, buildToolMajorVersion: string | undefined): { sentryScope: Scope; sentryClient: Client; }; export declare function setTelemetryDataOnScope(options: NormalizedOptions, scope: Scope, buildTool: string, buildToolMajorVersion?: string): void; export declare function allowedToSendTelemetry(options: NormalizedOptions): Promise; /** * Flushing the SDK client can fail. We never want to crash the plugin because of telemetry. */ export declare function safeFlushTelemetry(sentryClient: Client): Promise; //# sourceMappingURL=telemetry.d.ts.map