import type { ConsoleLevel } from '../types-hoist/instrument'; interface ConsoleIntegrationOptions { levels: ConsoleLevel[]; } /** * Captures calls to the `console` API as breadcrumbs in Sentry. * * By default the integration instruments `console.debug`, `console.info`, `console.warn`, `console.error`, * `console.log`, `console.trace`, and `console.assert`. You can use the `levels` option to customize which * levels are captured. * * @example * * ```js * Sentry.init({ * integrations: [Sentry.consoleIntegration({ levels: ['error', 'warn'] })], * }); * ``` */ export declare const consoleIntegration: (options?: Partial | undefined) => import("..").Integration; /** * Capture a console breadcrumb. * * Exported just for tests. */ export declare function addConsoleBreadcrumb(level: ConsoleLevel, args: unknown[]): void; export {}; //# sourceMappingURL=console.d.ts.map