import type { RequestHandler } from 'express'; import type { KeyedRateLimiterConfig, RateLimiterLimits } from './rate-limit'; import type { CorsOptions } from './types'; interface RouteOptions { middlewares?: RequestHandler[]; usesTemplates?: boolean; skipAuth?: boolean; allowBots?: boolean; allowSkipPreviewAuth?: boolean; allowUnauthenticated?: boolean; allowSkipMFA?: boolean; ipRateLimit?: boolean | RateLimiterLimits; keyedRateLimit?: KeyedRateLimiterConfig; apiKeyAuth?: boolean; cors?: Partial | true; } export declare const Get: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Post: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Put: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Patch: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Delete: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Head: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export declare const Options: (path: `/${string}`, options?: RouteOptions) => MethodDecorator; export {};