import koa from "koa"; import { Plugin } from "../../handlers"; import { MethodDecorator } from "../types"; export declare type HttpMethod = "get" | "post" | "put" | "patch" | "delete"; export interface PluginRegisteredMatchmakerEndpoint { method: HttpMethod; route: string; body: (ctx: koa.Context) => any; } export declare function getPluginMatchmakerEndpoints(target: typeof Plugin | Plugin): PluginRegisteredMatchmakerEndpoint[]; export declare class MatchmakerEndpoint { private constructor(); static Get(route: string): MethodDecorator<(ctx: koa.Context) => any>; static Post(route: string): MethodDecorator<(ctx: koa.Context) => any>; static Put(route: string): MethodDecorator<(ctx: koa.Context) => any>; static Patch(route: string): MethodDecorator<(ctx: koa.Context) => any>; static Delete(route: string): MethodDecorator<(ctx: koa.Context) => any>; }