@clypra-studio/engine 1.9.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -522,6 +522,137 @@ declare function getTextTemplateControls(input: unknown): TextTemplateArtifact["
522
522
  declare function resolveTemplateFontFamily(family?: string): string;
523
523
  declare function renderTextTemplateToCanvas(ctx: CanvasLike, input: TextTemplateRenderInput): CanonicalRenderResult;
524
524
 
525
+ /**
526
+ * textBubbles.ts
527
+ *
528
+ * Canonical schema contract and layout resolver for Clypra's
529
+ * Text Bubble & Caption Preset System.
530
+ *
531
+ * Invariants:
532
+ * 1. Text Clip is the sole logical entity on the timeline.
533
+ * 2. Bubble is rendered behind the text as a composite drawable.
534
+ * 3. Text and Bubble share all transforms (x, y, scale, rotation, opacity, keyframes).
535
+ * 4. Content bounds define the safe text region inside the artwork so text never clips or overflows.
536
+ */
537
+ type TextBubbleCategory = "all" | "speech" | "paper" | "labels" | "decorative" | "comic" | "cute" | "neon" | "banner";
538
+ type BubbleRenderMode = "svg" | "raster" | "nine-slice" | "procedural";
539
+ interface TextBubblePadding {
540
+ top: number;
541
+ right: number;
542
+ bottom: number;
543
+ left: number;
544
+ }
545
+ interface TextBubbleLayout {
546
+ /** Normalized safe content coordinates within the artwork [0..1] */
547
+ contentBounds: {
548
+ x: number;
549
+ y: number;
550
+ width: number;
551
+ height: number;
552
+ };
553
+ /** Minimum outer dimensions in logical editor units */
554
+ minWidth: number;
555
+ minHeight: number;
556
+ /** Whether the bubble artwork must preserve aspect ratio */
557
+ preserveAspectRatio: boolean;
558
+ /** Optional explicit padding around measured text */
559
+ padding?: TextBubblePadding;
560
+ /** Sizing mode: auto-fit grows with text; fixed wraps text into predefined box */
561
+ sizingMode?: "auto-fit" | "fixed";
562
+ }
563
+ interface TextBubblePreset {
564
+ schemaVersion: 1;
565
+ id: string;
566
+ version: number;
567
+ name: string;
568
+ category: TextBubbleCategory;
569
+ tags: string[];
570
+ isReset?: boolean;
571
+ asset?: {
572
+ url?: string;
573
+ format: "svg" | "png" | "webp" | "procedural";
574
+ width: number;
575
+ height: number;
576
+ sha256?: string;
577
+ renderMode: BubbleRenderMode;
578
+ };
579
+ layout: TextBubbleLayout;
580
+ defaultTextStyle?: {
581
+ fontFamily?: string;
582
+ fontSize?: number;
583
+ fontWeight?: string | number;
584
+ fontStyle?: "normal" | "italic";
585
+ textDecoration?: "none" | "underline" | "line-through";
586
+ color?: string;
587
+ };
588
+ thumbnailUrl?: string;
589
+ sampleText?: string;
590
+ renderPreview?: (active: boolean) => unknown;
591
+ }
592
+ /**
593
+ * Resolves the outer bubble bounds and text position given measured text bounds
594
+ * and preset layout rules:
595
+ *
596
+ * W_outer = max(W_text + P_left + P_right, minWidth)
597
+ * H_outer = max(H_text + P_top + P_bottom, minHeight)
598
+ */
599
+ declare function resolveBubbleLayout(textWidth: number, textHeight: number, layout: TextBubbleLayout): {
600
+ outerWidth: number;
601
+ outerHeight: number;
602
+ textOffsetX: number;
603
+ textOffsetY: number;
604
+ contentWidth: number;
605
+ contentHeight: number;
606
+ };
607
+
608
+ /**
609
+ * bubbleRenderer.ts
610
+ *
611
+ * Dedicated Canvas2D Bubble Renderer for Clypra's Text Appearance System.
612
+ *
613
+ * Renders decorative background shapes (torn paper, speech bubbles,
614
+ * thought clouds, ribbons, comic bursts, receipts) behind live editable text.
615
+ *
616
+ * Invariants:
617
+ * - Deterministic output based on preset ID and dimensions.
618
+ * - Always restores canvas state (save/restore).
619
+ * - Operates in unscaled layout coordinates matching text composition.
620
+ */
621
+ interface BubbleRenderOptions {
622
+ color?: string;
623
+ opacity?: number;
624
+ borderRadius?: number;
625
+ }
626
+ /**
627
+ * Procedural pseudo-random helper for deterministic edge irregularities
628
+ */
629
+ declare function pseudoNoise(seed: number): number;
630
+ /**
631
+ * Draws a realistic torn paper strip with jagged top/bottom edges,
632
+ * paper texture, and drop shadow. (Matches CapCut reference)
633
+ */
634
+ declare function drawTornPaper(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, shadow?: boolean): void;
635
+ /**
636
+ * Draws a smooth speech bubble balloon with a curved tail.
637
+ */
638
+ declare function drawSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number, radius?: number): void;
639
+ /**
640
+ * Draws a fluffy thought cloud bubble.
641
+ */
642
+ declare function drawThoughtCloud(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
643
+ /**
644
+ * Draws an energetic comic starburst explosion.
645
+ */
646
+ declare function drawComicBurst(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
647
+ /**
648
+ * Draws a folded ribbon / banner with chevron notch ends.
649
+ */
650
+ declare function drawRibbonBanner(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
651
+ /**
652
+ * Main dispatcher: renders a bubble decoration based on its presetId.
653
+ */
654
+ declare function renderBubbleBackground(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, presetId: string, x: number, y: number, width: number, height: number, options?: BubbleRenderOptions): boolean;
655
+
525
656
  type CanonicalRenderInput = {
526
657
  capability: "text-template";
527
658
  artifact: unknown;
@@ -534,4 +665,4 @@ type CanonicalRenderInput = {
534
665
  /** Extensible capability registry for all package-owned render semantics. */
535
666
  declare function renderCanonicalToCanvas(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, input: CanonicalRenderInput): CanonicalRenderResult;
536
667
 
537
- export { type TemplateTimelineMarker as $, type TemplateControlConstraints as A, type TemplateControlOption as B, type CompiledTextTemplate as C, type TemplateControlType as D, type EvaluatedTemplateScene as E, type TemplateDependencyManifest as F, type TemplateDurationPolicy as G, type TemplateFontRef as H, type TemplateImageNode as I, type TemplateLayerV2 as J, type TemplateMetadata as K, type TemplateNode as L, type TemplateNodeAnimation as M, type TemplatePreviewArtifacts as N, type TemplatePropertyKeyframes as O, type PublishedRevision as P, type TemplateProtectedRegion as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplateRenderTarget as U, type TemplateRevision as V, type TemplateShapeNode as W, type TemplateShapeNodeStyle as X, type TemplateStyleRef as Y, type TemplateTextNode as Z, type TemplateTextNodeStyle as _, type ResolveTemplateControlValuesOptions as a, type TemplateTiming as a0, type TextEffectRenderInput as a1, type TextTemplateCanvas as a2, type TextTemplateClip as a3, type TextTemplateDocument as a4, type TextTemplateDocumentV2 as a5, type TextTemplateFlexLayout as a6, type TextTemplateRenderInput as a7, canonicalContentHash as a8, canonicalizeSceneDocument as a9, evaluateTextEffect as aa, evaluateTextTemplate as ab, getRenderCapabilities as ac, getTextTemplateControls as ad, normalizeTextEffect as ae, normalizeTextTemplate as af, renderCanonicalToCanvas as ag, renderTextEffectToCanvas as ah, renderTextTemplateToCanvas as ai, resolveTemplateFontFamily as aj, resolveTextTemplateArtifact as ak, type TemplateCustomization as b, type TemplateRenderContext as c, CANONICAL_RENDERER_VERSION as d, CANONICAL_SCHEMA_VERSION as e, type CanonicalRenderContext as f, type CanonicalRenderInput as g, type CanonicalRenderResult as h, type CapabilityReport as i, type CapabilityStatus as j, type CompiledTemplateRenderLayer as k, type RenderCapability as l, type RenderDiagnostic as m, type RenderDiagnostics as n, type RenderEnvironment as o, type RenderIdentity as p, type RenderTarget as q, TEXT_TEMPLATE_KIND as r, TEXT_TEMPLATE_RENDERER_VERSION as s, TEXT_TEMPLATE_SCHEMA_VERSION as t, type TemplateAssetRef as u, type TemplateBackgroundPanel as v, type TemplateCapabilityReport as w, type TemplateContainerNode as x, type TemplateContainerNodeStyle as y, type TemplateControl as z };
668
+ export { type TemplateTextNode as $, type TemplateControl as A, type BubbleRenderMode as B, type CompiledTextTemplate as C, type TemplateControlConstraints as D, type EvaluatedTemplateScene as E, type TemplateControlOption as F, type TemplateControlType as G, type TemplateDependencyManifest as H, type TemplateDurationPolicy as I, type TemplateFontRef as J, type TemplateImageNode as K, type TemplateLayerV2 as L, type TemplateMetadata as M, type TemplateNode as N, type TemplateNodeAnimation as O, type PublishedRevision as P, type TemplatePreviewArtifacts as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplatePropertyKeyframes as U, type TemplateProtectedRegion as V, type TemplateRenderTarget as W, type TemplateRevision as X, type TemplateShapeNode as Y, type TemplateShapeNodeStyle as Z, type TemplateStyleRef as _, type ResolveTemplateControlValuesOptions as a, type TemplateTextNodeStyle as a0, type TemplateTimelineMarker as a1, type TemplateTiming as a2, type TextBubbleCategory as a3, type TextBubbleLayout as a4, type TextBubblePadding as a5, type TextBubblePreset as a6, type TextEffectRenderInput as a7, type TextTemplateCanvas as a8, type TextTemplateClip as a9, type TextTemplateDocument as aa, type TextTemplateDocumentV2 as ab, type TextTemplateFlexLayout as ac, type TextTemplateRenderInput as ad, canonicalContentHash as ae, canonicalizeSceneDocument as af, drawComicBurst as ag, drawRibbonBanner as ah, drawSpeechBubble as ai, drawThoughtCloud as aj, drawTornPaper as ak, evaluateTextEffect as al, evaluateTextTemplate as am, getRenderCapabilities as an, getTextTemplateControls as ao, normalizeTextEffect as ap, normalizeTextTemplate as aq, pseudoNoise as ar, renderBubbleBackground as as, renderCanonicalToCanvas as at, renderTextEffectToCanvas as au, renderTextTemplateToCanvas as av, resolveBubbleLayout as aw, resolveTemplateFontFamily as ax, resolveTextTemplateArtifact as ay, type TemplateCustomization as b, type TemplateRenderContext as c, type BubbleRenderOptions as d, CANONICAL_RENDERER_VERSION as e, CANONICAL_SCHEMA_VERSION as f, type CanonicalRenderContext as g, type CanonicalRenderInput as h, type CanonicalRenderResult as i, type CapabilityReport as j, type CapabilityStatus as k, type CompiledTemplateRenderLayer as l, type RenderCapability as m, type RenderDiagnostic as n, type RenderDiagnostics as o, type RenderEnvironment as p, type RenderIdentity as q, type RenderTarget as r, TEXT_TEMPLATE_KIND as s, TEXT_TEMPLATE_RENDERER_VERSION as t, TEXT_TEMPLATE_SCHEMA_VERSION as u, type TemplateAssetRef as v, type TemplateBackgroundPanel as w, type TemplateCapabilityReport as x, type TemplateContainerNode as y, type TemplateContainerNodeStyle as z };
@@ -522,6 +522,137 @@ declare function getTextTemplateControls(input: unknown): TextTemplateArtifact["
522
522
  declare function resolveTemplateFontFamily(family?: string): string;
523
523
  declare function renderTextTemplateToCanvas(ctx: CanvasLike, input: TextTemplateRenderInput): CanonicalRenderResult;
524
524
 
525
+ /**
526
+ * textBubbles.ts
527
+ *
528
+ * Canonical schema contract and layout resolver for Clypra's
529
+ * Text Bubble & Caption Preset System.
530
+ *
531
+ * Invariants:
532
+ * 1. Text Clip is the sole logical entity on the timeline.
533
+ * 2. Bubble is rendered behind the text as a composite drawable.
534
+ * 3. Text and Bubble share all transforms (x, y, scale, rotation, opacity, keyframes).
535
+ * 4. Content bounds define the safe text region inside the artwork so text never clips or overflows.
536
+ */
537
+ type TextBubbleCategory = "all" | "speech" | "paper" | "labels" | "decorative" | "comic" | "cute" | "neon" | "banner";
538
+ type BubbleRenderMode = "svg" | "raster" | "nine-slice" | "procedural";
539
+ interface TextBubblePadding {
540
+ top: number;
541
+ right: number;
542
+ bottom: number;
543
+ left: number;
544
+ }
545
+ interface TextBubbleLayout {
546
+ /** Normalized safe content coordinates within the artwork [0..1] */
547
+ contentBounds: {
548
+ x: number;
549
+ y: number;
550
+ width: number;
551
+ height: number;
552
+ };
553
+ /** Minimum outer dimensions in logical editor units */
554
+ minWidth: number;
555
+ minHeight: number;
556
+ /** Whether the bubble artwork must preserve aspect ratio */
557
+ preserveAspectRatio: boolean;
558
+ /** Optional explicit padding around measured text */
559
+ padding?: TextBubblePadding;
560
+ /** Sizing mode: auto-fit grows with text; fixed wraps text into predefined box */
561
+ sizingMode?: "auto-fit" | "fixed";
562
+ }
563
+ interface TextBubblePreset {
564
+ schemaVersion: 1;
565
+ id: string;
566
+ version: number;
567
+ name: string;
568
+ category: TextBubbleCategory;
569
+ tags: string[];
570
+ isReset?: boolean;
571
+ asset?: {
572
+ url?: string;
573
+ format: "svg" | "png" | "webp" | "procedural";
574
+ width: number;
575
+ height: number;
576
+ sha256?: string;
577
+ renderMode: BubbleRenderMode;
578
+ };
579
+ layout: TextBubbleLayout;
580
+ defaultTextStyle?: {
581
+ fontFamily?: string;
582
+ fontSize?: number;
583
+ fontWeight?: string | number;
584
+ fontStyle?: "normal" | "italic";
585
+ textDecoration?: "none" | "underline" | "line-through";
586
+ color?: string;
587
+ };
588
+ thumbnailUrl?: string;
589
+ sampleText?: string;
590
+ renderPreview?: (active: boolean) => unknown;
591
+ }
592
+ /**
593
+ * Resolves the outer bubble bounds and text position given measured text bounds
594
+ * and preset layout rules:
595
+ *
596
+ * W_outer = max(W_text + P_left + P_right, minWidth)
597
+ * H_outer = max(H_text + P_top + P_bottom, minHeight)
598
+ */
599
+ declare function resolveBubbleLayout(textWidth: number, textHeight: number, layout: TextBubbleLayout): {
600
+ outerWidth: number;
601
+ outerHeight: number;
602
+ textOffsetX: number;
603
+ textOffsetY: number;
604
+ contentWidth: number;
605
+ contentHeight: number;
606
+ };
607
+
608
+ /**
609
+ * bubbleRenderer.ts
610
+ *
611
+ * Dedicated Canvas2D Bubble Renderer for Clypra's Text Appearance System.
612
+ *
613
+ * Renders decorative background shapes (torn paper, speech bubbles,
614
+ * thought clouds, ribbons, comic bursts, receipts) behind live editable text.
615
+ *
616
+ * Invariants:
617
+ * - Deterministic output based on preset ID and dimensions.
618
+ * - Always restores canvas state (save/restore).
619
+ * - Operates in unscaled layout coordinates matching text composition.
620
+ */
621
+ interface BubbleRenderOptions {
622
+ color?: string;
623
+ opacity?: number;
624
+ borderRadius?: number;
625
+ }
626
+ /**
627
+ * Procedural pseudo-random helper for deterministic edge irregularities
628
+ */
629
+ declare function pseudoNoise(seed: number): number;
630
+ /**
631
+ * Draws a realistic torn paper strip with jagged top/bottom edges,
632
+ * paper texture, and drop shadow. (Matches CapCut reference)
633
+ */
634
+ declare function drawTornPaper(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, shadow?: boolean): void;
635
+ /**
636
+ * Draws a smooth speech bubble balloon with a curved tail.
637
+ */
638
+ declare function drawSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number, radius?: number): void;
639
+ /**
640
+ * Draws a fluffy thought cloud bubble.
641
+ */
642
+ declare function drawThoughtCloud(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
643
+ /**
644
+ * Draws an energetic comic starburst explosion.
645
+ */
646
+ declare function drawComicBurst(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
647
+ /**
648
+ * Draws a folded ribbon / banner with chevron notch ends.
649
+ */
650
+ declare function drawRibbonBanner(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
651
+ /**
652
+ * Main dispatcher: renders a bubble decoration based on its presetId.
653
+ */
654
+ declare function renderBubbleBackground(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, presetId: string, x: number, y: number, width: number, height: number, options?: BubbleRenderOptions): boolean;
655
+
525
656
  type CanonicalRenderInput = {
526
657
  capability: "text-template";
527
658
  artifact: unknown;
@@ -534,4 +665,4 @@ type CanonicalRenderInput = {
534
665
  /** Extensible capability registry for all package-owned render semantics. */
535
666
  declare function renderCanonicalToCanvas(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, input: CanonicalRenderInput): CanonicalRenderResult;
536
667
 
537
- export { type TemplateTimelineMarker as $, type TemplateControlConstraints as A, type TemplateControlOption as B, type CompiledTextTemplate as C, type TemplateControlType as D, type EvaluatedTemplateScene as E, type TemplateDependencyManifest as F, type TemplateDurationPolicy as G, type TemplateFontRef as H, type TemplateImageNode as I, type TemplateLayerV2 as J, type TemplateMetadata as K, type TemplateNode as L, type TemplateNodeAnimation as M, type TemplatePreviewArtifacts as N, type TemplatePropertyKeyframes as O, type PublishedRevision as P, type TemplateProtectedRegion as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplateRenderTarget as U, type TemplateRevision as V, type TemplateShapeNode as W, type TemplateShapeNodeStyle as X, type TemplateStyleRef as Y, type TemplateTextNode as Z, type TemplateTextNodeStyle as _, type ResolveTemplateControlValuesOptions as a, type TemplateTiming as a0, type TextEffectRenderInput as a1, type TextTemplateCanvas as a2, type TextTemplateClip as a3, type TextTemplateDocument as a4, type TextTemplateDocumentV2 as a5, type TextTemplateFlexLayout as a6, type TextTemplateRenderInput as a7, canonicalContentHash as a8, canonicalizeSceneDocument as a9, evaluateTextEffect as aa, evaluateTextTemplate as ab, getRenderCapabilities as ac, getTextTemplateControls as ad, normalizeTextEffect as ae, normalizeTextTemplate as af, renderCanonicalToCanvas as ag, renderTextEffectToCanvas as ah, renderTextTemplateToCanvas as ai, resolveTemplateFontFamily as aj, resolveTextTemplateArtifact as ak, type TemplateCustomization as b, type TemplateRenderContext as c, CANONICAL_RENDERER_VERSION as d, CANONICAL_SCHEMA_VERSION as e, type CanonicalRenderContext as f, type CanonicalRenderInput as g, type CanonicalRenderResult as h, type CapabilityReport as i, type CapabilityStatus as j, type CompiledTemplateRenderLayer as k, type RenderCapability as l, type RenderDiagnostic as m, type RenderDiagnostics as n, type RenderEnvironment as o, type RenderIdentity as p, type RenderTarget as q, TEXT_TEMPLATE_KIND as r, TEXT_TEMPLATE_RENDERER_VERSION as s, TEXT_TEMPLATE_SCHEMA_VERSION as t, type TemplateAssetRef as u, type TemplateBackgroundPanel as v, type TemplateCapabilityReport as w, type TemplateContainerNode as x, type TemplateContainerNodeStyle as y, type TemplateControl as z };
668
+ export { type TemplateTextNode as $, type TemplateControl as A, type BubbleRenderMode as B, type CompiledTextTemplate as C, type TemplateControlConstraints as D, type EvaluatedTemplateScene as E, type TemplateControlOption as F, type TemplateControlType as G, type TemplateDependencyManifest as H, type TemplateDurationPolicy as I, type TemplateFontRef as J, type TemplateImageNode as K, type TemplateLayerV2 as L, type TemplateMetadata as M, type TemplateNode as N, type TemplateNodeAnimation as O, type PublishedRevision as P, type TemplatePreviewArtifacts as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplatePropertyKeyframes as U, type TemplateProtectedRegion as V, type TemplateRenderTarget as W, type TemplateRevision as X, type TemplateShapeNode as Y, type TemplateShapeNodeStyle as Z, type TemplateStyleRef as _, type ResolveTemplateControlValuesOptions as a, type TemplateTextNodeStyle as a0, type TemplateTimelineMarker as a1, type TemplateTiming as a2, type TextBubbleCategory as a3, type TextBubbleLayout as a4, type TextBubblePadding as a5, type TextBubblePreset as a6, type TextEffectRenderInput as a7, type TextTemplateCanvas as a8, type TextTemplateClip as a9, type TextTemplateDocument as aa, type TextTemplateDocumentV2 as ab, type TextTemplateFlexLayout as ac, type TextTemplateRenderInput as ad, canonicalContentHash as ae, canonicalizeSceneDocument as af, drawComicBurst as ag, drawRibbonBanner as ah, drawSpeechBubble as ai, drawThoughtCloud as aj, drawTornPaper as ak, evaluateTextEffect as al, evaluateTextTemplate as am, getRenderCapabilities as an, getTextTemplateControls as ao, normalizeTextEffect as ap, normalizeTextTemplate as aq, pseudoNoise as ar, renderBubbleBackground as as, renderCanonicalToCanvas as at, renderTextEffectToCanvas as au, renderTextTemplateToCanvas as av, resolveBubbleLayout as aw, resolveTemplateFontFamily as ax, resolveTextTemplateArtifact as ay, type TemplateCustomization as b, type TemplateRenderContext as c, type BubbleRenderOptions as d, CANONICAL_RENDERER_VERSION as e, CANONICAL_SCHEMA_VERSION as f, type CanonicalRenderContext as g, type CanonicalRenderInput as h, type CanonicalRenderResult as i, type CapabilityReport as j, type CapabilityStatus as k, type CompiledTemplateRenderLayer as l, type RenderCapability as m, type RenderDiagnostic as n, type RenderDiagnostics as o, type RenderEnvironment as p, type RenderIdentity as q, type RenderTarget as r, TEXT_TEMPLATE_KIND as s, TEXT_TEMPLATE_RENDERER_VERSION as t, TEXT_TEMPLATE_SCHEMA_VERSION as u, type TemplateAssetRef as v, type TemplateBackgroundPanel as w, type TemplateCapabilityReport as x, type TemplateContainerNode as y, type TemplateContainerNodeStyle as z };