import type { Integration, Options } from '@sentry/core'; import type { NodeClient } from '@sentry/node'; import type { BunOptions } from './types'; /** Get the default integrations for the Bun SDK. */ export declare function getDefaultIntegrations(_options: Options): Integration[]; /** * The Sentry Bun SDK Client. * * To use this SDK, call the {@link init} function as early as possible in the * main entry module. To set context information or send manual events, use the * provided methods. * * @example * ``` * * const { init } = require('@sentry/bun'); * * init({ * dsn: '__DSN__', * // ... * }); * ``` * * @example * ``` * * const { addBreadcrumb } = require('@sentry/node'); * addBreadcrumb({ * message: 'My Breadcrumb', * // ... * }); * ``` * * @example * ``` * * const Sentry = require('@sentry/node'); * Sentry.captureMessage('Hello, world!'); * Sentry.captureException(new Error('Good bye')); * Sentry.captureEvent({ * message: 'Manual', * stacktrace: [ * // ... * ], * }); * ``` * * @see {@link BunOptions} for documentation on configuration options. */ export declare function init(userOptions?: BunOptions): NodeClient | undefined; //# sourceMappingURL=sdk.d.ts.map