import type { Logger } from '@teambit/logger';
import type { Request, Response, NextFunction } from 'express';
type ssrRenderProps = {
    root: string;
    port: number;
    title: string;
    /** entry of the ui bundle whose assets this root serves */
    entryName: string;
    logger: Logger;
};
export declare function createSsrMiddleware({ root, port, title, entryName, logger }: ssrRenderProps): Promise<((request: Request, response: Response, next: NextFunction) => Promise<void>) | undefined>;
export {};
