import { RequestArguments } from '../../../core/provider/interface.js'; type WithMeasurementOptions = { isEphemeral?: boolean; }; /** * Higher-order function that wraps a request handler with correlation ID tracking and telemetry. * * Handles: * - Generating and storing correlation ID * - Logging request start/success/error * - Cleaning up correlation ID after request completes * * @param handler - The actual request handler function * @returns Wrapped handler with measurement instrumentation */ export declare function withMeasurement(options: WithMeasurementOptions, handler: (args: RequestArguments) => Promise): (args: RequestArguments) => Promise; export {}; //# sourceMappingURL=withMeasurement.d.ts.map