@clypra-studio/engine 1.10.1 → 1.10.2

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,90 @@ 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
+ /** Versioned, editable source of truth for authored text-bubble assets. */
526
+ type BubbleTailSide = "bottom" | "top" | "left" | "right";
527
+ interface ParametricBubbleDefinition {
528
+ schemaVersion: 1;
529
+ type: "clypra.textBubble";
530
+ coordinateSpace: "normalized";
531
+ geometry: {
532
+ kind: "parametric-path";
533
+ body: {
534
+ cornerRadius: number;
535
+ };
536
+ tail: {
537
+ enabled: boolean;
538
+ side: BubbleTailSide;
539
+ anchor: number;
540
+ width: number;
541
+ depth: number;
542
+ curvature: number;
543
+ };
544
+ };
545
+ layers: {
546
+ fill: {
547
+ color: string;
548
+ opacity: number;
549
+ };
550
+ outline: {
551
+ color: string;
552
+ width: number;
553
+ roughness: number;
554
+ seed: number;
555
+ };
556
+ accent?: {
557
+ color: string;
558
+ opacity: number;
559
+ texture: "none" | "hatch" | "chalk";
560
+ };
561
+ };
562
+ textLayout: {
563
+ padding: [number, number, number, number];
564
+ alignment: "left" | "center" | "right";
565
+ overflow: "grow" | "shrink-with-minimum" | "error";
566
+ };
567
+ }
568
+ type BubblePathCommand = {
569
+ kind: "move" | "line";
570
+ to: [number, number];
571
+ } | {
572
+ kind: "quadratic";
573
+ control: [number, number];
574
+ to: [number, number];
575
+ } | {
576
+ kind: "cubic";
577
+ control1: [number, number];
578
+ control2: [number, number];
579
+ to: [number, number];
580
+ } | {
581
+ kind: "close";
582
+ };
583
+ /** A portable authored silhouette; all coordinates stay normalized for export parity. */
584
+ interface FreeformBubbleDefinition {
585
+ schemaVersion: 1;
586
+ type: "clypra.textBubble";
587
+ coordinateSpace: "normalized";
588
+ geometry: {
589
+ kind: "freeform-path";
590
+ closed: true;
591
+ commands: BubblePathCommand[];
592
+ };
593
+ layers: ParametricBubbleDefinition["layers"];
594
+ textLayout: ParametricBubbleDefinition["textLayout"];
595
+ }
596
+ type BubbleAssetDefinition = ParametricBubbleDefinition | FreeformBubbleDefinition;
597
+ declare const createBubbleAssetDefinition: () => ParametricBubbleDefinition;
598
+ /** Creates an editable starting silhouette, not a flattened preview image. */
599
+ declare const createFreeformBubbleAssetDefinition: () => FreeformBubbleDefinition;
600
+ /** Compiles normalized parametric geometry to a stable SVG path. */
601
+ declare function compileBubblePath(definition: BubbleAssetDefinition): string;
602
+ /** Produces a portable SVG artifact from the canonical editable definition. */
603
+ declare function compileBubbleSvg(definition: BubbleAssetDefinition, width?: number, height?: number): string;
604
+ type BubbleCanvas = CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D;
605
+ /** Renders the editable definition directly, avoiding a separate Studio-only drawing model. */
606
+ declare function renderBubbleAssetDefinition(ctx: BubbleCanvas, definition: BubbleAssetDefinition, x: number, y: number, width: number, height: number): void;
607
+ declare function validateBubbleAssetDefinition(definition: BubbleAssetDefinition): string[];
608
+
525
609
  /**
526
610
  * textBubbles.ts
527
611
  *
@@ -536,6 +620,25 @@ declare function renderTextTemplateToCanvas(ctx: CanvasLike, input: TextTemplate
536
620
  */
537
621
  type TextBubbleCategory = "all" | "speech" | "paper" | "labels" | "decorative" | "comic" | "cute" | "neon" | "banner";
538
622
  type BubbleRenderMode = "svg" | "raster" | "nine-slice" | "procedural";
