import type { AttributeValue } from "@opentelemetry/api";
/**
 * Captures the decorated method's return value (resolved value for async
 * methods) as an attribute on the current wide event.
 *
 * No-op when called outside a request handled by the WideEventInterceptor,
 * when `pick` throws, or when the value is not a valid attribute value.
 *
 * @param key The wide event attribute key.
 * @param pick Optional projection of the return value to an attribute value.
 *
 * @publicApi
 */
export declare function WideEventField<T = any>(key: string, pick?: (result: T) => AttributeValue): (_target: any, propertyKey: PropertyKey, propertyDescriptor: TypedPropertyDescriptor<(...args: any[]) => any>) => void;
