import { HTTPParam } from './param'; import { HTTPEndpointConfig } from './../meta/config'; import { HTTPMiddleware } from '../middleware'; import Koa from "koa"; export declare class HTTPEndpoint { name: string; config: HTTPEndpointConfig; params: HTTPParam[]; middlewares: (HTTPMiddleware | ((ctx: Koa.Context, next: any) => Promise))[]; constructor(); }