import { IncomingMessage, ServerResponse } from "http";
import Observable from "zen-observable";
export declare const renderPageToHtml: (page: {
    renderReqToHTML: (req: IncomingMessage, res: ServerResponse, renderMode?: true | "export" | "passthrough" | undefined) => PromiseLike<{
        renderOpts: Record<string, any>;
        html: any;
    }> | {
        renderOpts: Record<string, unknown>;
        html: unknown;
    };
}, req: IncomingMessage, res: ServerResponse, renderMode?: true | "export" | "passthrough" | undefined) => Promise<{
    html: string;
    renderOpts: Record<string, any>;
}>;
export declare type RenderResult = Observable<string>;
export declare function mergeResults(results: Array<RenderResult>): RenderResult;
export declare function resultsToString(results: Array<RenderResult>): Promise<string>;
