import { ErrorHandler } from "./types.mjs";
import { Exception } from "@opentelemetry/api";
//#region src/common/global-error-handler.d.ts
/**
 * Set the global error handler
 * @param {ErrorHandler} handler
 */
declare function setGlobalErrorHandler(handler: ErrorHandler): void;
/**
 * Return the global error handler
 * @param {Exception} ex
 */
declare function globalErrorHandler(ex: Exception): void;
//#endregion
export { globalErrorHandler, setGlobalErrorHandler };
//# sourceMappingURL=global-error-handler.d.mts.map