import { HttpRequest } from "../../http";
import { type FlatViewRoutes } from "./createFlatViewRoutes";
import type { ViewRouterServiceProvider } from "./ViewRouterServiceProvider";
import { ServiceContainer } from "../ServiceContainer";
import type { ComponentTree } from "../../client/types";
export declare class ViewRouterServiceContainer extends ServiceContainer {
    service: ViewRouterServiceProvider;
    static _name: string;
    flatViewRoutes: FlatViewRoutes;
    routeManifest: Record<string, string[]>;
    componentTree: ComponentTree;
    flatComponentTree: string[];
    root: any;
    constructor(service: ViewRouterServiceProvider);
    boot(): void;
    onRequestEnd(req: HttpRequest): Promise<void>;
    private render;
    handleViewRequest(req: Request): Promise<Response | ((params: {
        getStyles: (p: string[]) => Promise<any[]>;
        viewImportMap: any;
        bootstrapModules: string[];
        loaders: string;
        cssManifest: Record<string, string[]>;
        ogMap: Record<string, any>;
    }) => Promise<Response>)>;
}
//# sourceMappingURL=ViewRouterServiceContainer.d.ts.map