import { T as TraceAllOptions } from './types-Db5ZtQHb.js'; /** * Proxy-based object wrapper for OpenTelemetry tracing * * Wraps all methods of an object in OTel spans using ES6 Proxy. * Does NOT mutate the original object or its prototype. * * @module traceAll */ /** * Wraps all methods of an object in OpenTelemetry spans using ES6 Proxy. * * Creates a Proxy that intercepts method calls and wraps each in a span. * Method wrappers are created lazily (on first access, not at Proxy creation). * Does NOT mutate the original object or its prototype. * * @param target - The object whose methods to trace * @param options - Tracing options * @returns A Proxy with traced methods * * @example * ```typescript * const service = traceAll(new UserService(), { * prefix: "UserService", * exclude: ["internalHelper"], * }); * ``` */ declare function traceAll(target: T, options?: TraceAllOptions): T; export { traceAll };