UNPKG

@communities-webruntime/services

Version:

If you would like to run Lightning Web Runtime without the CLI, we expose some of our programmatic APIs available in Node.js. If you're looking for the CLI documentation [you can find that here](https://www.npmjs.com/package/@communities-webruntime/cli).

31 lines 1.08 kB
import { AttributeSet, ComponentNode, RegionNode } from './template-generator'; interface RegionsInterface { regionList?: RegionNode[]; isThemeLayout: boolean; attributeSet: AttributeSet; isRenderDesignMode: boolean; } declare function regions({ regionList, isThemeLayout, attributeSet, isRenderDesignMode, }: RegionsInterface): string; declare function attributes(cmp: any, attributeSet: any): { html: string; attributes: any; }; declare function buildSlot(slotName: any): string; interface ComponentInterface { cmp: ComponentNode; isThemeLayout: boolean; regionName: string; attributeSet: AttributeSet; isTopLevel: boolean; isRenderDesignMode: boolean; isLastComponent: boolean; } declare function component({ cmp, isThemeLayout, regionName, attributeSet, isTopLevel, isRenderDesignMode, isLastComponent, }: ComponentInterface): { html: string; attributes: { html: string; attributes: AttributeSet; }; }; export { regions, component, attributes, buildSlot }; //# sourceMappingURL=template-utils.d.ts.map