import { Joinpoint } from '../joinpoints'; import { Express, IRecognizer, InjectToken } from '@ts-ioc/core'; /** * Aop IAdvisorChain interface token. * it is a token id, you can register yourself IAdvisorChain for this. */ export declare const AdvisorChainToken: InjectToken; /** * advisor chain. * * @export * @interface IAdvisorChain */ export interface IAdvisorChain { /** * register next step of chain. * * @param {Express} action * @memberof IAdvisorChain */ next(action: Express): any; /** * get Recognizer of the chain, to recognize the vaule is special alias for registor to container. * * @returns {IRecognizer} * @memberof IAdvisorChain */ getRecognizer(): IRecognizer; /** * run chain process. * * @memberof IAdvisorChain */ process(): void; }