import { Config, type HTTPVersion, type HTTPMethod } from 'find-my-way'; import { Middleware } from 'koa'; export { HTTPVersion, HTTPMethod, }; export interface Instance { on(method: HTTPMethod | HTTPMethod[], path: string, ...middlewares: Middleware[]): Instance; off(method: HTTPMethod | HTTPMethod[], path: string): Instance; prettyPrint(): string; routes(): Middleware; } declare const _default: (options: Config) => Instance; export default _default;