import { StaticRouterContext } from "react-router";
import { GenerateDocument } from "./generateDocument";
/**
 * generate html document
 * @param template
 * @param context
 * @param App
 * @param injectedScripts
 * @param injectedStyles
 */
export declare const generateDocument: GenerateDocument;
interface RenderOptions {
    url?: string;
    path?: string;
    query?: Record<string, string>;
    cachedState?: Record<PropertyKey, unknown>;
    cachedLocation?: Record<PropertyKey, unknown>;
    shared?: Record<PropertyKey, unknown>;
}
export declare function render(options: RenderOptions): Promise<{
    document: string;
    staticRouterContext: StaticRouterContext;
}>;
export {};
