import express from 'express'; import { Token } from 'typedi'; export interface IRestController { } export declare const ExpressToken: Token; export declare const RestControllerToken: Token; export declare function setExpressApp(app: express.Express): void; export declare function RestController(): (target: any) => any; export declare function GetMapping(path: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function PostMapping(path: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function DeleteMapping(path: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function UpdateMapping(path: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function PatchMapping(path: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export declare function RequestQuery(): (target: any, methodName: string, paramIndex: number) => void; export declare function RequestBody(): (target: any, methodName: string, paramIndex: number) => void; export declare function RequestPathVariable(): (target: any, methodName: string, paramIndex: number) => void; export declare function Request(): (target: any, methodName: string, paramIndex: number) => void; export declare function Response(): (target: any, methodName: string, paramIndex: number) => void;