import type { Tracker } from "@paroicms/internal-server-lib";
import type { PaHttpContext } from "@paroicms/public-server-lib";
import type { SiteContext } from "../../site-context/site-context.types.js";
import { type ParsedPageRoute } from "../page-route/page-route-parser.js";
export type GeneratedDocumentHtml = {
    status: 200;
    html: string;
    dependencyKeys: string[];
    cacheKey: string;
} | {
    status: 404;
} | {
    status: 301;
    url: string;
    dependencyKeys: string[];
};
export declare function generateDocumentHtml(siteContext: SiteContext, httpContext: PaHttpContext, options: {
    parsedRoute: ParsedPageRoute;
    cacheKeyWithQuery: string;
    cacheKeyWithPath: string;
}, tracker: Tracker): Promise<GeneratedDocumentHtml>;
