import { AroundMetadata } from '../metadatas'; import { IAdviceDecorator } from './Advice'; /** * aop around decorator. * * @export * @interface IAroundDecorator * @extends {IAdviceDecorator} * @template T */ export interface IAroundDecorator extends IAdviceDecorator { /** * define aop around advice. * * @param {(string | RegExp)} [pointcut] define advice match express for pointcut. * @param {string} [returning] set name provider of pointcut returing data for advices. * @param {string} [throwing] set name provider of pointcut throwing error for advices. * @param {string} [annotation] annotation name, special annotation metadata for annotation advices. */ (pointcut?: string | RegExp, args?: string, returning?: string, throwing?: string, annotation?: string): MethodDecorator; } /** * aop Around advice decorator. * * @Around */ export declare const Around: IAroundDecorator;