import type { ComponentInstance, MiddlewareHandler, RewritePayload, RouteData, SSRResult } from '../@types/astro.js';
import { type HeadElements, Pipeline } from '../core/base-pipeline.js';
export declare class ContainerPipeline extends Pipeline {
    #private;
    resolvedMiddleware: MiddlewareHandler | undefined;
    getMiddleware(): Promise<MiddlewareHandler>;
    static create({ logger, manifest, renderers, resolve, serverLike, streaming, }: Pick<ContainerPipeline, 'logger' | 'manifest' | 'renderers' | 'resolve' | 'serverLike' | 'streaming'>): ContainerPipeline;
    componentMetadata(_routeData: RouteData): Promise<SSRResult['componentMetadata']> | void;
    headElements(routeData: RouteData): Promise<HeadElements> | HeadElements;
    tryRewrite(payload: RewritePayload, request: Request): Promise<[RouteData, ComponentInstance, URL]>;
    insertRoute(route: RouteData, componentInstance: ComponentInstance): void;
    getComponentByRoute(_routeData: RouteData): Promise<ComponentInstance>;
}
