import type { Tracer } from '@opentelemetry/api'; import type { BasicTracerProvider } from '@opentelemetry/sdk-trace-base'; import { ServerRuntimeClient } from '@sentry/core'; import type { NodeClientOptions } from '../types'; /** A client for using Sentry with Node & OpenTelemetry. */ export declare class NodeClient extends ServerRuntimeClient { traceProvider: BasicTracerProvider | undefined; private _tracer; private _clientReportInterval; private _clientReportOnExitFlushListener; constructor(options: NodeClientOptions); /** Get the OTEL tracer. */ get tracer(): Tracer; flush(timeout?: number): Promise; close(timeout?: number | undefined): PromiseLike; /** * Will start tracking client reports for this client. * * NOTICE: This method will create an interval that is periodically called and attach a `process.on('beforeExit')` * hook. To clean up these resources, call `.close()` when you no longer intend to use the client. Not doing so will * result in a memory leak. */ startClientReportTracking(): void; } //# sourceMappingURL=client.d.ts.map