import type { BatchOptions, InstrumentOptions } from "./types.js"; /** Instrument an async operation. */ export declare function instrument(fn: (...args: TArgs) => Promise, spanName: string, options?: InstrumentOptions): (...args: TArgs) => Promise; /** Instrument a synchronous operation. */ export declare function instrumentSync(fn: (...args: TArgs) => TResult, spanName: string, options?: InstrumentOptions): (...args: TArgs) => TResult; /** Instrument a batch operation. */ export declare function instrumentBatch(operationName: string, items: T[], processor: (item: T, index: number) => Promise, options?: BatchOptions): Promise; //# sourceMappingURL=wrappers.d.ts.map