import { CloudflareOptions } from './client'; type MethodWrapperOptions = { spanName?: string; spanOp?: string; options: CloudflareOptions; context: ExecutionContext | DurableObjectState; }; export type UncheckedMethod = (...args: any[]) => any; type OriginalMethod = UncheckedMethod; /** * Wraps a method with Sentry tracing. * * @param wrapperOptions - The options for the wrapper. * @param handler - The method to wrap. * @param callback - The callback to call. * @param noMark - Whether to mark the method as instrumented. * @returns The wrapped method. */ export declare function wrapMethodWithSentry(wrapperOptions: MethodWrapperOptions, handler: T, callback?: (...args: Parameters) => void, noMark?: true): T; export {}; //# sourceMappingURL=wrapMethodWithSentry.d.ts.map