623
+ /** Geometric families exposed by the Studio bubble designer. */
624
+ type BubbleShape = "rounded" | "speech" | "cloud" | "comic" | "paper" | "ribbon" | "chalk";
625
+ type BubbleTexture = "none" | "chalk" | "hatch" | "paper";
626
+ type BubbleTailPosition = "bottom-left" | "bottom-center" | "bottom-right";
627
+ /**
628
+ * Portable procedural art direction. This stays with a preset JSON file so
629
+ * a Studio-authored bubble can be rendered by any consumer of the engine.
630
+ */
631
+ interface BubbleAppearance {
632
+ shape: BubbleShape;
633
+ fillColor: string;
634
+ fillOpacity: number;
635
+ strokeColor: string;
636
+ strokeWidth: number;
637
+ cornerRadius: number;
638
+ tailPosition: BubbleTailPosition;
639
+ tailSize: number;
640
+ texture: BubbleTexture;
641
+ }
539
642
  interface TextBubblePadding {
540
643
  top: number;
541
644
  right: number;
@@ -576,6 +679,10 @@ interface TextBubblePreset {
576
679
  sha256?: string;
577
680
  renderMode: BubbleRenderMode;
578
681
  };
682
+ /** Optional portable design controls for procedural custom bubbles. */
683
+ appearance?: BubbleAppearance;
684
+ /** Editable vector asset source; compiled previews are derived from this. */
685
+ definition?: BubbleAssetDefinition;
579
686
  layout: TextBubbleLayout;
580
687
  defaultTextStyle?: {
581
688
  fontFamily?: string;
@@ -636,6 +743,14 @@ declare function drawTornPaper(ctx: CanvasRenderingContext2D | OffscreenCanvasRe
636
743
  * Draws a smooth speech bubble balloon with a curved tail.
637
744
  */
638
745
  declare function drawSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number, radius?: number): void;
746
+ /** Renders a complete serialized preset, including Studio-authored appearance. */
747
+ declare function renderBubblePresetBackground(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, preset: Pick<TextBubblePreset, "id" | "appearance">, x: number, y: number, width: number, height: number): boolean;
748
+ /**
749
+ * Draws a hand-drawn chalk dialogue bubble: a translucent rose balloon with a
750
+ * rough white contour and a lime/yellow cross-hatched tail. The artwork is
751
+ * deterministic so it can be rendered identically in Studio and the editor.
752
+ */
753
+ declare function drawChalkSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number): void;
639
754
  /**
640
755
  * Draws a fluffy thought cloud bubble.
641
756
  */
@@ -665,4 +780,4 @@ type CanonicalRenderInput = {
665
780
  /** Extensible capability registry for all package-owned render semantics. */
666
781
  declare function renderCanonicalToCanvas(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, input: CanonicalRenderInput): CanonicalRenderResult;
667
782
 
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 };
783
+ export { type TemplateNodeAnimation as $, TEXT_TEMPLATE_KIND as A, type BubbleAppearance as B, type CompiledTextTemplate as C, TEXT_TEMPLATE_RENDERER_VERSION as D, type EvaluatedTemplateScene as E, type FreeformBubbleDefinition as F, TEXT_TEMPLATE_SCHEMA_VERSION as G, type TemplateAssetRef as H, type TemplateBackgroundPanel as I, type TemplateCapabilityReport as J, type TemplateContainerNode as K, type TemplateContainerNodeStyle as L, type TemplateControl as M, type TemplateControlConstraints as N, type TemplateControlOption as O, type ParametricBubbleDefinition as P, type TemplateControlType as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplateDependencyManifest as U, type TemplateDurationPolicy as V, type TemplateFontRef as W, type TemplateImageNode as X, type TemplateLayerV2 as Y, type TemplateMetadata as Z, type TemplateNode as _, type ResolveTemplateControlValuesOptions as a, type TemplatePreviewArtifacts as a0, type TemplatePropertyKeyframes as a1, type TemplateProtectedRegion as a2, type TemplateRenderTarget as a3, type TemplateRevision as a4, type TemplateShapeNode as a5, type TemplateShapeNodeStyle as a6, type TemplateStyleRef as a7, type TemplateTextNode as a8, type TemplateTextNodeStyle as a9, evaluateTextTemplate as aA, getRenderCapabilities as aB, getTextTemplateControls as aC, normalizeTextEffect as aD, normalizeTextTemplate as aE, pseudoNoise as aF, renderBubbleAssetDefinition as aG, renderBubbleBackground as aH, renderBubblePresetBackground as aI, renderCanonicalToCanvas as aJ, renderTextEffectToCanvas as aK, renderTextTemplateToCanvas as aL, resolveBubbleLayout as aM, resolveTemplateFontFamily as aN, resolveTextTemplateArtifact as aO, validateBubbleAssetDefinition as aP, type TemplateTimelineMarker as aa, type TemplateTiming as ab, type TextBubbleCategory as ac, type TextBubbleLayout as ad, type TextBubblePadding as ae, type TextBubblePreset as af, type TextEffectRenderInput as ag, type TextTemplateCanvas as ah, type TextTemplateClip as ai, type TextTemplateDocument as aj, type TextTemplateDocumentV2 as ak, type TextTemplateFlexLayout as al, type TextTemplateRenderInput as am, canonicalContentHash as an, canonicalizeSceneDocument as ao, compileBubblePath as ap, compileBubbleSvg as aq, createBubbleAssetDefinition as ar, createFreeformBubbleAssetDefinition as as, drawChalkSpeechBubble as at, drawComicBurst as au, drawRibbonBanner as av, drawSpeechBubble as aw, drawThoughtCloud as ax, drawTornPaper as ay, evaluateTextEffect as az, type TemplateCustomization as b, type TemplateRenderContext as c, type BubbleAssetDefinition as d, type BubblePathCommand as e, type BubbleRenderMode as f, type BubbleRenderOptions as g, type BubbleShape as h, type BubbleTailPosition as i, type BubbleTailSide as j, type BubbleTexture as k, CANONICAL_RENDERER_VERSION as l, CANONICAL_SCHEMA_VERSION as m, type CanonicalRenderContext as n, type CanonicalRenderInput as o, type CanonicalRenderResult as p, type CapabilityReport as q, type CapabilityStatus as r, type CompiledTemplateRenderLayer as s, type PublishedRevision as t, type RenderCapability as u, type RenderDiagnostic as v, type RenderDiagnostics as w, type RenderEnvironment as x, type RenderIdentity as y, type RenderTarget as z };
@@ -522,6 +522,90 @@ 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
+ /** Versioned, editable source of truth for authored text-bubble assets. */
526
+ type BubbleTailSide = "bottom" | "top" | "left" | "right";
527
+ interface ParametricBubbleDefinition {
528
+ schemaVersion: 1;
529
+ type: "clypra.textBubble";
530
+ coordinateSpace: "normalized";
531
+ geometry: {
532
+ kind: "parametric-path";
533
+ body: {
534
+ cornerRadius: number;
535
+ };
536
+ tail: {
537
+ enabled: boolean;
538
+ side: BubbleTailSide;
539
+ anchor: number;
540
+ width: number;
541
+ depth: number;
542
+ curvature: number;
543
+ };
544
+ };
545
+ layers: {
546
+ fill: {
547
+ color: string;
548
+ opacity: number;
549
+ };
550
+ outline: {
551
+ color: string;
552
+ width: number;
553
+ roughness: number;
554
+ seed: number;
555
+ };
556
+ accent?: {
557
+ color: string;
558
+ opacity: number;
559
+ texture: "none" | "hatch" | "chalk";
560
+ };
561
+ };
562
+ textLayout: {
563
+ padding: [number, number, number, number];
564
+ alignment: "left" | "center" | "right";
565
+ overflow: "grow" | "shrink-with-minimum" | "error";
566
+ };
567
+ }
568
+ type BubblePathCommand = {
569
+ kind: "move" | "line";
570
+ to: [number, number];
571
+ } | {
572
+ kind: "quadratic";
573
+ control: [number, number];
574
+ to: [number, number];
575
+ } | {
576
+ kind: "cubic";
577
+ control1: [number, number];
578
+ control2: [number, number];
579
+ to: [number, number];
580
+ } | {
581
+ kind: "close";
582
+ };
583
+ /** A portable authored silhouette; all coordinates stay normalized for export parity. */
584
+ interface FreeformBubbleDefinition {
585
+ schemaVersion: 1;
586
+ type: "clypra.textBubble";
587
+ coordinateSpace: "normalized";
588
+ geometry: {
589
+ kind: "freeform-path";
590
+ closed: true;
591
+ commands: BubblePathCommand[];
592
+ };
593
+ layers: ParametricBubbleDefinition["layers"];
594
+ textLayout: ParametricBubbleDefinition["textLayout"];
595
+ }
596
+ type BubbleAssetDefinition = ParametricBubbleDefinition | FreeformBubbleDefinition;
597
+ declare const createBubbleAssetDefinition: () => ParametricBubbleDefinition;
598
+ /** Creates an editable starting silhouette, not a flattened preview image. */
599
+ declare const createFreeformBubbleAssetDefinition: () => FreeformBubbleDefinition;
600
+ /** Compiles normalized parametric geometry to a stable SVG path. */
601
+ declare function compileBubblePath(definition: BubbleAssetDefinition): string;
602
+ /** Produces a portable SVG artifact from the canonical editable definition. */
603
+ declare function compileBubbleSvg(definition: BubbleAssetDefinition, width?: number, height?: number): string;
604
+ type BubbleCanvas = CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D;
605
+ /** Renders the editable definition directly, avoiding a separate Studio-only drawing model. */
606
+ declare function renderBubbleAssetDefinition(ctx: BubbleCanvas, definition: BubbleAssetDefinition, x: number, y: number, width: number, height: number): void;
607
+ declare function validateBubbleAssetDefinition(definition: BubbleAssetDefinition): string[];
608
+
525
609
  /**
526
610
  * textBubbles.ts
527
611
  *
@@ -536,6 +620,25 @@ declare function renderTextTemplateToCanvas(ctx: CanvasLike, input: TextTemplate
536
620
  */
537
621
  type TextBubbleCategory = "all" | "speech" | "paper" | "labels" | "decorative" | "comic" | "cute" | "neon" | "banner";
538
622
  type BubbleRenderMode = "svg" | "raster" | "nine-slice" | "procedural";
623
+ /** Geometric families exposed by the Studio bubble designer. */
624
+ type BubbleShape = "rounded" | "speech" | "cloud" | "comic" | "paper" | "ribbon" | "chalk";
625
+ type BubbleTexture = "none" | "chalk" | "hatch" | "paper";
626
+ type BubbleTailPosition = "bottom-left" | "bottom-center" | "bottom-right";
627
+ /**
628
+ * Portable procedural art direction. This stays with a preset JSON file so
629
+ * a Studio-authored bubble can be rendered by any consumer of the engine.
630
+ */
631
+ interface BubbleAppearance {
632
+ shape: BubbleShape;
633
+ fillColor: string;
634
+ fillOpacity: number;
635
+ strokeColor: string;
636
+ strokeWidth: number;
637
+ cornerRadius: number;
638
+ tailPosition: BubbleTailPosition;
639
+ tailSize: number;
640
+ texture: BubbleTexture;
641
+ }
539
642
  interface TextBubblePadding {
540
643
  top: number;
541
644
  right: number;
@@ -576,6 +679,10 @@ interface TextBubblePreset {
576
679
  sha256?: string;
577
680
  renderMode: BubbleRenderMode;
578
681
  };
682
+ /** Optional portable design controls for procedural custom bubbles. */
683
+ appearance?: BubbleAppearance;
684
+ /** Editable vector asset source; compiled previews are derived from this. */
685
+ definition?: BubbleAssetDefinition;
579
686
  layout: TextBubbleLayout;
580
687
  defaultTextStyle?: {
581
688
  fontFamily?: string;
@@ -636,6 +743,14 @@ declare function drawTornPaper(ctx: CanvasRenderingContext2D | OffscreenCanvasRe
636
743
  * Draws a smooth speech bubble balloon with a curved tail.
637
744
  */
638
745
  declare function drawSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number, fillColor?: string, strokeColor?: string, strokeWidth?: number, radius?: number): void;
746
+ /** Renders a complete serialized preset, including Studio-authored appearance. */
747
+ declare function renderBubblePresetBackground(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, preset: Pick<TextBubblePreset, "id" | "appearance">, x: number, y: number, width: number, height: number): boolean;
748
+ /**
749
+ * Draws a hand-drawn chalk dialogue bubble: a translucent rose balloon with a
750
+ * rough white contour and a lime/yellow cross-hatched tail. The artwork is
751
+ * deterministic so it can be rendered identically in Studio and the editor.
752
+ */
753
+ declare function drawChalkSpeechBubble(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, x: number, y: number, width: number, height: number): void;
639
754
  /**
640
755
  * Draws a fluffy thought cloud bubble.
641
756
  */
@@ -665,4 +780,4 @@ type CanonicalRenderInput = {
665
780
  /** Extensible capability registry for all package-owned render semantics. */
666
781
  declare function renderCanonicalToCanvas(ctx: CanvasRenderingContext2D | OffscreenCanvasRenderingContext2D, input: CanonicalRenderInput): CanonicalRenderResult;
667
782
 
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 };
783
+ export { type TemplateNodeAnimation as $, TEXT_TEMPLATE_KIND as A, type BubbleAppearance as B, type CompiledTextTemplate as C, TEXT_TEMPLATE_RENDERER_VERSION as D, type EvaluatedTemplateScene as E, type FreeformBubbleDefinition as F, TEXT_TEMPLATE_SCHEMA_VERSION as G, type TemplateAssetRef as H, type TemplateBackgroundPanel as I, type TemplateCapabilityReport as J, type TemplateContainerNode as K, type TemplateContainerNodeStyle as L, type TemplateControl as M, type TemplateControlConstraints as N, type TemplateControlOption as O, type ParametricBubbleDefinition as P, type TemplateControlType as Q, type RenderPlan as R, type SceneDocumentV2 as S, type TextTemplateArtifact as T, type TemplateDependencyManifest as U, type TemplateDurationPolicy as V, type TemplateFontRef as W, type TemplateImageNode as X, type TemplateLayerV2 as Y, type TemplateMetadata as Z, type TemplateNode as _, type ResolveTemplateControlValuesOptions as a, type TemplatePreviewArtifacts as a0, type TemplatePropertyKeyframes as a1, type TemplateProtectedRegion as a2, type TemplateRenderTarget as a3, type TemplateRevision as a4, type TemplateShapeNode as a5, type TemplateShapeNodeStyle as a6, type TemplateStyleRef as a7, type TemplateTextNode as a8, type TemplateTextNodeStyle as a9, evaluateTextTemplate as aA, getRenderCapabilities as aB, getTextTemplateControls as aC, normalizeTextEffect as aD, normalizeTextTemplate as aE, pseudoNoise as aF, renderBubbleAssetDefinition as aG, renderBubbleBackground as aH, renderBubblePresetBackground as aI, renderCanonicalToCanvas as aJ, renderTextEffectToCanvas as aK, renderTextTemplateToCanvas as aL, resolveBubbleLayout as aM, resolveTemplateFontFamily as aN, resolveTextTemplateArtifact as aO, validateBubbleAssetDefinition as aP, type TemplateTimelineMarker as aa, type TemplateTiming as ab, type TextBubbleCategory as ac, type TextBubbleLayout as ad, type TextBubblePadding as ae, type TextBubblePreset as af, type TextEffectRenderInput as ag, type TextTemplateCanvas as ah, type TextTemplateClip as ai, type TextTemplateDocument as aj, type TextTemplateDocumentV2 as ak, type TextTemplateFlexLayout as al, type TextTemplateRenderInput as am, canonicalContentHash as an, canonicalizeSceneDocument as ao, compileBubblePath as ap, compileBubbleSvg as aq, createBubbleAssetDefinition as ar, createFreeformBubbleAssetDefinition as as, drawChalkSpeechBubble as at, drawComicBurst as au, drawRibbonBanner as av, drawSpeechBubble as aw, drawThoughtCloud as ax, drawTornPaper as ay, evaluateTextEffect as az, type TemplateCustomization as b, type TemplateRenderContext as c, type BubbleAssetDefinition as d, type BubblePathCommand as e, type BubbleRenderMode as f, type BubbleRenderOptions as g, type BubbleShape as h, type BubbleTailPosition as i, type BubbleTailSide as j, type BubbleTexture as k, CANONICAL_RENDERER_VERSION as l, CANONICAL_SCHEMA_VERSION as m, type CanonicalRenderContext as n, type CanonicalRenderInput as o, type CanonicalRenderResult as p, type CapabilityReport as q, type CapabilityStatus as r, type CompiledTemplateRenderLayer as s, type PublishedRevision as t, type RenderCapability as u, type RenderDiagnostic as v, type RenderDiagnostics as w, type RenderEnvironment as x, type RenderIdentity as y, type RenderTarget as z };