import { AppError } from '../app-error.js'; type Span = any; type Attributes = Record; declare function recordException(span: Span, err: AppError, attrs?: Attributes): void; declare function toSpanAttributes(err: AppError): Attributes; export { recordException, toSpanAttributes };