import 'reflect-metadata'; /** * This function defines a decorator that can be applied to class * methods in order to associate them with a particular HTTP method * (e.g., "GET", "POST", etc.) and path. * * It uses express path-to-regexp to match the path, so it uses express routes. * * * @param method * @param path */ export declare function api(method: string, path: string | RegExp): any;