//#region src/instrumentation/tracer.d.ts /** * Creates a child span whose lifetime is bound to the execution of the given function * * @param name - The name of the span. * @param attributes - The attributes of the span. * @param fn - The function to execute within the span. * @returns The result of the function. */ declare function withSpan(name: string, attributes: Record, fn: () => T): T; declare function withSpan(name: string, attributes: Record, fn: () => Promise): Promise; //#endregion export { withSpan }; //# sourceMappingURL=tracer.d.mts.map