import type { CurrencyConfig } from '../../config'; import type { CoinModuleApi, Memo, MemoNotSupported, TxData, TxDataNotSupported } from '../types'; export interface Span { end(): void; setError(error: unknown): void; } export interface Tracer { startSpan(name: string): Span; } /** * Wraps a {@link CoinModuleApi} to open a tracing span around each method invocation. * * The span is ended on success, or after `setError` on throw. * The Context is forwarded unchanged to the underlying method. * Handles both synchronous methods (e.g. `combine`) and async methods uniformly. */ export declare function withTracing>(api: CoinModuleApi & Extra, tracer: Tracer): CoinModuleApi & Extra; //# sourceMappingURL=withTracing.d.ts.map