import 'reflect-metadata'; import { RouteOptions } from "./types"; /** Define function as a route endpoint. */ export declare function route(options?: RouteOptions | string): (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Define method as a GET route. Shorthand for `route({ type: 'get' })` * @alias route */ export declare const get: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Define method as a POST route. Shorthand for `route({ type: 'post' })` * @alias route */ export declare const post: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Define method as a PUT route. Shorthand for `route({ type: 'put' })` * @alias route */ export declare const put: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Define method as a PUT route. Shorthand for `route({ type: 'delete' })` * @alias route */ export declare const del: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Will respond to all HTTP methods. Shorthand for `route({ type: 'all' })` * @alias route */ export declare const all: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; /** Similar to `all`. Shorthand for `route({ type: 'use' })` * @alias route */ export declare const use: (options?: RouteOptions | string) => (target: Object /** Object */, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;