import { HttpRequest } from "../../http";
import { ServiceContainer } from "../ServiceContainer";
import type { ApiRouterServiceProvider } from "./ApiRouterServiceProvider";
import { type FlatApiRoutes } from "./createFlatApiRoutes";
export declare class ApiRouterServiceContainer extends ServiceContainer {
    service: ApiRouterServiceProvider;
    static _name: string;
    flatRoutes: FlatApiRoutes;
    constructor(service: ApiRouterServiceProvider);
    getRouteHandlerAndParams(req: Request): {
        params: Record<string, any>;
        path: string;
    };
    runRouteMiddleware(path: string, httpRequest: HttpRequest): Promise<Response>;
    getRouteData(path: string): Promise<any>;
    handleApiRequest(req: Request): Promise<Response>;
}
//# sourceMappingURL=ApiRouterServiceContainer.d.ts.map