import { type ErrorReport, type Severity, addFeatureFlag, bugsnagErrorReporter, reportErrorToBugsnag, startBugsnag } from '@lokalise/error-utils'; import type { FastifyPluginCallback } from 'fastify'; export { reportErrorToBugsnag, addFeatureFlag, bugsnagErrorReporter, type ErrorReport, type Severity, }; export type BugsnagConfig = Parameters[0]; export interface BugsnagPluginConfig { bugsnag: BugsnagConfig; isEnabled: boolean; } export declare const bugsnagPlugin: FastifyPluginCallback;