export declare const Query: { (target: any, methodName: string, index: number): void; (name: string): (target: any, methodName: string, index: number) => void; }; export declare const RequestPath: { (target: any, methodName: string, index: number): void; (name: string): (target: any, methodName: string, index: number) => void; }; export declare const RequestBody: (target: any, methodName: string, index: number) => void; export declare const RequestHeader: { (target: any, methodName: string, index: number): void; (name: string): (target: any, methodName: string, index: number) => void; }; export declare const RequestHeaders: (target: any, methodName: string, index: number) => void; export declare const Cookie: { (target: any, methodName: string, index: number): void; (name: string): (target: any, methodName: string, index: number) => void; }; export declare const Cookies: (target: any, methodName: string, index: number) => void; export declare const Session: (target: any, methodName: string, index: number) => void; export declare const Request: (target: any, methodName: string, index: number) => void; export declare const Response: (target: any, methodName: string, index: number) => void; declare type FuncType = (...args: any[]) => Promise; declare type RetType = (target: any, methodName: string, des: TypedPropertyDescriptor) => void; export declare function RequestMapping(path: string): RetType; export declare function RequestMapping({ path, method }: { path: string; method: "GET" | "POST" | "PUT" | "DELETE"; }): RetType; export declare class Controller { routers: any[]; constructor(); handler(): (req: any, res: any, next: any) => void; addController(path: string, cls: { new (): T; }): void; } export {};