import * as Router from 'koa-router';
import { Method } from './declarations';
/**
 * Options to define a handler.
 */
export interface HandlerOptions {
    method?: Method;
    path?: string;
    name?: string;
    middleware?: Router.IMiddleware | Router.IMiddleware[];
}
export declare function Handler(options?: HandlerOptions): PropertyDecorator & MethodDecorator;
export declare function Get(path: string, options?: HandlerOptions): PropertyDecorator;
export declare function Post(path: string, options?: HandlerOptions): PropertyDecorator;
export declare function Put(path: string, options?: HandlerOptions): PropertyDecorator;
export declare function Delete(path: string, options?: HandlerOptions): PropertyDecorator;
