import type { Context } from "./types"; export type MiddlewareFunction = (ctx: Context) => Promise; export type MiddlewareGroup = { middlewares: MiddlewareFunction[]; paths: string[]; }; export declare const matchPattern: (path: string, pattern: string) => boolean; export declare const executeMiddleware: (middlewares: MiddlewareFunction[], ctx: Context) => Promise;