import { AttributeValue } from "@opentelemetry/api";

//#region src/api-logs/manager/types.d.ts
type LogMessageOptions = {
  attributes?: Record<string, AttributeValue | undefined>;
  includeStacktrace?: boolean;
  stacktrace?: string;
};
type LogExceptionOptions = {
  handled?: boolean;
  attributes?: Record<string, AttributeValue | undefined>;
  timestamp?: number;
  handler?: ExceptionHandlerType;
};
interface LogManager {
  message: (message: string, level: LogSeverity, options?: LogMessageOptions) => void;
  logException: (error: unknown, options?: LogExceptionOptions) => void;
}
type LogSeverity = 'info' | 'warning' | 'error';
type ExceptionHandlerType = 'global_exception' | 'promise_rejection' | 'manual';
//#endregion
export { ExceptionHandlerType, LogExceptionOptions, LogManager, LogMessageOptions, LogSeverity };
//# sourceMappingURL=types.d.cts.map