import "reflect-metadata"; /** * Defines a class which will intercept all response to be sent to the client. Using such classes gives ability to * change content of the response (both success and error) on-the-fly. Classes that uses this decorator must * implement ResponseInterceptorInterface. * * @param priority Special priority to be used to define order of interceptors to be executed */ export declare function ResponseInterceptor(priority?: number): (object: Function) => void; /** * Annotation must be set to controller action and given to it code will be used as HTTP Status Code in the case * if response result is success. */ export declare function HttpCode(code: number): (object: Object, methodName: string) => void; /** * Annotation must be set to controller action and given content-type will be set to response. */ export declare function ContentType(type: string): (object: Object, methodName: string) => void; /** * Annotation must be set to controller action and given content-type will be set to response. */ export declare function Header(name: string, value: string): (object: Object, methodName: string) => void; /** * Sets Location header with given value to the response. */ export declare function Location(value: string): (object: Object, methodName: string) => void; /** * Sets Redirect header with given value to the response. */ export declare function Redirect(value: string): (object: Object, methodName: string) => void; /** * Specifies a template to be rendered by controller. */ export declare function Render(template: string): (object: Object, methodName: string) => void;