import type { EndpointDecorator } from './interfaces/index.js'; import type { HttpMethods } from '../interfaces/index.js'; export declare function methodFactory(method: keyof HttpMethods): (path?: string) => EndpointDecorator;