import type { Node } from "domhandler";
type Serialized = ReturnType<typeof serialize>;
export type DocManifest = {
    "head-prepend"?: Serialized;
    head?: Serialized;
    "body-prepend"?: Serialized;
    body?: Serialized;
};
declare enum InjectType {
    AssetAttrs = 0,
    PublicPath = 1
}
export declare function generatManifest(basePath: string, html: string): DocManifest;
export declare function generateHTML(code: string): string;
declare function serialize(basePath: string, nodes: Node[], parts?: (string | InjectType)[]): (string | InjectType)[];
export {};
