/** * Traces a function call with OpenTelemetry. * @param fn The function to trace. * @param attributes Optional attributes to set on the span. * @notice all sync functions are elevated to async functions for uniformity * @returns The result of the function call. */ export declare const traceFn: (fn: () => T | Promise, attributes?: Record) => Promise; /** * Wraps a function in an OpenTelemetry span. */ export declare const traceWrap: Promise, U>(fn: T) => T;