UNPKG

714 BTypeScriptView Raw
1import { BaseClient, Scope } from '@sentry/core';
2import { Event, EventHint } from '@sentry/types';
3import { NodeBackend, NodeOptions } from './backend';
4/**
5 * The Sentry Node SDK Client.
6 *
7 * @see NodeOptions for documentation on configuration options.
8 * @see SentryClient for usage documentation.
9 */
10export declare class NodeClient extends BaseClient<NodeBackend, NodeOptions> {
11 /**
12 * Creates a new Node SDK instance.
13 * @param options Configuration options for this SDK.
14 */
15 constructor(options: NodeOptions);
16 /**
17 * @inheritDoc
18 */
19 protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike<Event | null>;
20}
21//# sourceMappingURL=client.d.ts.map
\No newline at end of file