import { type ContextProvider } from '../utils.js';
/** Wraps an async method in a new RequestContext, forking the EntityManager (legacy TypeScript decorator). */
export declare function CreateRequestContext<T extends object>(
  context?: ContextProvider<T>,
  respectExistingContext?: boolean,
): MethodDecorator;
/** Like `@CreateRequestContext`, but reuses an existing RequestContext if one is available (legacy TypeScript decorator). */
export declare function EnsureRequestContext<T extends object>(context?: ContextProvider<T>): MethodDecorator;
