import { Scope } from '@sentry/types';
/**
* @param fn function to run
* @returns function which runs in the newly created domain or in the existing one
*/
export declare function domainify(fn: (...args: A) => R): (...args: A) => R | void;
/**
* @param source function to be wrapped
* @param wrap wrapping function that takes source and returns a wrapper
* @param overrides properties to override in the source
* @returns wrapped function
*/
export declare function proxyFunction R>(source: F, wrap: (source: F) => F, overrides?: Record): F;
/**
* Marks an event as unhandled by adding a span processor to the passed scope.
*/
export declare function markEventUnhandled(scope: Scope): Scope;
//# sourceMappingURL=utils.d.ts.map