@paroicms/server
Version:
The ParoiCMS server
8 lines (7 loc) • 799 B
TypeScript
import { type RoutingCluster, type RoutingClusterNode } from "@paroicms/public-anywhere-lib";
import { type DropInst } from "../liquidjs-tools/liquidjs-drop.js";
import type { RenderingContext } from "../liquidjs-tools/liquidjs-rendering/rendering-context.js";
import type * as publicPayload from "./rendering-payload.types.js";
export declare function toTpClusterPayload(renderingContext: RenderingContext, language: string, cluster: RoutingCluster): DropInst<publicPayload.TpClusterPayload>;
export declare function toTpRoutingClusterNode(renderingContext: RenderingContext, clusterNode: RoutingClusterNode, language: string): publicPayload.TpRoutingClusterNode;
export declare function getClusterNodeOf(cluster: RoutingClusterNode, routingDocumentNodeId: string): RoutingClusterNode | undefined;