import type { BaseNextRequest } from '../../base-http';
import type { ModuleLoader } from '../helpers/module-loader/module-loader';
import type { AppRouteRouteHandlerContext } from '../route-modules/app-route/module';
import type { AppRouteRouteMatch } from '../route-matches/app-route-route-match';
/**
 * RouteHandlerManager is a manager for route handlers.
 */
export type RouteHandlerManagerContext = AppRouteRouteHandlerContext;
export declare class RouteHandlerManager {
    private readonly moduleLoader;
    constructor(moduleLoader?: ModuleLoader);
    handle(match: AppRouteRouteMatch, req: BaseNextRequest, context: RouteHandlerManagerContext): Promise<Response>;
}
