import { Decorator } from "../types/spur"; /** * Force method to be POST */ export declare const Post: (path: string) => Decorator; /** * Force method to be GET */ export declare const Get: (path: string) => Decorator; /** * Force method to be PUT */ export declare const Put: (path: string) => Decorator; /** * Force method to be DELETE */ export declare const Delete: (path: string) => Decorator; /** * Force method to be OPTIONS */ export declare const Options: (path: string) => Decorator; /** * Force method to be HEAD */ export declare const Head: (path: string) => Decorator; /** * Force method to be PATH */ export declare const Patch: (path: string) => Decorator; /** * Force the request to match the given method * @param method Method to listen for */ export declare function Method(method: string): (path: string) => Decorator;