/** * @license * Copyright Andrey Chalkin (https://github.com/L2jLiga). All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/L2jLiga/fastify-decorators/blob/master/LICENSE */ import { RouteShorthandOptions } from 'fastify'; import { HttpMethods } from '../../interfaces/http-methods.js'; import { RouteConfig } from '../../interfaces/route-config.js'; declare type ParsedRouteConfig = { url: string; options: RouteShorthandOptions; }; export declare function requestDecoratorsFactory(method: HttpMethods): (routeOrConfig?: string | RouteConfig, options?: RouteShorthandOptions) => (target: any, propKey?: string | symbol) => void; export declare function controllerMethodDecoratorsFactory(method: HttpMethods, config: ParsedRouteConfig, { constructor }: any, propKey: string | symbol): void; export {};