/**
 * @deprecated Use withReporting instead. This function will be removed in a future version.
 * Example: withReporting(myFunction, "myFunction")(...args)
 */
declare const monitorCallbackAsync: <T extends (...args: any[]) => any>(cb: T, ...args: Parameters<T>) => Promise<ReturnType<T>>;
/**
 * @deprecated Use withReporting instead. This function will be removed in a future version.
 * Example: withReporting(myFunction, "myFunction")(...args)
 */
declare const monitorCallbackSync: <T extends (...args: any[]) => any>(cb: T, ...args: Parameters<T>) => ReturnType<T>;
/**
 * Recommended way to wrap functions for Sentry reporting.
 * Properly handles both sync and async functions with proper error context capture.
 *
 * @example
 * // Async function
 * const myAsyncFunction = withReporting(async (arg1: string, arg2: number) => {
 *   // async implementation
 * }, "myAsyncFunction");
 *
 * // Sync function
 * const mySyncFunction = withReporting((arg1: string, arg2: number) => {
 *   // sync implementation
 * }, "mySyncFunction");
 */
export declare function withReporting<T extends any[], R>(func: (...args: T) => R, name: string): (...args: T) => R;
export default monitorCallbackAsync;
export { monitorCallbackSync };
//# sourceMappingURL=sentryWrapper.d.ts.map