import type { MethodTypeUnknown } from '@waiting/shared-types'; import type { TraceOptions } from '../trace.service/index.trace.service.js'; /** * Declarative TraceLog Decorator, * add trace attribute to the span through decorator before()/after() method return object, * no new span starting * - add trace tag/log to current active span * - add trace tag/log to root span * @note return value of decorated method `before()` and `after()` should be type: * ```ts * interface DecoratorTraceData { * attrs?: Attributes * events?: Attributes * rootAttrs?: Attributes * rootEvents?: Attributes * } * ``` */ export declare function TraceLog(options?: TraceOptions): MethodDecorator;