@clypra-studio/engine 1.2.0 → 1.3.0

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.
package/dist/index.d.cts CHANGED
@@ -8,8 +8,8 @@ export { C as Canvas2DEffectDefinition, a as Canvas2DEngine, b as Canvas2DEngine
8
8
  export { ALL_TRANSITIONS, AppliedTransition, ChromaticPushTransition, CrossDissolveTransition, DepthPushTransition, DirectionalDissolveTransition, EasingFunction, ElasticSnapCutTransition, FilmBurnWipeTransition, FoldTurnTransition, FrameHoldStutterTransition, GlitchTransition, GravityDropTransition, IrisRevealTransition, LightLeakSweepTransition, LumaWipeTransition, ParallaxLayerSplitTransition, PixelateCollapseTransition, PushTransition, RackFocusBlendTransition, RefractionWarpTransition, ShatterBurstTransition, StrobeCutTransition, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, ZoomTransition, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionEffect, getTransitionsByCategory, getTransitionsByTags, searchTransitions, transitionEffects, transitionEffectsById } from './transitions/index.cjs';
9
9
  import { NodeCapabilities, NodeRequirements, GraphPin, MediaProcessingGraph } from '@clypra-studio/types';
10
10
  export { NodeCapabilities as EffectCapabilities, NodeRequirements as EffectRequirements, GraphDataType, GraphEdge, GraphHelper, GraphNode, GraphPin, GraphValue, MediaProcessingGraph, NodeCapabilities, NodeLifecycleState, NodeRequirements } from '@clypra-studio/types';
11
- import { R as RenderBackend, C as CommandBuffer, F as FrameGraph } from './index-Da47I6aX.cjs';
12
- export { a as Command, D as DependencyGraph, E as ExecutionPolicy, b as ExecutionQuality, P as PixiRenderBackend, c as PlaybackDirection, d as PlaybackMode, e as RenderPass, f as ResourceRequest } from './index-Da47I6aX.cjs';
11
+ import { R as RenderBackend, C as CommandBuffer, F as FrameGraph } from './index-BdQ3oRT4.cjs';
12
+ export { D as DependencyGraph, E as ExecutionPolicy, a as ExecutionQuality, P as PixiRenderBackend, b as PlaybackDirection, c as PlaybackMode, d as RenderPass, e as ResourceRequest, f as V2Command } from './index-BdQ3oRT4.cjs';
13
13
  import * as pixi_js from 'pixi.js';
14
14
  import { Sprite, Texture, Filter, Container } from 'pixi.js';
15
15
 
@@ -8779,13 +8779,13 @@ interface NormalizedCrop {
8779
8779
  right: number;
8780
8780
  bottom: number;
8781
8781
  }
8782
- interface FocalPoint {
8782
+ interface FocalPoint$1 {
8783
8783
  x: number;
8784
8784
  y: number;
8785
8785
  }
8786
8786
  interface MediaLayout {
8787
8787
  fit: MediaFitMode;
8788
- focalPoint: FocalPoint;
8788
+ focalPoint: FocalPoint$1;
8789
8789
  transform: {
8790
8790
  x: number;
8791
8791
  y: number;
@@ -8797,7 +8797,7 @@ interface MediaLayout {
8797
8797
  }
8798
8798
  interface ResolvedMediaLayout {
8799
8799
  fit: MediaFitMode;
8800
- focalPoint: FocalPoint;
8800
+ focalPoint: FocalPoint$1;
8801
8801
  sourceRect: {
8802
8802
  x: number;
8803
8803
  y: number;
@@ -8821,7 +8821,7 @@ declare function getSourceCropRect(source: Size, crop?: NormalizedCrop): {
8821
8821
  height: number;
8822
8822
  };
8823
8823
  declare function rotateCrop(crop: NormalizedCrop, rotation?: number): NormalizedCrop;
8824
- declare function calculateCropFromFocalPoint(source: Size, target: Size, focalPoint: FocalPoint): NormalizedCrop;
8824
+ declare function calculateCropFromFocalPoint(source: Size, target: Size, focalPoint: FocalPoint$1): NormalizedCrop;
8825
8825
  declare function resolveMediaLayout(params: {
8826
8826
  sourceSize: Size;
8827
8827
  projectFrame: Size;
@@ -9297,13 +9297,15 @@ interface FontRef {
9297
9297
  interface AssetManifest {
9298
9298
  assets: AssetRef[];
9299
9299
  }
9300
- type SceneNodeType = "frame" | "text" | "shape" | "media" | "repeater" | "component" | "rich-text" | "gradient" | "icon" | "divider" | "metric" | "progress" | "chart" | "table" | "container" | "callout" | "avatar" | "annotation" | "connector" | "gauge" | "timeline";
9300
+ type SceneNodeType = "frame" | "text" | "shape" | "media" | "repeater" | "component" | "rich-text" | "gradient" | "icon" | "line" | "divider" | "metric" | "progress" | "chart" | "table" | "container" | "callout" | "avatar" | "annotation" | "connector" | "gauge" | "timeline" | "video" | "audio" | "lottie";
9301
9301
  type LayoutMode = "none" | "flex-row" | "flex-column" | "grid" | "space-between";
9302
9302
  type AlignmentMode = "start" | "center" | "end" | "stretch";
9303
9303
  type DimensionMode = "fixed" | "hug" | "fill" | "relative";
9304
9304
  type AnchorXMode = "left" | "center" | "right";
9305
9305
  type AnchorYMode = "top" | "center" | "bottom";
9306
9306
  interface NodeConstraints {
9307
+ horizontal?: "left" | "center" | "right" | "stretch" | AnchorXMode;
9308
+ vertical?: "top" | "center" | "bottom" | "stretch" | AnchorYMode;
9307
9309
  anchorX?: AnchorXMode;
9308
9310
  anchorY?: AnchorYMode;
9309
9311
  left?: number;
@@ -9326,15 +9328,20 @@ interface NodeConstraints {
9326
9328
  }
9327
9329
  interface NodeLayoutRules {
9328
9330
  mode?: LayoutMode;
9329
- gap?: number;
9330
- padding?: {
9331
+ gap?: number | {
9332
+ col: number;
9333
+ row: number;
9334
+ };
9335
+ padding?: number | {
9331
9336
  top: number;
9332
9337
  right: number;
9333
9338
  bottom: number;
9334
9339
  left: number;
9335
9340
  };
9336
- alignItems?: AlignmentMode;
9337
- justifyContent?: AlignmentMode;
9341
+ alignItems?: AlignmentMode | "flex-start" | "flex-end";
9342
+ justifyContent?: AlignmentMode | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly";
9343
+ wrap?: boolean | "wrap" | "nowrap";
9344
+ gridColumns?: number;
9338
9345
  constraints?: NodeConstraints;
9339
9346
  }
9340
9347
  /** @deprecated Use FontRef instead. Kept for migration compatibility. */
@@ -9354,6 +9361,8 @@ interface NodeStyleRules {
9354
9361
  fillOpacity?: number;
9355
9362
  strokeColor?: string;
9356
9363
  strokeWidth?: number;
9364
+ borderColor?: string;
9365
+ borderWidth?: number;
9357
9366
  borderRadius?: number;
9358
9367
  opacity?: number;
9359
9368
  fontFamily?: string;
@@ -9364,10 +9373,15 @@ interface NodeStyleRules {
9364
9373
  fontSize?: number;
9365
9374
  fontWeight?: "normal" | "bold" | "600" | "800" | string;
9366
9375
  textColor?: string;
9376
+ color?: string;
9367
9377
  textAlign?: "left" | "center" | "right";
9368
9378
  letterSpacing?: number;
9369
9379
  lineHeight?: number;
9370
9380
  textTransform?: "none" | "uppercase" | "lowercase";
9381
+ overflow?: "visible" | "hidden" | "truncate" | "shrink-to-fit" | "multiline" | string;
9382
+ minFontSize?: number;
9383
+ maxLines?: number;
9384
+ tabularNums?: boolean;
9371
9385
  shadowColor?: string;
9372
9386
  shadowBlur?: number;
9373
9387
  shadow?: {
@@ -9429,6 +9443,10 @@ interface NodeAnimationRules {
9429
9443
  animationScope?: "node" | "children" | "subtree";
9430
9444
  /** Stagger delay applied incrementally to children based on scene tree order */
9431
9445
  staggerChildren?: number;
9446
+ /** If true, width/height animation triggers per-frame layout reflow passes instead of GPU transform scale */
9447
+ animatesLayout?: boolean;
9448
+ /** Layout transition duration for repeater/sibling reflows */
9449
+ layoutTransitionMs?: number;
9432
9450
  }
9433
9451
  interface DataBindingRule {
9434
9452
  targetProperty: string;
@@ -9452,6 +9470,14 @@ interface ResponsiveNodeOverride {
9452
9470
  /** Re-order this node within its parent at this breakpoint (0-based) */
9453
9471
  layoutOrder?: number;
9454
9472
  }
9473
+ type AnchorSide = "left" | "right" | "top" | "bottom" | "center";
9474
+ interface SpatialAnchorConfig {
9475
+ targetId: string;
9476
+ anchorSide?: AnchorSide;
9477
+ targetSide?: AnchorSide;
9478
+ offsetX?: number;
9479
+ offsetY?: number;
9480
+ }
9455
9481
  interface SceneNodeBase {
9456
9482
  id: string;
9457
9483
  name: string;
@@ -9463,6 +9489,7 @@ interface SceneNodeBase {
9463
9489
  rotation?: number;
9464
9490
  visible?: boolean;
9465
9491
  locked?: boolean;
9492
+ anchor?: SpatialAnchorConfig;
9466
9493
  layout?: NodeLayoutRules;
9467
9494
  style?: NodeStyleRules;
9468
9495
  animation?: NodeAnimationRules;
@@ -9493,11 +9520,59 @@ interface PrimitiveShapeNode extends SceneNodeBase {
9493
9520
  }
9494
9521
  interface PrimitiveMediaNode extends SceneNodeBase {
9495
9522
  type: "media";
9496
- mediaType: "image" | "icon" | "svg" | "avatar";
9523
+ mediaType: "image" | "icon" | "svg" | "avatar" | "video" | "audio" | "lottie";
9497
9524
  /** @deprecated Prefer assetId. Kept as legacy fallback for migration. */
9498
9525
  src?: string;
9499
9526
  /** Stable reference to AssetRegistry — document never contains binary data */
9500
9527
  assetId?: string;
9528
+ intrinsicWidth?: number;
9529
+ intrinsicHeight?: number;
9530
+ aspectRatioLock?: boolean;
9531
+ objectFit?: "cover" | "contain" | "fill" | "none";
9532
+ }
9533
+ interface VideoPlaybackConfig {
9534
+ startTime?: number;
9535
+ trimIn?: number;
9536
+ trimOut?: number;
9537
+ speed?: number;
9538
+ loop?: boolean;
9539
+ volume?: number;
9540
+ muted?: boolean;
9541
+ }
9542
+ interface VideoNode extends SceneNodeBase {
9543
+ type: "video";
9544
+ assetId: string;
9545
+ intrinsicWidth?: number;
9546
+ intrinsicHeight?: number;
9547
+ aspectRatioLock?: boolean;
9548
+ objectFit?: "cover" | "contain" | "fill" | "none";
9549
+ playback?: VideoPlaybackConfig;
9550
+ }
9551
+ interface AudioPlaybackConfig {
9552
+ startTime?: number;
9553
+ trimIn?: number;
9554
+ trimOut?: number;
9555
+ speed?: number;
9556
+ loop?: boolean;
9557
+ volume?: number;
9558
+ muted?: boolean;
9559
+ fadeInDuration?: number;
9560
+ fadeOutDuration?: number;
9561
+ duckingDb?: number;
9562
+ }
9563
+ interface AudioNode extends SceneNodeBase {
9564
+ type: "audio";
9565
+ assetId: string;
9566
+ playback?: AudioPlaybackConfig;
9567
+ }
9568
+ interface LottieNode extends SceneNodeBase {
9569
+ type: "lottie";
9570
+ assetId: string;
9571
+ fps?: number;
9572
+ speed?: number;
9573
+ loop?: boolean;
9574
+ mode?: "forward" | "reverse" | "pingpong";
9575
+ slots?: Record<string, string | number>;
9501
9576
  }
9502
9577
  interface RepeaterNode extends SceneNodeBase {
9503
9578
  type: "repeater";
@@ -9506,6 +9581,14 @@ interface RepeaterNode extends SceneNodeBase {
9506
9581
  itemTemplate: SceneNode;
9507
9582
  direction?: "vertical" | "horizontal";
9508
9583
  previewItemCount?: number;
9584
+ /** Stable field name used to track instance identity across sort/reorder operations */
9585
+ keyField?: string;
9586
+ /** Maximum number of items to instantiate from the dataset (windowing limit) */
9587
+ maxItems?: number;
9588
+ /** Context variable name for the current item in templates (defaults to "item") */
9589
+ itemContextKey?: string;
9590
+ /** Context variable name for the current index in templates (defaults to "index") */
9591
+ indexContextKey?: string;
9509
9592
  }
9510
9593
  interface ComponentNode extends SceneNodeBase {
9511
9594
  type: "component";
@@ -9532,9 +9615,26 @@ interface GradientNode extends SceneNodeBase {
9532
9615
  interface IconNode extends SceneNodeBase {
9533
9616
  type: "icon";
9534
9617
  iconName: string;
9618
+ size?: number;
9619
+ color?: string;
9620
+ strokeWidth?: number;
9535
9621
  assetId?: string;
9536
9622
  svgPath?: string;
9537
9623
  }
9624
+ interface LineNode extends SceneNodeBase {
9625
+ type: "line";
9626
+ startX?: number;
9627
+ startY?: number;
9628
+ endX?: number;
9629
+ endY?: number;
9630
+ startNodeId?: string;
9631
+ endNodeId?: string;
9632
+ strokeColor?: string;
9633
+ strokeWidth?: number;
9634
+ strokeCap?: "butt" | "round" | "square";
9635
+ strokeJoin?: "miter" | "round" | "bevel";
9636
+ dashPattern?: number[];
9637
+ }
9538
9638
  interface DividerNode extends SceneNodeBase {
9539
9639
  type: "divider";
9540
9640
  orientation: "horizontal" | "vertical";
@@ -9679,7 +9779,7 @@ interface ChartNode extends SceneNodeBase {
9679
9779
  label?: string;
9680
9780
  }>;
9681
9781
  }
9682
- interface AnnotationNode extends SceneNodeBase {
9782
+ interface AnnotationNode extends Omit<SceneNodeBase, "anchor"> {
9683
9783
  type: "annotation";
9684
9784
  text: string;
9685
9785
  anchor?: {
@@ -9698,9 +9798,17 @@ interface ConnectorNode extends SceneNodeBase {
9698
9798
  type: "connector";
9699
9799
  fromNodeId: string;
9700
9800
  toNodeId: string;
9801
+ fromAnchor?: "top" | "bottom" | "left" | "right" | "center" | {
9802
+ x: number;
9803
+ y: number;
9804
+ };
9805
+ toAnchor?: "top" | "bottom" | "left" | "right" | "center" | {
9806
+ x: number;
9807
+ y: number;
9808
+ };
9701
9809
  fromElement?: "bar-top" | "point" | "arc-mid" | "center";
9702
9810
  toElement?: "bar-top" | "point" | "arc-mid" | "center";
9703
- lineStyle?: "straight" | "curved" | "elbow";
9811
+ lineStyle?: "straight" | "curved" | "elbow" | "orthogonal" | "bezier";
9704
9812
  arrowHead?: "none" | "start" | "end" | "both";
9705
9813
  strokeColor?: string;
9706
9814
  strokeWidth?: number;
@@ -9775,7 +9883,7 @@ interface AvatarNode extends SceneNodeBase {
9775
9883
  shape?: "circle" | "rounded" | "square";
9776
9884
  badgeStatus?: "online" | "offline" | "busy";
9777
9885
  }
9778
- type SceneNode = FrameNode | PrimitiveTextNode | PrimitiveShapeNode | PrimitiveMediaNode | RepeaterNode | ComponentNode | RichTextNode | GradientNode | IconNode | DividerNode | MetricNode | ProgressNode | ChartNode | TableNode | ContainerNode | CalloutNode | AvatarNode | AnnotationNode | ConnectorNode | GaugeNode | TimelineNode;
9886
+ type SceneNode = FrameNode | PrimitiveTextNode | PrimitiveShapeNode | PrimitiveMediaNode | VideoNode | AudioNode | LottieNode | RepeaterNode | ComponentNode | RichTextNode | GradientNode | IconNode | LineNode | DividerNode | MetricNode | ProgressNode | ChartNode | TableNode | ContainerNode | CalloutNode | AvatarNode | AnnotationNode | ConnectorNode | GaugeNode | TimelineNode;
9779
9887
  interface DocumentVariable {
9780
9888
  key: string;
9781
9889
  type: "string" | "number" | "boolean" | "color" | "array";
@@ -9841,6 +9949,19 @@ interface OverlayDocument {
9841
9949
  /** Responsive breakpoint definitions and active selection */
9842
9950
  breakpoints?: BreakpointSet;
9843
9951
  }
9952
+ /**
9953
+ * Envelope for a Published Overlay Artifact.
9954
+ * Connecting Studio (Authoring) to Clypra Desktop (Execution).
9955
+ */
9956
+ interface PublishedOverlayArtifact {
9957
+ documentId: string;
9958
+ revision: number;
9959
+ schemaVersion: string;
9960
+ updatedAt: string;
9961
+ publishedAt?: string;
9962
+ author?: string;
9963
+ document: OverlayDocument;
9964
+ }
9844
9965
 
9845
9966
  /**
9846
9967
  * Self-describing property that participates in the inspector, animation,
@@ -9948,6 +10069,7 @@ declare class DataBindingEngine {
9948
10069
  * The key may be a raw variable name or a {{binding}} expression.
9949
10070
  */
9950
10071
  expandRepeater(repeater: RepeaterNode, context: Record<string, any>): SceneNode[];
10072
+ private prefixChildIds;
9951
10073
  /**
9952
10074
  * Recursively evaluate data bindings across a node tree.
9953
10075
  * Evaluates node.bindings rules, text content, and component props.
@@ -10025,6 +10147,192 @@ declare class AnimationRuntime {
10025
10147
  }
10026
10148
  declare const animationRuntime: AnimationRuntime;
10027
10149
 
10150
+ interface BoundingRegion {
10151
+ id: string;
10152
+ name?: string;
10153
+ x: number;
10154
+ y: number;
10155
+ width: number;
10156
+ height: number;
10157
+ confidence?: number;
10158
+ }
10159
+ interface TemporalKeyframedRegion {
10160
+ time: number;
10161
+ region: BoundingRegion;
10162
+ }
10163
+ interface TrackedSubject {
10164
+ id: string;
10165
+ label: string;
10166
+ type: "person" | "face" | "object" | "speaker";
10167
+ track: TemporalKeyframedRegion[];
10168
+ }
10169
+ interface ShotBoundary {
10170
+ id: string;
10171
+ startTime: number;
10172
+ endTime: number;
10173
+ label?: string;
10174
+ }
10175
+ interface SubtitleRegion {
10176
+ x: number;
10177
+ y: number;
10178
+ width: number;
10179
+ height: number;
10180
+ active?: boolean;
10181
+ }
10182
+ interface TranscriptSegment {
10183
+ id: string;
10184
+ startTime: number;
10185
+ endTime: number;
10186
+ text: string;
10187
+ speakerId?: string;
10188
+ }
10189
+ interface VideoContext {
10190
+ canvas: {
10191
+ width: number;
10192
+ height: number;
10193
+ };
10194
+ duration: number;
10195
+ shots?: ShotBoundary[];
10196
+ subjects?: TrackedSubject[];
10197
+ safeRegions?: BoundingRegion[];
10198
+ subtitleRegion?: SubtitleRegion;
10199
+ transcript?: TranscriptSegment[];
10200
+ semanticMarkers?: Array<{
10201
+ time: number;
10202
+ label: string;
10203
+ category?: string;
10204
+ }>;
10205
+ }
10206
+ interface EvaluatedVideoStateAtTime {
10207
+ time: number;
10208
+ activeShot?: ShotBoundary;
10209
+ activeSubjects: Record<string, BoundingRegion>;
10210
+ activeTranscriptSegment?: TranscriptSegment;
10211
+ activeSpeakerId?: string;
10212
+ subtitleRegion?: SubtitleRegion;
10213
+ safeRegions: BoundingRegion[];
10214
+ }
10215
+ /**
10216
+ * Pure helper function to sample VideoContext at explicit playhead time `t`.
10217
+ * Interpolates subject bounding boxes between keyframe samples deterministically.
10218
+ */
10219
+ declare function sampleVideoContextAtTime(videoCtx: VideoContext, time: number): EvaluatedVideoStateAtTime;
10220
+
10221
+ interface EvaluatedTransform {
10222
+ x: number;
10223
+ y: number;
10224
+ width: number;
10225
+ height: number;
10226
+ rotation: number;
10227
+ scaleX: number;
10228
+ scaleY: number;
10229
+ translateX: number;
10230
+ translateY: number;
10231
+ anchorX: number;
10232
+ anchorY: number;
10233
+ }
10234
+ interface EvaluatedStyle {
10235
+ fillColor?: string;
10236
+ fillGradient?: {
10237
+ type: "linear" | "radial";
10238
+ colors: string[];
10239
+ angle?: number;
10240
+ };
10241
+ fillOpacity?: number;
10242
+ strokeColor?: string;
10243
+ strokeWidth?: number;
10244
+ borderRadius?: number;
10245
+ opacity: number;
10246
+ fontFamily?: string;
10247
+ fontSize?: number;
10248
+ fontWeight?: string;
10249
+ textColor?: string;
10250
+ textAlign?: "left" | "center" | "right";
10251
+ letterSpacing?: number;
10252
+ lineHeight?: number;
10253
+ shadowColor?: string;
10254
+ shadowBlur?: number;
10255
+ blurRadius?: number;
10256
+ backdropBlur?: number;
10257
+ }
10258
+ interface EvaluatedContent {
10259
+ text?: string;
10260
+ typewriterProgress?: number;
10261
+ assetId?: string;
10262
+ mediaUrl?: string;
10263
+ iconName?: string;
10264
+ shapeType?: ShapeKind;
10265
+ numericValue?: number | string;
10266
+ formattedValue?: string;
10267
+ componentType?: string;
10268
+ props?: Record<string, any>;
10269
+ }
10270
+ interface EvaluatedNode {
10271
+ id: string;
10272
+ name: string;
10273
+ type: string;
10274
+ parentId?: string;
10275
+ visible: boolean;
10276
+ transform: EvaluatedTransform;
10277
+ style: EvaluatedStyle;
10278
+ content?: EvaluatedContent;
10279
+ /** Pure evaluated geometry (e.g. Chart/Gauge/Timeline evaluated geometry from visualizationEngine) */
10280
+ geometry?: any;
10281
+ children?: EvaluatedNode[];
10282
+ metadata?: Record<string, any>;
10283
+ }
10284
+
10285
+ interface RendererCapabilities {
10286
+ text: boolean;
10287
+ gradients: boolean;
10288
+ shadows: boolean;
10289
+ blur: boolean;
10290
+ masks: boolean;
10291
+ charts: boolean;
10292
+ media: boolean;
10293
+ blendModes: boolean;
10294
+ filters: boolean;
10295
+ nativeExport: boolean;
10296
+ }
10297
+ interface RuntimeContext {
10298
+ viewport?: {
10299
+ zoom: number;
10300
+ panX: number;
10301
+ panY: number;
10302
+ canvasWidth: number;
10303
+ canvasHeight: number;
10304
+ };
10305
+ variables?: Record<string, any>;
10306
+ data?: Record<string, any>;
10307
+ activeBreakpointId?: string | null;
10308
+ video?: VideoContext;
10309
+ capabilities?: Partial<RendererCapabilities>;
10310
+ }
10311
+ interface EvaluationDiagnostic {
10312
+ level: "warning" | "error" | "info";
10313
+ nodeId?: string;
10314
+ code: string;
10315
+ message: string;
10316
+ }
10317
+ interface EvaluatedScene {
10318
+ version: "2.0";
10319
+ time: number;
10320
+ canvas: {
10321
+ width: number;
10322
+ height: number;
10323
+ backgroundColor?: string;
10324
+ };
10325
+ nodes: EvaluatedNode[];
10326
+ nodeMap: Record<string, EvaluatedNode>;
10327
+ videoState?: EvaluatedVideoStateAtTime;
10328
+ diagnostics: EvaluationDiagnostic[];
10329
+ metadata: {
10330
+ documentId: string;
10331
+ evaluatedAtTime: number;
10332
+ activeBreakpointId: string | null;
10333
+ };
10334
+ }
10335
+
10028
10336
  /**
10029
10337
  * Phase 4R.2 — Platform-independent Visualization Definition & Registry
10030
10338
  *
@@ -10150,6 +10458,8 @@ interface EvaluatedAnnotationGeometry {
10150
10458
  text: string;
10151
10459
  x: number;
10152
10460
  y: number;
10461
+ width: number;
10462
+ height: number;
10153
10463
  anchorX?: number;
10154
10464
  anchorY?: number;
10155
10465
  showLeader: boolean;
@@ -10180,7 +10490,7 @@ interface EvaluatedConnectorGeometry {
10180
10490
  toY: number;
10181
10491
  strokeColor: string;
10182
10492
  strokeWidth: number;
10183
- lineStyle: "straight" | "curved" | "elbow";
10493
+ lineStyle: "straight" | "curved" | "elbow" | "orthogonal" | "bezier";
10184
10494
  arrowHead: "none" | "start" | "end" | "both";
10185
10495
  }
10186
10496
  declare class ConnectorVisualizationDefinition implements VisualizationDefinition<ConnectorNode, EvaluatedConnectorGeometry> {
@@ -10206,11 +10516,16 @@ declare class PixiSceneProjection {
10206
10516
  private nodeMap;
10207
10517
  constructor();
10208
10518
  /**
10209
- * Sync and project an OverlayDocument onto PixiJS display tree at currentTime
10519
+ * Sync and project an OverlayDocument onto PixiJS display tree at currentTime.
10520
+ * Evaluates document via evaluateOverlayDocument to maintain single semantic runtime authority.
10210
10521
  */
10211
10522
  project(doc: OverlayDocument, currentTime: number, contextData?: Record<string, any>,
10212
10523
  /** Optional ephemeral preview overrides — never persisted to the document */
10213
10524
  previewContext?: Record<string, any>): Container;
10525
+ /**
10526
+ * Directly project a renderer-neutral EvaluatedScene onto PixiJS display objects.
10527
+ */
10528
+ projectEvaluatedScene(evaluatedScene: EvaluatedScene, doc?: OverlayDocument, currentTime?: number, context?: Record<string, any>): Container;
10214
10529
  private projectNode;
10215
10530
  private renderComponentNode;
10216
10531
  private renderTextNode;
@@ -10248,7 +10563,7 @@ declare class PixiSelectionOverlay {
10248
10563
  }
10249
10564
  declare const pixiSelectionOverlay: PixiSelectionOverlay;
10250
10565
 
10251
- type CommandType = "SET_DOCUMENT" | "ADD_NODE" | "DELETE_NODE" | "UPDATE_NODE_PROPERTY" | "UPDATE_NODE_STYLE" | "REORDER_NODES" | "ADD_VARIABLE" | "REMOVE_VARIABLE" | "UPDATE_VARIABLE" | "ADD_DATA_PREVIEW_SET" | "UPDATE_DATA_PREVIEW_SET" | "REMOVE_DATA_PREVIEW_SET" | "ADD_TIMELINE_MARKER" | "UPDATE_TIMELINE_MARKER" | "REMOVE_TIMELINE_MARKER" | "UPDATE_KEYFRAME_TRACKS" | "UPDATE_ANIMATION" | "GROUP_NODES" | "UNGROUP_NODES" | "DETACH_COMPONENT" | "UPDATE_CANVAS_SIZE" | "SET_BINDING" | "REGISTER_ASSET" | "REMOVE_ASSET" | "SET_ASSET_REF" | "SET_FONT_REF" | "ADD_BREAKPOINT" | "REMOVE_BREAKPOINT" | "SET_ACTIVE_BREAKPOINT" | "SET_RESPONSIVE_OVERRIDE" | "BATCH_COMMANDS";
10566
+ type CommandType = "SET_DOCUMENT" | "ADD_NODE" | "DELETE_NODE" | "UPDATE_NODE_PROPERTY" | "UPDATE_NODE_STYLE" | "REORDER_NODES" | "ADD_VARIABLE" | "REMOVE_VARIABLE" | "UPDATE_VARIABLE" | "ADD_DATA_PREVIEW_SET" | "UPDATE_DATA_PREVIEW_SET" | "REMOVE_DATA_PREVIEW_SET" | "ADD_TIMELINE_MARKER" | "UPDATE_TIMELINE_MARKER" | "REMOVE_TIMELINE_MARKER" | "UPDATE_KEYFRAME_TRACKS" | "UPDATE_ANIMATION" | "GROUP_NODES" | "UNGROUP_NODES" | "DETACH_COMPONENT" | "UPDATE_CANVAS_SIZE" | "SET_BINDING" | "REGISTER_ASSET" | "REMOVE_ASSET" | "SET_ASSET_REF" | "SET_FONT_REF" | "ADD_BREAKPOINT" | "REMOVE_BREAKPOINT" | "SET_ACTIVE_BREAKPOINT" | "SET_RESPONSIVE_OVERRIDE" | "REPARENT_NODE" | "BATCH_COMMANDS";
10252
10567
  interface BaseCommand {
10253
10568
  type: CommandType;
10254
10569
  timestamp?: number;
@@ -10285,6 +10600,7 @@ interface ReorderNodesCommand extends BaseCommand {
10285
10600
  type: "REORDER_NODES";
10286
10601
  sourceIndex: number;
10287
10602
  destinationIndex: number;
10603
+ parentId?: string;
10288
10604
  }
10289
10605
  interface AddVariableCommand extends BaseCommand {
10290
10606
  type: "ADD_VARIABLE";
@@ -10431,7 +10747,14 @@ interface SetFontRefCommand extends BaseCommand {
10431
10747
  fontRef: FontRef;
10432
10748
  previousFontRef?: FontRef;
10433
10749
  }
10434
- type DocumentCommand = SetDocumentCommand | AddNodeCommand | DeleteNodeCommand | UpdateNodePropertyCommand | UpdateNodeStyleCommand | ReorderNodesCommand | AddVariableCommand | RemoveVariableCommand | UpdateVariableCommand | AddDataPreviewSetCommand | UpdateDataPreviewSetCommand | RemoveDataPreviewSetCommand | AddTimelineMarkerCommand | UpdateTimelineMarkerCommand | RemoveTimelineMarkerCommand | UpdateKeyframeTracksCommand | UpdateAnimationCommand | GroupNodesCommand | UngroupNodesCommand | DetachComponentCommand | UpdateCanvasSizeCommand | SetBindingCommand | RegisterAssetCommand | RemoveAssetCommand | SetAssetRefCommand | SetFontRefCommand | AddBreakpointCommand | RemoveBreakpointCommand | SetActiveBreakpointCommand | SetResponsiveOverrideCommand | BatchCommandsCommand;
10750
+ interface ReparentNodeCommand extends BaseCommand {
10751
+ type: "REPARENT_NODE";
10752
+ nodeId: string;
10753
+ targetParentId?: string;
10754
+ previousParentId?: string;
10755
+ }
10756
+ type DocumentCommand = SetDocumentCommand | AddNodeCommand | DeleteNodeCommand | UpdateNodePropertyCommand | UpdateNodeStyleCommand | ReorderNodesCommand | AddVariableCommand | RemoveVariableCommand | UpdateVariableCommand | AddDataPreviewSetCommand | UpdateDataPreviewSetCommand | RemoveDataPreviewSetCommand | AddTimelineMarkerCommand | UpdateTimelineMarkerCommand | RemoveTimelineMarkerCommand | UpdateKeyframeTracksCommand | UpdateAnimationCommand | GroupNodesCommand | UngroupNodesCommand | DetachComponentCommand | UpdateCanvasSizeCommand | SetBindingCommand | RegisterAssetCommand | RemoveAssetCommand | SetAssetRefCommand | SetFontRefCommand | AddBreakpointCommand | RemoveBreakpointCommand | SetActiveBreakpointCommand | SetResponsiveOverrideCommand | ReparentNodeCommand | BatchCommandsCommand;
10757
+ type Command = DocumentCommand;
10435
10758
 
10436
10759
  interface CommandExecutionResult {
10437
10760
  nextDocument: OverlayDocument;
@@ -10501,6 +10824,30 @@ declare class ViewportTransform {
10501
10824
  }
10502
10825
  declare const viewportTransform: ViewportTransform;
10503
10826
 
10827
+ type HandleType = "tl" | "tr" | "bl" | "br" | "t" | "b" | "l" | "r" | "rot" | null;
10828
+ interface BoundingBox {
10829
+ x: number;
10830
+ y: number;
10831
+ width: number;
10832
+ height: number;
10833
+ }
10834
+ interface NodeStartTransform extends BoundingBox {
10835
+ id: string;
10836
+ rotation: number;
10837
+ }
10838
+ /**
10839
+ * Hit-test 8 resize handles (4 corners, 4 midpoints) and rotation knob against document coordinates.
10840
+ */
10841
+ declare function hitTestTransformHandles(docX: number, docY: number, box: BoundingBox, threshold?: number): HandleType;
10842
+ /**
10843
+ * Compute new spatial bounds given handle type, delta mouse movement, and aspect-ratio constraint.
10844
+ */
10845
+ declare function calculateResizeBounds(start: BoundingBox, handle: HandleType, deltaX: number, deltaY: number, lockAspectRatio?: boolean, minDimension?: number): BoundingBox;
10846
+ /**
10847
+ * Compute rotation angle (degrees 0-360) around box center, supporting 15-degree angle snapping.
10848
+ */
10849
+ declare function calculateRotationAngle(centerX: number, centerY: number, docPtX: number, docPtY: number, snap15Deg?: boolean): number;
10850
+
10504
10851
  interface ValidationDiagnostic {
10505
10852
  severity: "error" | "warning";
10506
10853
  code: string;
@@ -10662,9 +11009,33 @@ declare class SnapEngine {
10662
11009
  width: number;
10663
11010
  height: number;
10664
11011
  }, otherNodes: SceneNode[], canvasWidth?: number, canvasHeight?: number, threshold?: number): CanvasSnapResult;
11012
+ /**
11013
+ * Calculate snapped bounds and alignment guides during handle resizing
11014
+ */
11015
+ calculateResizeSnap(resizingBounds: {
11016
+ x: number;
11017
+ y: number;
11018
+ width: number;
11019
+ height: number;
11020
+ }, handle: string, otherNodes: Array<{
11021
+ x: number;
11022
+ y: number;
11023
+ width: number;
11024
+ height: number;
11025
+ }>, canvasWidth?: number, canvasHeight?: number, threshold?: number): {
11026
+ x: number;
11027
+ y: number;
11028
+ width: number;
11029
+ height: number;
11030
+ guides: AlignmentGuide[];
11031
+ };
10665
11032
  }
10666
11033
  declare const snapEngine: SnapEngine;
10667
11034
 
11035
+ /**
11036
+ * Measure exact pixel width of text string across browser canvas / headless environments.
11037
+ */
11038
+ declare function measureTextWidth(text: string, fontSize: number, fontWeight?: string | number, fontFamily?: string, tabularNums?: boolean): number;
10668
11039
  interface ComputedNodeBounds {
10669
11040
  x: number;
10670
11041
  y: number;
@@ -10680,6 +11051,14 @@ declare class LayoutEngine {
10680
11051
  * for an OverlayDocument before animation & rendering passes.
10681
11052
  */
10682
11053
  computeLayout(doc: OverlayDocument, contextData?: Record<string, any>): LayoutComputedState;
11054
+ /** Resolve anchor point coordinates on a target bounding box */
11055
+ resolveAnchorPoint(target: ComputedNodeBounds, anchor?: "top" | "bottom" | "left" | "right" | "center" | {
11056
+ x: number;
11057
+ y: number;
11058
+ } | string): {
11059
+ x: number;
11060
+ y: number;
11061
+ };
10683
11062
  /**
10684
11063
  * Compute layout for a specific breakpoint.
10685
11064
  * Resolves the document for the breakpoint first (canvas + node overrides),
@@ -10694,97 +11073,643 @@ declare class LayoutEngine {
10694
11073
  }
10695
11074
  declare const layoutEngine: LayoutEngine;
10696
11075
 
10697
- type ResourceState = "pending" | "loading" | "ready" | "missing" | "error";
10698
- interface RegisteredAsset {
10699
- ref: AssetRef;
10700
- state: ResourceState;
10701
- /** Number of document nodes currently referencing this asset */
10702
- refCount: number;
10703
- /** Final resolved URL — blob URL for local, original URI for remote */
10704
- resolvedUrl?: string;
10705
- error?: string;
11076
+ interface BreadcrumbItem {
11077
+ id: string;
11078
+ name: string;
11079
+ type: string;
10706
11080
  }
10707
- /**
10708
- * Central in-memory asset registry.
10709
- *
10710
- * Invariants:
10711
- * - Same assetId always returns the same RegisteredAsset object (identity-stable)
10712
- * - refCount tracks how many nodes reference the asset
10713
- * - Releasing the last reference transitions state to "missing" (no delete — allows re-registration)
10714
- * - Binary data is NEVER stored inside a registry entry
10715
- */
10716
- declare class AssetRegistry {
10717
- private entries;
11081
+ declare class SelectionEngine {
11082
+ private selectedIds;
11083
+ private focusedId;
10718
11084
  /**
10719
- * Register an asset reference. If already registered, increments refCount
10720
- * and updates the ref metadata (source, uri, metadata may change).
11085
+ * Set single selected node.
10721
11086
  */
10722
- register(ref: AssetRef): RegisteredAsset;
11087
+ select(nodeId: string, doc?: OverlayDocument): void;
10723
11088
  /**
10724
- * Mark an asset as loaded and ready, storing its resolved URL.
10725
- * Binary data must NOT be passed here — only a URL.
11089
+ * Replace selection with multiple node IDs.
10726
11090
  */
10727
- markReady(assetId: string, resolvedUrl: string): void;
11091
+ multiSelect(nodeIds: string[], doc?: OverlayDocument): void;
10728
11092
  /**
10729
- * Mark an asset as currently loading (e.g. fetch in flight).
11093
+ * Toggle a node's selection state (Cmd/Ctrl + Click).
10730
11094
  */
10731
- markLoading(assetId: string): void;
11095
+ toggleSelect(nodeId: string, doc?: OverlayDocument): void;
10732
11096
  /**
10733
- * Mark an asset as errored with a diagnostic message.
11097
+ * Select all unlocked nodes on the canvas.
10734
11098
  */
10735
- markError(assetId: string, error: string): void;
11099
+ selectAll(doc: OverlayDocument): void;
10736
11100
  /**
10737
- * Decrement refCount. If count reaches 0, transitions to "missing".
10738
- * Does NOT delete the entry — allows re-registration without losing state identity.
11101
+ * Clear all active selections.
10739
11102
  */
10740
- release(assetId: string): void;
11103
+ clear(): void;
11104
+ getSelectedIds(): string[];
11105
+ getFocusedId(): string | null;
11106
+ isSelected(nodeId: string): boolean;
10741
11107
  /**
10742
- * Returns the RegisteredAsset entry, or undefined if not known.
11108
+ * Retrieve active selected SceneNodes from document.
10743
11109
  */
10744
- get(assetId: string): RegisteredAsset | undefined;
11110
+ getSelectedNodes(doc: OverlayDocument): SceneNode[];
10745
11111
  /**
10746
- * Returns the current ResourceState for an assetId.
10747
- * Returns "missing" if the asset has never been registered.
11112
+ * Drill down into container child nodes (Double click interaction).
10748
11113
  */
10749
- getState(assetId: string): ResourceState;
11114
+ drillDown(doc: OverlayDocument, containerId: string, clickPoint?: {
11115
+ x: number;
11116
+ y: number;
11117
+ }): boolean;
10750
11118
  /**
10751
- * Returns all currently registered AssetRef entries.
11119
+ * Select parent container of the currently selected child (Esc key or click outside).
10752
11120
  */
10753
- list(): AssetRef[];
11121
+ selectParent(doc: OverlayDocument, childId: string): boolean;
10754
11122
  /**
10755
- * Clears the entire registry. Use only for testing or full session reset.
11123
+ * Generate breadcrumb hierarchy path from root document down to selected node.
10756
11124
  */
10757
- clear(): void;
11125
+ getBreadcrumbs(doc: OverlayDocument, targetId: string): BreadcrumbItem[];
10758
11126
  /**
10759
- * Returns the total number of registered assets (including missing/error states).
11127
+ * Calculate collective bounding box of all selected nodes.
10760
11128
  */
10761
- size(): number;
11129
+ getSelectionBounds(doc: OverlayDocument, layoutBounds: Record<string, ComputedNodeBounds>): ComputedNodeBounds | null;
11130
+ private findNodeById;
11131
+ private findParentNode;
10762
11132
  }
10763
- /** Singleton asset registry for the current studio session */
10764
- declare const assetRegistry: AssetRegistry;
11133
+ declare const selectionEngine: SelectionEngine;
10765
11134
 
10766
- interface RegisteredFont {
10767
- ref: FontRef;
10768
- state: ResourceState;
10769
- /** CSS font-family value to use in fallback scenarios */
10770
- fallbackFamily: string;
11135
+ type ResizeHandle = "nw" | "n" | "ne" | "e" | "se" | "s" | "sw" | "w";
11136
+ interface ResizeOptions {
11137
+ lockAspectRatio?: boolean;
11138
+ minWidth?: number;
11139
+ minHeight?: number;
10771
11140
  }
10772
- /**
10773
- * Central font registry.
10774
- *
10775
- * Invariants:
10776
- * - A font reference can never crash resolution — getFallback() always returns a valid value
10777
- * - Weight/style variants are registered and resolved independently
10778
- * - Font state changes do NOT mutate the OverlayDocument
10779
- * - Missing font always falls back to "system-ui" or a registered substitute
10780
- */
10781
- declare class FontRegistry {
10782
- private entries;
10783
- /** Compute a stable key for a font variant */
10784
- private key;
11141
+ declare class TransformEngine {
10785
11142
  /**
10786
- * Register a font reference. If the same variant is already registered,
10787
- * updates state and metadata.
11143
+ * Translate node coordinates by delta (dx, dy).
11144
+ */
11145
+ static moveNode<T extends SceneNode>(node: T, dx: number, dy: number): T;
11146
+ /**
11147
+ * Keyboard directional nudge (1px step or 10px shift-step).
11148
+ */
11149
+ static nudgeNode<T extends SceneNode>(node: T, direction: "up" | "down" | "left" | "right", amount?: number): T;
11150
+ /**
11151
+ * Resize a node from an 8-direction handle knob.
11152
+ */
11153
+ static resizeNode<T extends SceneNode>(node: T, handle: ResizeHandle, dx: number, dy: number, options?: ResizeOptions): T;
11154
+ /**
11155
+ * Align multiple nodes relative to each other or canvas boundaries.
11156
+ */
11157
+ static alignNodes(nodes: SceneNode[], alignment: "left" | "center" | "right" | "top" | "middle" | "bottom", canvasBounds?: {
11158
+ width: number;
11159
+ height: number;
11160
+ }): SceneNode[];
11161
+ /**
11162
+ * Distribute multiple nodes evenly along horizontal or vertical axis.
11163
+ */
11164
+ static distributeNodes(nodes: SceneNode[], axis: "horizontal" | "vertical"): SceneNode[];
11165
+ }
11166
+
11167
+ type EditorCommandType = "MOVE_NODES" | "RESIZE_NODE" | "UPDATE_STYLE" | "UPDATE_PROP" | "ADD_NODE" | "DELETE_NODES" | "DUPLICATE_NODES" | "BATCH";
11168
+ interface BaseEditorCommand {
11169
+ id?: string;
11170
+ type: EditorCommandType;
11171
+ description?: string;
11172
+ timestamp?: number;
11173
+ }
11174
+ interface MoveNodesCommand extends BaseEditorCommand {
11175
+ type: "MOVE_NODES";
11176
+ moves: Array<{
11177
+ nodeId: string;
11178
+ fromX: number;
11179
+ fromY: number;
11180
+ toX: number;
11181
+ toY: number;
11182
+ }>;
11183
+ }
11184
+ interface ResizeNodeCommand extends BaseEditorCommand {
11185
+ type: "RESIZE_NODE";
11186
+ nodeId: string;
11187
+ from: {
11188
+ x: number;
11189
+ y: number;
11190
+ width: number;
11191
+ height: number;
11192
+ };
11193
+ to: {
11194
+ x: number;
11195
+ y: number;
11196
+ width: number;
11197
+ height: number;
11198
+ };
11199
+ }
11200
+ interface UpdateStyleCommand extends BaseEditorCommand {
11201
+ type: "UPDATE_STYLE";
11202
+ nodeId: string;
11203
+ property: string;
11204
+ previousValue: any;
11205
+ nextValue: any;
11206
+ }
11207
+ interface UpdatePropCommand extends BaseEditorCommand {
11208
+ type: "UPDATE_PROP";
11209
+ nodeId: string;
11210
+ property: string;
11211
+ previousValue: any;
11212
+ nextValue: any;
11213
+ }
11214
+ interface EditorAddNodeCommand extends BaseEditorCommand {
11215
+ type: "ADD_NODE";
11216
+ node: SceneNode;
11217
+ parentId?: string;
11218
+ index?: number;
11219
+ }
11220
+ interface DeleteNodesCommand extends BaseEditorCommand {
11221
+ type: "DELETE_NODES";
11222
+ deletedNodes: Array<{
11223
+ node: SceneNode;
11224
+ parentId?: string;
11225
+ index: number;
11226
+ }>;
11227
+ }
11228
+ interface DuplicateNodesCommand extends BaseEditorCommand {
11229
+ type: "DUPLICATE_NODES";
11230
+ sourceIds: string[];
11231
+ createdNodes: SceneNode[];
11232
+ }
11233
+ interface BatchCommand extends BaseEditorCommand {
11234
+ type: "BATCH";
11235
+ commands: EditorCommand[];
11236
+ }
11237
+ type EditorCommand = MoveNodesCommand | ResizeNodeCommand | UpdateStyleCommand | UpdatePropCommand | EditorAddNodeCommand | DeleteNodesCommand | DuplicateNodesCommand | BatchCommand;
11238
+ interface EditorExecutionResult {
11239
+ nextDoc: OverlayDocument;
11240
+ inverseCommand: EditorCommand;
11241
+ }
11242
+ declare class EditorCommandSystem {
11243
+ private undoStack;
11244
+ private redoStack;
11245
+ private maxHistory;
11246
+ private activeDragSession;
11247
+ /**
11248
+ * Execute a command against document, returning updated document and storing inverse in undo stack.
11249
+ */
11250
+ execute(doc: OverlayDocument, command: EditorCommand): OverlayDocument;
11251
+ /**
11252
+ * Undo last executed command.
11253
+ */
11254
+ undo(doc: OverlayDocument): OverlayDocument;
11255
+ /**
11256
+ * Redo previously undone command.
11257
+ */
11258
+ redo(doc: OverlayDocument): OverlayDocument;
11259
+ canUndo(): boolean;
11260
+ canRedo(): boolean;
11261
+ getUndoCount(): number;
11262
+ getRedoCount(): number;
11263
+ clear(): void;
11264
+ beginDragSession(nodes: SceneNode[]): void;
11265
+ commitDragSession(doc: OverlayDocument, currentNodes: SceneNode[]): OverlayDocument;
11266
+ applyCommand(doc: OverlayDocument, command: EditorCommand): EditorExecutionResult;
11267
+ private updateNodeInDoc;
11268
+ private insertNodeIntoDoc;
11269
+ private removeNodeFromDoc;
11270
+ }
11271
+ declare const editorCommandSystem: EditorCommandSystem;
11272
+
11273
+ declare class PropertyInspectorEngine {
11274
+ private commandSystem;
11275
+ constructor(commandSystem?: EditorCommandSystem);
11276
+ /**
11277
+ * Update Shape / Frame Fill Color.
11278
+ */
11279
+ setFillColor(doc: OverlayDocument, nodeId: string, fillColor: string): OverlayDocument;
11280
+ /**
11281
+ * Update Stroke (Border) styling.
11282
+ */
11283
+ setStroke(doc: OverlayDocument, nodeId: string, strokeColor: string, strokeWidth?: number): OverlayDocument;
11284
+ /**
11285
+ * Update Corner Radius.
11286
+ */
11287
+ setCornerRadius(doc: OverlayDocument, nodeId: string, borderRadius: number): OverlayDocument;
11288
+ /**
11289
+ * Update Text Typography properties.
11290
+ */
11291
+ setTypography(doc: OverlayDocument, nodeId: string, options: {
11292
+ text?: string;
11293
+ fontSize?: number;
11294
+ fontWeight?: string;
11295
+ color?: string;
11296
+ textAlign?: "left" | "center" | "right";
11297
+ }): OverlayDocument;
11298
+ /**
11299
+ * Update Frame Spatial Layout properties.
11300
+ */
11301
+ setFrameLayout(doc: OverlayDocument, nodeId: string, layout: {
11302
+ mode?: "flex-row" | "flex-column" | "none" | "grid";
11303
+ gap?: number | {
11304
+ col: number;
11305
+ row: number;
11306
+ };
11307
+ padding?: number | {
11308
+ top: number;
11309
+ right: number;
11310
+ bottom: number;
11311
+ left: number;
11312
+ };
11313
+ alignItems?: "flex-start" | "center" | "flex-end" | "stretch";
11314
+ justifyContent?: "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
11315
+ widthMode?: "fixed" | "hug" | "fill";
11316
+ heightMode?: "fixed" | "hug" | "fill";
11317
+ }): OverlayDocument;
11318
+ /**
11319
+ * Update Media Sizing, ObjectFit & Asset reference.
11320
+ */
11321
+ setMediaProps(doc: OverlayDocument, nodeId: string, props: {
11322
+ assetId?: string;
11323
+ objectFit?: "cover" | "contain" | "fill" | "none";
11324
+ aspectRatioLock?: boolean;
11325
+ }): OverlayDocument;
11326
+ private findNode;
11327
+ }
11328
+ declare const propertyInspectorEngine: PropertyInspectorEngine;
11329
+
11330
+ interface SmartAlignmentGuide {
11331
+ type: "horizontal" | "vertical";
11332
+ position: number;
11333
+ label?: string;
11334
+ start?: number;
11335
+ end?: number;
11336
+ }
11337
+ interface SmartSnapResult {
11338
+ x: number;
11339
+ y: number;
11340
+ snappedX: boolean;
11341
+ snappedY: boolean;
11342
+ guides: SmartAlignmentGuide[];
11343
+ }
11344
+ declare class SmartGuideEngine {
11345
+ /**
11346
+ * Calculate snapped position and active visual guides for a moving node bounding box.
11347
+ */
11348
+ static calculateSnap(moving: {
11349
+ x: number;
11350
+ y: number;
11351
+ width: number;
11352
+ height: number;
11353
+ }, otherNodes: SceneNode[], canvasWidth?: number, canvasHeight?: number, threshold?: number): SmartSnapResult;
11354
+ }
11355
+
11356
+ interface BindingDefinition {
11357
+ targetProperty: string;
11358
+ expression: string;
11359
+ }
11360
+ declare class DataBindingAuthoringEngine {
11361
+ private commandSystem;
11362
+ constructor(commandSystem?: EditorCommandSystem);
11363
+ /**
11364
+ * Bind a node property to a dynamic variable expression (e.g. "{{speaker.name}}").
11365
+ */
11366
+ bindProperty(doc: OverlayDocument, nodeId: string, targetProperty: string, expression: string): OverlayDocument;
11367
+ /**
11368
+ * Unbind a dynamic variable expression from a node property.
11369
+ */
11370
+ unbindProperty(doc: OverlayDocument, nodeId: string, targetProperty: string): OverlayDocument;
11371
+ /**
11372
+ * List all declared document variables and dataset fields.
11373
+ */
11374
+ getAvailableVariables(doc: OverlayDocument): DocumentVariable[];
11375
+ /**
11376
+ * Add a new document variable to the schema.
11377
+ */
11378
+ addVariable(doc: OverlayDocument, variable: DocumentVariable): OverlayDocument;
11379
+ private findNode;
11380
+ }
11381
+ declare const dataBindingAuthoringEngine: DataBindingAuthoringEngine;
11382
+
11383
+ /**
11384
+ * Metric Engine
11385
+ *
11386
+ * Governing evaluation subsystem for KPI, Metric, and Telemetry cards.
11387
+ * Provides deterministic number/currency/percent formatting, robust delta
11388
+ * and trend calculations, and keyframe count-up interpolation.
11389
+ */
11390
+ interface MetricFormatOptions {
11391
+ format?: "number" | "currency" | "percent" | "compact";
11392
+ currencySymbol?: string;
11393
+ decimals?: number;
11394
+ locale?: string;
11395
+ prefix?: string;
11396
+ suffix?: string;
11397
+ }
11398
+ interface MetricDelta {
11399
+ absoluteChange: number;
11400
+ percentageChange: number;
11401
+ direction: "up" | "down" | "neutral";
11402
+ formattedDelta: string;
11403
+ formattedPercentage: string;
11404
+ }
11405
+ interface MetricEvaluationResult {
11406
+ rawValue: number;
11407
+ animatedValue: number;
11408
+ formattedValue: string;
11409
+ label?: string;
11410
+ prefix?: string;
11411
+ suffix?: string;
11412
+ delta?: MetricDelta;
11413
+ progress: number;
11414
+ }
11415
+ type CountUpEasing = "linear" | "easeIn" | "easeOut" | "easeInOut";
11416
+ declare class MetricEngine {
11417
+ /**
11418
+ * Format numeric value into human-readable strings (currency, percent, compact abbreviations).
11419
+ */
11420
+ static formatValue(value: number | string, options?: MetricFormatOptions): string;
11421
+ /**
11422
+ * Calculate absolute delta, percentage difference, and directional trend with edge-case hardening.
11423
+ */
11424
+ static calculateDelta(currentValue: number, previousValue?: number): MetricDelta | undefined;
11425
+ /**
11426
+ * Interpolate count-up animation progress from start to target value using easing curves.
11427
+ */
11428
+ static interpolateCountUp(targetValue: number, startValue?: number, progress?: number, easing?: CountUpEasing): number;
11429
+ /**
11430
+ * Evaluate full Metric state for animation timestamp t.
11431
+ */
11432
+ static evaluateMetric(rawValue: number | string, options?: MetricFormatOptions & {
11433
+ previousValue?: number;
11434
+ countUp?: boolean;
11435
+ progress?: number;
11436
+ easing?: CountUpEasing;
11437
+ label?: string;
11438
+ }): MetricEvaluationResult;
11439
+ }
11440
+
11441
+ /**
11442
+ * Series Engine
11443
+ *
11444
+ * Core mathematical engine for series-based visual analytics:
11445
+ * - Domain / Range mapping and scale normalization
11446
+ * - Radial / Arc sweep calculations (Gauges)
11447
+ * - Multi-series chart geometry (Bar, Line, Area, Donut)
11448
+ * - Threshold band state evaluation
11449
+ * - Milestone status evaluation (Timeline)
11450
+ */
11451
+ interface ThresholdBand {
11452
+ value: number;
11453
+ state?: "normal" | "warning" | "critical";
11454
+ color?: string;
11455
+ label?: string;
11456
+ }
11457
+ interface EvaluatedThreshold {
11458
+ value: number;
11459
+ state: "normal" | "warning" | "critical";
11460
+ color: string;
11461
+ label?: string;
11462
+ }
11463
+ interface ArcGeometryOutput {
11464
+ cx: number;
11465
+ cy: number;
11466
+ radius: number;
11467
+ innerRadius: number;
11468
+ startAngle: number;
11469
+ fullSweep: number;
11470
+ animSweep: number;
11471
+ normalizedProgress: number;
11472
+ }
11473
+ interface SeriesPoint {
11474
+ x: number;
11475
+ y: number;
11476
+ rawValue: number;
11477
+ category: string;
11478
+ seriesId: string;
11479
+ color: string;
11480
+ }
11481
+ interface BarGeometryItem {
11482
+ seriesId: string;
11483
+ categoryIndex: number;
11484
+ category: string;
11485
+ x: number;
11486
+ y: number;
11487
+ width: number;
11488
+ height: number;
11489
+ rawValue: number;
11490
+ color: string;
11491
+ }
11492
+ interface ChartScale {
11493
+ domainMin: number;
11494
+ domainMax: number;
11495
+ categories: string[];
11496
+ seriesIds: string[];
11497
+ }
11498
+ interface MilestoneItem {
11499
+ id: string;
11500
+ title: string;
11501
+ time?: number;
11502
+ timestamp?: string;
11503
+ description?: string;
11504
+ }
11505
+ interface EvaluatedMilestone {
11506
+ id: string;
11507
+ title: string;
11508
+ x: number;
11509
+ y: number;
11510
+ status: "completed" | "active" | "future";
11511
+ progress: number;
11512
+ }
11513
+ declare class SeriesEngine {
11514
+ /**
11515
+ * Evaluate threshold state and color from sorted threshold bands.
11516
+ */
11517
+ static evaluateThreshold(value: number, thresholds?: ThresholdBand[], defaultColor?: string, defaultState?: "normal" | "warning" | "critical"): EvaluatedThreshold;
11518
+ /**
11519
+ * Calculate radial and arc sweep geometry for Gauges and Circular Indicators.
11520
+ */
11521
+ static computeArcGeometry(value: number, min?: number, max?: number, width?: number, height?: number, style?: "semicircle" | "arc" | "full", sweepAngleDeg?: number, animationProgress?: number): ArcGeometryOutput;
11522
+ /**
11523
+ * Extract domain scale and categorical metadata across arbitrary dataset arrays.
11524
+ */
11525
+ static computeScale(data: any[], xField?: string, seriesKeys?: string[]): ChartScale;
11526
+ /**
11527
+ * Generate bar geometries (grouped or single series) mapped to plot bounds.
11528
+ */
11529
+ static computeBars(data: any[], scale: ChartScale, plotWidth: number, plotHeight: number, xField?: string, seriesConfig?: Array<{
11530
+ id: string;
11531
+ color?: string;
11532
+ }>, animationProgress?: number): BarGeometryItem[];
11533
+ /**
11534
+ * Generate polyline points and area paths for line charts.
11535
+ */
11536
+ static computeLinePoints(data: any[], scale: ChartScale, plotWidth: number, plotHeight: number, xField?: string, seriesConfig?: Array<{
11537
+ id: string;
11538
+ color?: string;
11539
+ }>, animationProgress?: number): Map<string, SeriesPoint[]>;
11540
+ /**
11541
+ * Evaluate milestone sequences for timeline progress indicators.
11542
+ */
11543
+ static evaluateMilestones(milestones: MilestoneItem[], activeMilestoneIndex?: number, width?: number, height?: number, orientation?: "horizontal" | "vertical"): EvaluatedMilestone[];
11544
+ }
11545
+
11546
+ /**
11547
+ * Grid Engine
11548
+ *
11549
+ * Core engine for tabular data structures and data grids:
11550
+ * - Dynamic column width distribution (Fixed, Hug, Fill weights)
11551
+ * - Cell value formatting and alignment
11552
+ * - Row striping and cell bounding boxes
11553
+ * - Row virtualization windowing math
11554
+ */
11555
+ interface ColumnDefinition {
11556
+ key: string;
11557
+ label?: string;
11558
+ width?: number;
11559
+ widthMode?: "fixed" | "hug" | "fill";
11560
+ flexWeight?: number;
11561
+ align?: "left" | "center" | "right";
11562
+ format?: "text" | "number" | "currency" | "percent";
11563
+ decimals?: number;
11564
+ }
11565
+ interface ComputedColumn {
11566
+ key: string;
11567
+ label: string;
11568
+ x: number;
11569
+ width: number;
11570
+ align: "left" | "center" | "right";
11571
+ format?: "text" | "number" | "currency" | "percent";
11572
+ }
11573
+ interface ComputedCell {
11574
+ columnKey: string;
11575
+ rawValue: any;
11576
+ formattedValue: string;
11577
+ x: number;
11578
+ y: number;
11579
+ width: number;
11580
+ height: number;
11581
+ align: "left" | "center" | "right";
11582
+ }
11583
+ interface ComputedRow {
11584
+ rowIndex: number;
11585
+ y: number;
11586
+ height: number;
11587
+ isEven: boolean;
11588
+ cells: ComputedCell[];
11589
+ }
11590
+ interface TableLayoutResult {
11591
+ columns: ComputedColumn[];
11592
+ rows: ComputedRow[];
11593
+ totalWidth: number;
11594
+ totalHeight: number;
11595
+ headerHeight: number;
11596
+ }
11597
+ interface VirtualWindow {
11598
+ startIndex: number;
11599
+ endIndex: number;
11600
+ offsetY: number;
11601
+ totalHeight: number;
11602
+ }
11603
+ declare class GridEngine {
11604
+ /**
11605
+ * Compute column horizontal distribution across available container width.
11606
+ */
11607
+ static distributeColumns(columns: ColumnDefinition[], containerWidth: number, minColWidth?: number): ComputedColumn[];
11608
+ /**
11609
+ * Format individual table cell values based on column formatting schema.
11610
+ */
11611
+ static formatCell(value: any, format?: "text" | "number" | "currency" | "percent", decimals?: number): string;
11612
+ /**
11613
+ * Compute full tabular grid layout including headers and rows.
11614
+ */
11615
+ static computeTableLayout(data: any[], columnDefs: ColumnDefinition[], containerWidth?: number, rowHeight?: number, headerHeight?: number): TableLayoutResult;
11616
+ /**
11617
+ * Compute virtual windowing bounds for large dataset rendering.
11618
+ */
11619
+ static computeVirtualWindow(totalRows: number, rowHeight?: number, scrollTop?: number, viewportHeight?: number, overscan?: number): VirtualWindow;
11620
+ }
11621
+
11622
+ type ResourceState$1 = "pending" | "loading" | "ready" | "missing" | "error";
11623
+ interface RegisteredAsset {
11624
+ ref: AssetRef;
11625
+ state: ResourceState$1;
11626
+ /** Number of document nodes currently referencing this asset */
11627
+ refCount: number;
11628
+ /** Final resolved URL — blob URL for local, original URI for remote */
11629
+ resolvedUrl?: string;
11630
+ error?: string;
11631
+ }
11632
+ /**
11633
+ * Central in-memory asset registry.
11634
+ *
11635
+ * Invariants:
11636
+ * - Same assetId always returns the same RegisteredAsset object (identity-stable)
11637
+ * - refCount tracks how many nodes reference the asset
11638
+ * - Releasing the last reference transitions state to "missing" (no delete — allows re-registration)
11639
+ * - Binary data is NEVER stored inside a registry entry
11640
+ */
11641
+ declare class AssetRegistry$1 {
11642
+ private entries;
11643
+ /**
11644
+ * Register an asset reference. If already registered, increments refCount
11645
+ * and updates the ref metadata (source, uri, metadata may change).
11646
+ */
11647
+ register(ref: AssetRef): RegisteredAsset;
11648
+ /**
11649
+ * Mark an asset as loaded and ready, storing its resolved URL.
11650
+ * Binary data must NOT be passed here — only a URL.
11651
+ */
11652
+ markReady(assetId: string, resolvedUrl: string): void;
11653
+ /**
11654
+ * Mark an asset as currently loading (e.g. fetch in flight).
11655
+ */
11656
+ markLoading(assetId: string): void;
11657
+ /**
11658
+ * Mark an asset as errored with a diagnostic message.
11659
+ */
11660
+ markError(assetId: string, error: string): void;
11661
+ /**
11662
+ * Decrement refCount. If count reaches 0, transitions to "missing".
11663
+ * Does NOT delete the entry — allows re-registration without losing state identity.
11664
+ */
11665
+ release(assetId: string): void;
11666
+ /**
11667
+ * Returns the RegisteredAsset entry, or undefined if not known.
11668
+ */
11669
+ get(assetId: string): RegisteredAsset | undefined;
11670
+ /**
11671
+ * Returns the current ResourceState for an assetId.
11672
+ * Returns "missing" if the asset has never been registered.
11673
+ */
11674
+ getState(assetId: string): ResourceState$1;
11675
+ /**
11676
+ * Returns all currently registered AssetRef entries.
11677
+ */
11678
+ list(): AssetRef[];
11679
+ /**
11680
+ * Clears the entire registry. Use only for testing or full session reset.
11681
+ */
11682
+ clear(): void;
11683
+ /**
11684
+ * Returns the total number of registered assets (including missing/error states).
11685
+ */
11686
+ size(): number;
11687
+ }
11688
+ /** Singleton asset registry for the current studio session */
11689
+ declare const assetRegistry: AssetRegistry$1;
11690
+
11691
+ interface RegisteredFont {
11692
+ ref: FontRef;
11693
+ state: ResourceState$1;
11694
+ /** CSS font-family value to use in fallback scenarios */
11695
+ fallbackFamily: string;
11696
+ }
11697
+ /**
11698
+ * Central font registry.
11699
+ *
11700
+ * Invariants:
11701
+ * - A font reference can never crash resolution — getFallback() always returns a valid value
11702
+ * - Weight/style variants are registered and resolved independently
11703
+ * - Font state changes do NOT mutate the OverlayDocument
11704
+ * - Missing font always falls back to "system-ui" or a registered substitute
11705
+ */
11706
+ declare class FontRegistry {
11707
+ private entries;
11708
+ /** Compute a stable key for a font variant */
11709
+ private key;
11710
+ /**
11711
+ * Register a font reference. If the same variant is already registered,
11712
+ * updates state and metadata.
10788
11713
  */
10789
11714
  register(ref: FontRef): RegisteredFont;
10790
11715
  /**
@@ -10799,7 +11724,7 @@ declare class FontRegistry {
10799
11724
  * Returns the current ResourceState for a font variant.
10800
11725
  * Returns "missing" if the font has never been registered.
10801
11726
  */
10802
- getState(family: string, weight: number, style: "normal" | "italic"): ResourceState;
11727
+ getState(family: string, weight: number, style: "normal" | "italic"): ResourceState$1;
10803
11728
  /**
10804
11729
  * Returns the CSS font-family to apply for a given font request.
10805
11730
  * If the font is ready, returns the requested family.
@@ -10821,7 +11746,7 @@ declare const fontRegistry: FontRegistry;
10821
11746
 
10822
11747
  interface ResolvedAsset {
10823
11748
  assetId: string;
10824
- state: ResourceState;
11749
+ state: ResourceState$1;
10825
11750
  /** Ready-to-use URL — blob URL for local, original URI for remote */
10826
11751
  url?: string;
10827
11752
  /** Always-available placeholder — checkerboard data URI */
@@ -10831,7 +11756,7 @@ interface ResolvedFont {
10831
11756
  family: string;
10832
11757
  /** Actual CSS font-family to apply — may be fallback */
10833
11758
  resolvedFamily: string;
10834
- state: ResourceState;
11759
+ state: ResourceState$1;
10835
11760
  }
10836
11761
  /**
10837
11762
  * Async-capable asset and font resolver that sits between the document
@@ -10920,13 +11845,14 @@ declare function resolveDocumentForBreakpoint(doc: OverlayDocument, breakpointId
10920
11845
  * Phase 4K / 4L / 4M — Production Export & Rendering Pipeline Types
10921
11846
  */
10922
11847
 
10923
- type ExportProfile = "720p-landscape" | "1080p-landscape" | "1080p-portrait" | "1080p-square" | "4:5-portrait" | "custom";
11848
+ type ExportProfile = "720p-landscape" | "1080p-landscape" | "1080p-portrait" | "1080p-square" | "4:5-portrait" | "4k-landscape" | "custom";
10924
11849
  interface ProfileCanvasDimensions {
10925
11850
  width: number;
10926
11851
  height: number;
10927
11852
  }
10928
11853
  declare const EXPORT_PROFILE_PRESETS: Record<Exclude<ExportProfile, "custom">, ProfileCanvasDimensions>;
10929
- type ExportFormat = "png-sequence" | "webm" | "gif" | "raw-frames";
11854
+ type ExportFormat = "png-sequence" | "webm" | "gif" | "raw-frames" | "mp4" | "prores";
11855
+ type VideoCodecProfile = "h264" | "hevc" | "av1" | "prores-4444" | "prores-422";
10930
11856
  interface ExportConfig {
10931
11857
  profile: ExportProfile;
10932
11858
  /** Breakpoint ID for responsive resolution. null = base document canvas */
@@ -10945,6 +11871,10 @@ interface ExportConfig {
10945
11871
  transparent?: boolean;
10946
11872
  /** Target export output format */
10947
11873
  format?: ExportFormat;
11874
+ /** Video codec profile */
11875
+ codec?: VideoCodecProfile;
11876
+ /** Target bitrate in bps (e.g. 12_000_000 for 12 Mbps) */
11877
+ bitrate?: number;
10948
11878
  /** Context data overrides for variable evaluation during export */
10949
11879
  contextData?: Record<string, any>;
10950
11880
  }
@@ -11127,6 +12057,14 @@ declare class RawFramesEncoder implements MediaEncoder {
11127
12057
  format: ExportFormat;
11128
12058
  encode(frames: AsyncIterable<EvaluatedExportFrame>, config: ExportConfig, signal?: AbortSignal, onProgress?: (progress: ExportProgress) => void): Promise<EncodedOutput>;
11129
12059
  }
12060
+ declare class Mp4VideoEncoder implements MediaEncoder {
12061
+ format: ExportFormat;
12062
+ encode(frames: AsyncIterable<EvaluatedExportFrame>, config: ExportConfig, signal?: AbortSignal, onProgress?: (progress: ExportProgress) => void): Promise<EncodedOutput>;
12063
+ }
12064
+ declare class ProResVideoEncoder implements MediaEncoder {
12065
+ format: ExportFormat;
12066
+ encode(frames: AsyncIterable<EvaluatedExportFrame>, config: ExportConfig, signal?: AbortSignal, onProgress?: (progress: ExportProgress) => void): Promise<EncodedOutput>;
12067
+ }
11130
12068
  declare class MediaEncoderRegistry {
11131
12069
  private encoders;
11132
12070
  constructor();
@@ -11183,6 +12121,273 @@ declare class ExportJob {
11183
12121
  toRecord(): ExportJobRecord;
11184
12122
  }
11185
12123
 
12124
+ /**
12125
+ * Clypra Asset Runtime Core Types
12126
+ *
12127
+ * Universal contracts for asset identity, protocol resolution,
12128
+ * resource caching, and frame-level export determinism.
12129
+ */
12130
+ type AssetProtocol = "asset" | "https" | "http" | "file" | "blob" | "binding" | "font";
12131
+ interface FocalPoint {
12132
+ x: number;
12133
+ y: number;
12134
+ }
12135
+ interface IntrinsicMetadata {
12136
+ width: number;
12137
+ height: number;
12138
+ aspectRatio: number;
12139
+ mimeType?: string;
12140
+ duration?: number;
12141
+ }
12142
+ interface AssetDescriptor {
12143
+ id: string;
12144
+ protocol: AssetProtocol;
12145
+ source: string;
12146
+ version?: string | number;
12147
+ focalPoint?: FocalPoint;
12148
+ intrinsicMeta?: IntrinsicMetadata;
12149
+ tags?: string[];
12150
+ }
12151
+ type ResourceKind = "image-bitmap" | "gpu-texture" | "video-frame" | "audio-buffer" | "svg-vector" | "font-face" | "lottie-tree" | "placeholder";
12152
+ type ResourceState = "idle" | "loading" | "decoded" | "ready" | "error";
12153
+ interface ResolvedResource<T = any> {
12154
+ handle: string;
12155
+ assetId: string;
12156
+ kind: ResourceKind;
12157
+ data: T | null;
12158
+ width: number;
12159
+ height: number;
12160
+ byteSize: number;
12161
+ state: ResourceState;
12162
+ error?: string;
12163
+ refCount: number;
12164
+ lastAccessTime: number;
12165
+ }
12166
+ interface CacheKeyOptions {
12167
+ assetId: string;
12168
+ version?: string | number;
12169
+ targetWidth?: number;
12170
+ targetHeight?: number;
12171
+ fitMode?: string;
12172
+ focalPoint?: FocalPoint;
12173
+ }
12174
+ interface FrameAssetDependency {
12175
+ nodeId: string;
12176
+ assetId: string;
12177
+ timelineStart: number;
12178
+ timelineEnd: number;
12179
+ }
12180
+
12181
+ /**
12182
+ * Universal Resource Cache
12183
+ *
12184
+ * Provides thread-safe, deduplicated memory management for decoded
12185
+ * images, textures, audio buffers, and parsed vectors with LRU eviction.
12186
+ */
12187
+ declare class ResourceCache {
12188
+ private resources;
12189
+ private pendingPromises;
12190
+ private maxByteSize;
12191
+ private currentByteSize;
12192
+ constructor(maxByteSize?: number);
12193
+ /**
12194
+ * Deterministically generate a composite cache key.
12195
+ */
12196
+ static generateKey(options: CacheKeyOptions): string;
12197
+ /**
12198
+ * Retrieve a cached resource synchronously if available.
12199
+ */
12200
+ get<T = any>(key: string): ResolvedResource<T> | undefined;
12201
+ /**
12202
+ * Check if a resource key is currently ready in cache.
12203
+ */
12204
+ isReady(key: string): boolean;
12205
+ /**
12206
+ * Acquire a resource (increments reference count).
12207
+ */
12208
+ acquire<T = any>(key: string): ResolvedResource<T> | undefined;
12209
+ /**
12210
+ * Release a resource (decrements reference count).
12211
+ */
12212
+ release(key: string): void;
12213
+ /**
12214
+ * Store or update a resolved resource in cache.
12215
+ */
12216
+ set<T = any>(key: string, resource: Omit<ResolvedResource<T>, "handle" | "lastAccessTime" | "refCount">): ResolvedResource<T>;
12217
+ /**
12218
+ * Load or retrieve an asset resource asynchronously with deduplicated in-flight requests.
12219
+ */
12220
+ loadResource<T = any>(key: string, loader: () => Promise<{
12221
+ data: T;
12222
+ width: number;
12223
+ height: number;
12224
+ byteSize?: number;
12225
+ kind: ResourceKind;
12226
+ }>, assetId: string): Promise<ResolvedResource<T>>;
12227
+ /**
12228
+ * Evict least-recently-used unreferenced resources when memory threshold is reached.
12229
+ */
12230
+ private evictIfNeeded;
12231
+ /**
12232
+ * Get current resource cache size and memory stats.
12233
+ */
12234
+ getStats(): {
12235
+ resourceCount: number;
12236
+ pendingCount: number;
12237
+ currentByteSize: number;
12238
+ maxByteSize: number;
12239
+ };
12240
+ /**
12241
+ * Clear all cached resources.
12242
+ */
12243
+ clear(): void;
12244
+ }
12245
+
12246
+ /**
12247
+ * Universal Asset Registry
12248
+ *
12249
+ * Serves as the single source of truth for project media assets,
12250
+ * managing asset identity, protocol extraction, metadata caching,
12251
+ * and project-level serialization.
12252
+ */
12253
+ declare class AssetRegistry {
12254
+ private assets;
12255
+ /**
12256
+ * Infer the AssetProtocol from a raw URI/string source.
12257
+ */
12258
+ static inferProtocol(source: string): AssetProtocol;
12259
+ /**
12260
+ * Register a new asset or update an existing descriptor.
12261
+ */
12262
+ register(descriptor: AssetDescriptor): AssetDescriptor;
12263
+ /**
12264
+ * Convenience registration from raw URI.
12265
+ */
12266
+ registerFromSource(id: string, source: string, options?: {
12267
+ focalPoint?: FocalPoint;
12268
+ intrinsicMeta?: IntrinsicMetadata;
12269
+ version?: string | number;
12270
+ tags?: string[];
12271
+ }): AssetDescriptor;
12272
+ /**
12273
+ * Retrieve asset descriptor by canonical ID.
12274
+ */
12275
+ get(id: string): AssetDescriptor | undefined;
12276
+ /**
12277
+ * Check if an asset ID is registered.
12278
+ */
12279
+ has(id: string): boolean;
12280
+ /**
12281
+ * Update intrinsic metadata for a registered asset (e.g. after decoding).
12282
+ */
12283
+ updateIntrinsicMetadata(id: string, meta: IntrinsicMetadata): void;
12284
+ /**
12285
+ * Update default focal point for smart cropping.
12286
+ */
12287
+ updateFocalPoint(id: string, focalPoint: FocalPoint): void;
12288
+ /**
12289
+ * List all registered asset descriptors.
12290
+ */
12291
+ list(): AssetDescriptor[];
12292
+ /**
12293
+ * Remove an asset by ID.
12294
+ */
12295
+ unregister(id: string): boolean;
12296
+ /**
12297
+ * Clear all registered assets.
12298
+ */
12299
+ clear(): void;
12300
+ /**
12301
+ * Export asset manifest for project packaging.
12302
+ */
12303
+ toJSON(): AssetDescriptor[];
12304
+ /**
12305
+ * Import asset manifest from project package.
12306
+ */
12307
+ fromJSON(manifest: AssetDescriptor[]): void;
12308
+ }
12309
+
12310
+ /**
12311
+ * Export Dependency Graph & Frame Readiness Barrier
12312
+ *
12313
+ * Ensures deterministic, zero-frame-drop rendering in headless export pipelines
12314
+ * by verifying all active asset dependencies at timestamp `t` are decoded and ready.
12315
+ */
12316
+ declare class ExportDependencyGraph {
12317
+ private dependencies;
12318
+ /**
12319
+ * Register a node's asset dependency across a timeline interval.
12320
+ */
12321
+ registerDependency(dep: FrameAssetDependency): void;
12322
+ /**
12323
+ * Clear all registered timeline dependencies.
12324
+ */
12325
+ clear(): void;
12326
+ /**
12327
+ * Find all asset IDs required at the given timeline timestamp.
12328
+ */
12329
+ getRequiredAssetIdsAt(timelineTime: number): string[];
12330
+ /**
12331
+ * Check if all required assets for the given timeline timestamp are ready in the resource cache.
12332
+ */
12333
+ isFrameReady(timelineTime: number, cache?: ResourceCache, registry?: AssetRegistry): boolean;
12334
+ /**
12335
+ * Get the list of asset IDs that are still pending or missing for the given timestamp.
12336
+ */
12337
+ getPendingAssetIdsAt(timelineTime: number, cache?: ResourceCache, registry?: AssetRegistry): string[];
12338
+ }
12339
+
12340
+ /**
12341
+ * Live Broadcast Bridge
12342
+ *
12343
+ * Real-time zero-frame-drop overlay streaming engine for OBS Studio,
12344
+ * NDI feeds, WebRTC broadcast pipelines, and virtual camera sinks.
12345
+ */
12346
+
12347
+ interface LiveBroadcastOptions {
12348
+ fps?: number;
12349
+ width?: number;
12350
+ height?: number;
12351
+ transparent?: boolean;
12352
+ onFrame?: (frame: EvaluatedBroadcastFrame) => void;
12353
+ onError?: (err: Error) => void;
12354
+ }
12355
+ interface EvaluatedBroadcastFrame extends EvaluatedExportFrame {
12356
+ isAssetReady: boolean;
12357
+ pendingAssetIds: string[];
12358
+ dropped: boolean;
12359
+ }
12360
+ declare class LiveBroadcastBridge {
12361
+ private active;
12362
+ private currentDoc;
12363
+ private options;
12364
+ private frameCount;
12365
+ private startTime;
12366
+ private depGraph;
12367
+ private cache;
12368
+ private registry;
12369
+ constructor(depGraph?: ExportDependencyGraph, cache?: ResourceCache, registry?: AssetRegistry);
12370
+ /**
12371
+ * Initialize a live broadcast session for an OverlayDocument.
12372
+ */
12373
+ start(doc: OverlayDocument, options?: LiveBroadcastOptions): void;
12374
+ /**
12375
+ * Stop active broadcast session.
12376
+ */
12377
+ stop(): void;
12378
+ isActive(): boolean;
12379
+ getFrameCount(): number;
12380
+ /**
12381
+ * Generate next broadcast frame at exact timestamp with live telemetry data overrides.
12382
+ */
12383
+ emitFrame(time: number, liveTelemetry?: Record<string, any>): EvaluatedBroadcastFrame;
12384
+ /**
12385
+ * Dynamically hot-swap or update the broadcast document without dropping running stream connection.
12386
+ */
12387
+ updateDocument(nextDoc: OverlayDocument): void;
12388
+ }
12389
+ declare const liveBroadcastBridge: LiveBroadcastBridge;
12390
+
11186
12391
  /**
11187
12392
  * Phase 4R.2 — Modular Visualization Renderer & Projection Registry
11188
12393
  *
@@ -11363,6 +12568,209 @@ declare class VisualizationEngine {
11363
12568
  }
11364
12569
  declare const visualizationEngine: VisualizationEngine;
11365
12570
 
12571
+ /**
12572
+ * Phase 4R.1 — Executable Capability Registry
12573
+ *
12574
+ * Defines machine-readable capability entries and executable probe interfaces
12575
+ * for all 19 primitive node types in Clypra Studio.
12576
+ */
12577
+ type CapabilityStatus = "complete" | "partial" | "missing" | "limitation";
12578
+ interface CapabilityEntry {
12579
+ id: string;
12580
+ name: string;
12581
+ primitiveType: string;
12582
+ category: "graphics" | "data" | "visualization" | "structure" | "media";
12583
+ status: {
12584
+ schema: CapabilityStatus;
12585
+ factory: CapabilityStatus;
12586
+ command: CapabilityStatus;
12587
+ inspector: CapabilityStatus;
12588
+ animation: CapabilityStatus;
12589
+ responsive: CapabilityStatus;
12590
+ preview: CapabilityStatus;
12591
+ export: CapabilityStatus;
12592
+ desktopGeometry: CapabilityStatus;
12593
+ desktopPixels: CapabilityStatus;
12594
+ };
12595
+ testProbe?: () => boolean;
12596
+ }
12597
+ declare const CAPABILITY_REGISTRY: Record<string, CapabilityEntry>;
12598
+ declare function getCapabilityReport(): {
12599
+ total: number;
12600
+ complete: number;
12601
+ missingDesktop: number;
12602
+ };
12603
+
12604
+ /**
12605
+ * Pure functional runtime evaluator.
12606
+ * Evaluates an OverlayDocument at explicit time `t` with runtime context.
12607
+ *
12608
+ * Guaranteed Invariants:
12609
+ * - Deterministic: (doc, context, time) => identical EvaluatedScene.
12610
+ * - Renderer-neutral: Zero DOM, PixiJS, WebGL, React, or GPU objects in EvaluatedScene.
12611
+ * - No wall-clock dependencies: Never calls Date.now(), performance.now(), or rAF.
12612
+ */
12613
+ declare function evaluateOverlayDocument(doc: OverlayDocument, context?: RuntimeContext, time?: number): EvaluatedScene;
12614
+
12615
+ type SemanticIntent = "inform" | "explain" | "compare" | "emphasize" | "identify" | "quote" | "summarize" | "enumerate" | "warn" | "demonstrate" | "annotate" | "transition";
12616
+ interface SemanticSlotDefinition {
12617
+ id: string;
12618
+ name: string;
12619
+ type: "text" | "metric" | "image" | "code" | "list" | "comparison-pair";
12620
+ required?: boolean;
12621
+ defaultValue?: any;
12622
+ }
12623
+ interface SemanticBehaviorConfig {
12624
+ entrancePattern?: "fade" | "slide-up" | "stagger-children" | "typewriter" | "pop";
12625
+ emphasisTarget?: string;
12626
+ exitPattern?: "fade" | "slide-down";
12627
+ duration?: number;
12628
+ }
12629
+ interface SemanticSpatialConstraints {
12630
+ anchorTarget?: string;
12631
+ preferredPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center" | "lower-third";
12632
+ avoidRegions?: Array<"face" | "subtitle" | "watermark">;
12633
+ collisionPolicy?: "avoid" | "push" | "stack";
12634
+ offsetPixelX?: number;
12635
+ offsetPixelY?: number;
12636
+ }
12637
+ interface SemanticOverlayDefinition {
12638
+ id: string;
12639
+ name: string;
12640
+ intent: SemanticIntent;
12641
+ description?: string;
12642
+ slots: SemanticSlotDefinition[];
12643
+ defaultBehavior?: SemanticBehaviorConfig;
12644
+ spatialConstraints?: SemanticSpatialConstraints;
12645
+ canvasDefaults?: {
12646
+ width: number;
12647
+ height: number;
12648
+ backgroundColor?: string;
12649
+ };
12650
+ }
12651
+ interface SemanticContent {
12652
+ templateId: string;
12653
+ values: Record<string, any>;
12654
+ theme?: {
12655
+ primaryColor?: string;
12656
+ secondaryColor?: string;
12657
+ backgroundColor?: string;
12658
+ textColor?: string;
12659
+ fontFamily?: string;
12660
+ };
12661
+ }
12662
+
12663
+ /**
12664
+ * Pure compiler that transforms a Semantic Overlay Definition + Content payload
12665
+ * into a canonical v2.0 OverlayDocument scene graph.
12666
+ *
12667
+ * Compilation pipeline:
12668
+ * Semantic Overlay Intent -> Slot Binding -> Scene Node Graph -> Layout Rules -> Animation Tracks
12669
+ */
12670
+ declare function compileSemanticOverlay(definition: SemanticOverlayDefinition, content: SemanticContent): OverlayDocument;
12671
+
12672
+ type AvoidRegionKind = "face" | "subtitle" | "watermark" | "safe-zone";
12673
+ interface SpatialConstraintSpec {
12674
+ anchorTo?: string;
12675
+ preferPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center" | "lower-third" | "side-right" | "side-left";
12676
+ avoidRegions?: AvoidRegionKind[];
12677
+ collisionPolicy?: "avoid" | "push" | "stack";
12678
+ safeMargin?: number;
12679
+ offsetPixelX?: number;
12680
+ offsetPixelY?: number;
12681
+ }
12682
+ /**
12683
+ * Pure evaluator that resolves semantic spatial constraints (anchorTo, avoid, prefer, offset)
12684
+ * into deterministic EvaluatedTransform coordinates at frame time `t`.
12685
+ */
12686
+ declare function resolveSpatialConstraints(initialTransform: EvaluatedTransform, constraints: SpatialConstraintSpec, videoState?: EvaluatedVideoStateAtTime, canvasWidth?: number, canvasHeight?: number): EvaluatedTransform;
12687
+
12688
+ type BehaviorKind = "enter" | "exit" | "reveal" | "emphasize" | "attention" | "follow" | "connect";
12689
+ interface BehaviorSpec {
12690
+ kind: BehaviorKind;
12691
+ pattern?: "fade" | "slide" | "pop" | "typewriter" | "stagger" | "glow-pulse" | "scale-bounce";
12692
+ startTime?: number;
12693
+ duration?: number;
12694
+ delay?: number;
12695
+ targetNodeId?: string;
12696
+ intensity?: number;
12697
+ easing?: "linear" | "ease-out" | "ease-in-out" | "elastic" | string;
12698
+ }
12699
+ /**
12700
+ * Pure compiler that resolves a high-level BehaviorSpec into deterministic NodeAnimationRules keyframe/preset tracks.
12701
+ * High-level authoring behavior -> low-level keyframe tracks.
12702
+ */
12703
+ declare function resolveBehaviorToAnimationSpec(behavior: BehaviorSpec, node?: SceneNode): NodeAnimationRules;
12704
+
12705
+ type ImageFitMode = "cover" | "contain" | "fill" | "none";
12706
+ interface SizingDimensionInput {
12707
+ specifiedWidth?: number | string;
12708
+ specifiedHeight?: number | string;
12709
+ intrinsicWidth?: number;
12710
+ intrinsicHeight?: number;
12711
+ containerWidth?: number;
12712
+ containerHeight?: number;
12713
+ defaultWidth?: number;
12714
+ defaultHeight?: number;
12715
+ }
12716
+ interface ResolvedImageDimensions {
12717
+ width: number;
12718
+ height: number;
12719
+ aspectRatio: number;
12720
+ isAutoWidth: boolean;
12721
+ isAutoHeight: boolean;
12722
+ }
12723
+ interface ImageFittingInput {
12724
+ containerWidth: number;
12725
+ containerHeight: number;
12726
+ intrinsicWidth: number;
12727
+ intrinsicHeight: number;
12728
+ fitMode?: ImageFitMode;
12729
+ focalPoint?: FocalPoint;
12730
+ }
12731
+ interface ImageFittingResult {
12732
+ sourceCrop: {
12733
+ sx: number;
12734
+ sy: number;
12735
+ sWidth: number;
12736
+ sHeight: number;
12737
+ };
12738
+ destinationBox: {
12739
+ dx: number;
12740
+ dy: number;
12741
+ dWidth: number;
12742
+ dHeight: number;
12743
+ };
12744
+ scale: number;
12745
+ scaleX: number;
12746
+ scaleY: number;
12747
+ }
12748
+ /**
12749
+ * MediaImage Sizing & Focal Point Engine
12750
+ *
12751
+ * Implements deterministic aspect-ratio math, 4-mode sizing matrix resolution,
12752
+ * and focal-point smart cropping for leaf media and avatar primitives.
12753
+ */
12754
+ declare class MediaImageEngine {
12755
+ /**
12756
+ * Resolve node dimensions based on the 4-mode sizing matrix:
12757
+ * 1. (auto, auto) -> intrinsic dimensions
12758
+ * 2. (fixed, auto) -> width locked, height preserves aspect ratio
12759
+ * 3. (auto, fixed) -> height locked, width preserves aspect ratio
12760
+ * 4. (fixed, fixed) -> container locked
12761
+ */
12762
+ static resolveDimensions(input: SizingDimensionInput): ResolvedImageDimensions;
12763
+ /**
12764
+ * Compute source crop and destination mapping given container bounds,
12765
+ * intrinsic image dimensions, fit mode, and normalized focal point.
12766
+ */
12767
+ static computeFitting(input: ImageFittingInput): ImageFittingResult;
12768
+ /**
12769
+ * Convenience circular avatar fitting calculation.
12770
+ */
12771
+ static computeCircularAvatarFitting(diameter: number, intrinsicWidth: number, intrinsicHeight: number, focalPoint?: FocalPoint): ImageFittingResult;
12772
+ }
12773
+
11366
12774
  /**
11367
12775
  * @clypra-studio/engine — Canvas 2D text effects, Lottie tooling, and animation engine.
11368
12776
  * @version 0.1.0
@@ -11371,4 +12779,4 @@ declare const visualizationEngine: VisualizationEngine;
11371
12779
  /** Package version */
11372
12780
  declare const VERSION = "0.1.0";
11373
12781
 
11374
- export { type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, AlphaEffect, type AnchorMap, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, AnnotationVisualizationDefinition, type ArcGeometry, AsciiEffect, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry, type AssetSource, type AvatarNode, type AxisConfig, type AxisLabel, BUILTIN_CANVAS_TEMPLATES, type BarGeometry, type BaseCommand, type BatchCommandsCommand, type BatchInjection, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, BoundingBoxSchema, type Breakpoint, type BreakpointSet, BulgePinchEffect, COMPOSITION_PRESETS, CRTEffect, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartSeries, type ChartType, CinematicLUTEffect, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColorAdjustments, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedNodeBounds, type ConformMode, type ConnectorNode, ConnectorVisualizationDefinition, type ContainerNode, CrossHatchEffect, DEFAULT_TEXT_STYLE, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DetachComponentCommand, type DimensionMode, DisplacementEffect, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type EncodedFileEntry, type EncodedOutput, type EvaluatedAnnotationGeometry, type EvaluatedChartGeometry, type EvaluatedConnectorGeometry, type EvaluatedExportFrame, type EvaluatedGaugeGeometry, type EvaluatedNodeState, type EvaluatedSceneState, type EvaluatedTimelineEvent, type EvaluatedTimelineGeometry, type ExecutionPlanner, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, FrameGraph, FrameGraphBuilder, type FrameNode, type FrameSource, type GaugeNode, type GaugeThreshold, GaugeVisualizationDefinition, GaussianBlurEffect, type GeometryAnchor, GifEncoder, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, type GradingParams, GraphValidator, GrayscaleEffect, type GridLineGeometry, type GroupNodesCommand, HalationEffect, type HighlightRegionGeometry, HslAdjustmentEffect, type IconNode, ImageLayerSchema, InkBrushEngine, type JobChangeListener, type JobStatus, KawaseBlurEffect, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LegendEntry, LensFlareEffect, LightLeakEffect, type LinePoint, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottiePropertyPath, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MPGFrameRenderer, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, type MediaLayout, type MediaSpriteRecord, type MetricNode, MotionBlurEffect, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type Mp4ExportOptions, NeonGlowEffect, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeStyleRules, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type OverlayDefinition, type OverlayDocument, type OverlayLayerConfig, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, PixiSceneProjection, PixiSelectionOverlay, type PlotArea, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type QuoteOverlayContent, type QuoteSmartOverlayContent, RGBSplitEffect, RadialBlurEffect, RawFramesEncoder, type RecordedExecution, ReflectionEffect, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, RenderBackend, RenderEngine, type RenderViewport, type ReorderNodesCommand, type RepeaterNode, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedMediaLayout, type ResourceAllocation, type ResourceState, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, type SemanticAnimationConfig, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, ShockwaveEffect, type Size, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type StatOverlayContent, type StatSmartOverlayContent, StaticNoiseEffect, StyleRecipe, TEMPLATE_CATEGORIES, type TableColumn, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderer, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, TiltShiftEffect, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, TimelineVisualizationDefinition, type TrackDefinition, TwistEffect, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type ViewportState, ViewportTransform, VignetteEffect, type VisualizationCapabilities, type VisualizationDefinition, VisualizationEngine, type VisualizationEvaluationContext, VisualizationRegistry, type VisualizationRenderContext, type VisualizationRenderer, VisualizationRendererRegistry, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, annotationVisualization, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assetRegistry, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllOverlayBridges, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, commandExecutor, componentRegistry, compositeOverlay2D, computeAutoFitFontSize, computeFitZoom, computeTextLayout, connectorVisualization, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, enableKeyframing, encodeGif, endOverlayFrame, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, exportLottieToMp4, exportValidator, filmGrainEffect, findTrackIndex, fontRegistry, formatValidationErrors, gaugeVisualization, generateOverlayCssStyle, generateOverlayWebGpuUniforms, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, mediaEncoderRegistry, mergeGradingParams, motionPresetRegistry, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, pixiSceneProjection, pixiSelectionOverlay, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEngine, renderOverlayLayerBridged, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, scanLottieFonts, scanTextLayers, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, sortKeyframes, spotlightEffect, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, timelineVisualization, trackId, unmountOverlayLayerBridge, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, viewportTransform, visualizationEngine, visualizationRegistry, visualizationRendererRegistry, waitForFontsReady, wrapTextToWidth };
12782
+ export { type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, AlphaEffect, type AnchorMap, type AnchorSide, type AnchorXMode, type AnchorYMode, type AnimBuildOpts, type AnimKeyframe, AnimTrack, type AnimTrackDef, type AnimatableParamDef, AnimatableValue, type AnimationCategory, type AnimationDiagnostic, type AnimationDiagnosticSeverity, type AnimationEvaluationOptions, AnimationPresetSchema, AnimationRuntime, AnimationSchema, type AnimationStartSpec, type AnimationState, AnimationValidator, type AnnotationNode, AnnotationVisualizationDefinition, type ArcGeometry, type ArcGeometryOutput, AsciiEffect, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, type AxisLabel, BUILTIN_CANVAS_TEMPLATES, type BarGeometry, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, BulgePinchEffect, CAPABILITY_REGISTRY, COMPOSITION_PRESETS, CRTEffect, type CalloutNode, CanvasDevice, type CanvasSnapResult, type CapabilityEntry, type CapabilityStatus, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, CinematicLUTEffect, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColorAdjustments, ColorAdjustmentsEffect, ColorGradientEffect, ColorMatrixEffect, ColorOverlayEffect, type ColumnDefinition, type Command, CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ConformMode, type ConnectorNode, ConnectorVisualizationDefinition, type ContainerNode, type CountUpEasing, CrossHatchEffect, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DetachComponentCommand, type DimensionMode, DisplacementEffect, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, DotEffect, type DotLottieManifest, type DrawPerCharTextOptions, DropShadowEffect, type DuplicateNodesCommand, EMPHASIS_PRESETS, ENTRANCE_PRESETS, EXIT_PRESETS, EXPORT_PROFILE_PRESETS, type EasingControlPoint, type EditorAddNodeCommand, type EditorCommand, EditorCommandSystem, type EditorCommandType, type EditorExecutionResult, EffectBevelSchema, EffectFillSchema, EffectFullDefinitionSchema, EffectGlowSchema, EffectIndexItemSchema, type EffectInstance, EffectLayer, EffectPanelSchema, EffectShadowSchema, EffectStackSchema, EffectStrokeSchema, EmbossEffect, type EncodedFileEntry, type EncodedOutput, type EvaluatedAnnotationGeometry, type EvaluatedBroadcastFrame, type EvaluatedChartGeometry, type EvaluatedConnectorGeometry, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedGaugeGeometry, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTimelineEvent, type EvaluatedTimelineGeometry, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, ExportAbortError, type ExportConfig, type ExportDiagnosticCode, type ExportDiagnosticSeverity, type ExportFormat, type ExportFrameDescriptor, ExportJob, type ExportJobRecord, type ExportProfile, type ExportProgress, type ExportValidationDiagnostic, ExportValidator, FONT_WEIGHT_OPTIONS, type FillType, FilmGrainEffect, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, FrameGraph, FrameGraphBuilder, type FrameNode, type FrameSource, type GaugeNode, type GaugeThreshold, GaugeVisualizationDefinition, GaussianBlurEffect, type GeometryAnchor, GifEncoder, type GifExportOptions, type GifFrame, GlitchBandEffect, GlowEffect, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, type GradingParams, GraphValidator, GrayscaleEffect, GridEngine, type GridLineGeometry, type GroupNodesCommand, HalationEffect, type HandleType, type HighlightRegionGeometry, HslAdjustmentEffect, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, InkBrushEngine, type JobChangeListener, type JobStatus, KawaseBlurEffect, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LegendEntry, LensFlareEffect, LightLeakEffect, type LineNode, type LinePoint, type ListOverlayContent, type ListOverlayItem, type ListSmartOverlayContent, LiveBroadcastBridge, type LiveBroadcastOptions, type LottieAnimPreset, type LottieFileInfo, type LottieFontEntry, type LottieFontUsage, type LottieGradientStop, type LottieKeyframe, type LottieNode, type LottiePropertyPath, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MPGFrameRenderer, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MediaSpriteRecord, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, MotionBlurEffect, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, NeonGlowEffect, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, OldFilmEffect, OutlineEffect, type OverlayDefinition, type OverlayDocument, type OverlayLayerConfig, type ParsedTextLayer, PixelateEffect, PixiEffectDefinition, PixiRenderer, PixiSceneProjection, PixiSelectionOverlay, type PlotArea, PngSequenceEncoder, type PngSequenceFrame, type PngSequenceOptions, Preset, type PrimitiveDefinition, type PrimitiveMediaNode, PrimitiveRegistry, type PrimitiveShapeNode, type PrimitiveTextNode, ProResVideoEncoder, type ProfileCanvasDimensions, type ProgressNode, ProjectCompiler, ProjectHelper, type ProjectManifestV2, type PropertyAnimationDefinition, PropertyAnimationRegistry, type PropertyDefinition, PropertyInspectorEngine, PropertyInterpolator, type PropertySchemaField, type PropertyValueType, type PublishedOverlayArtifact, type QuoteOverlayContent, type QuoteSmartOverlayContent, RGBSplitEffect, RadialBlurEffect, RawFramesEncoder, type RecordedExecution, ReflectionEffect, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, RenderBackend, RenderEngine, type RenderViewport, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedMediaLayout, type ResourceAllocation, type ResourceState$1 as ResourceState, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, SceneDocument, type SceneNode, type SceneNodeBase, type SceneNodeType, type ScratchElementBlock, type ScratchOverlayTemplate, type ScreenPoint, SelectionEngine, type SemanticAnimationConfig, type SemanticBehaviorConfig, type SemanticContent, type SemanticIntent, type SemanticOverlayDefinition, type SemanticSlotDefinition, type SemanticSpatialConstraints, SeriesEngine, type SeriesPoint, type SetActiveBreakpointCommand, type SetAssetRefCommand, type SetBindingCommand, type SetDocumentCommand, type SetFontRefCommand, type SetResponsiveOverrideCommand, type ShaderCompilation, type ShapeKind, ShapeLayerSchema, ShockwaveEffect, type ShotBoundary, type Size, type SizingDimensionInput, type SmartAlignmentGuide, SmartGuideEngine, type SmartOverlayAnimation, type SmartOverlayClip, type SmartOverlayContentUnion, type SmartOverlayLayout, type SmartOverlayPreset, type SmartOverlayRegistryItem, SmartOverlayRegistryService, SmartOverlayRenderer, type SmartOverlayStyle, type SmartOverlayType, type SmartSnapResult, SnapEngine, type SnapResult, type SocialOverlayContent, type SocialSmartOverlayContent, type SpatialAnchorConfig, type SpatialConstraintSpec, type StatOverlayContent, type StatSmartOverlayContent, StaticNoiseEffect, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, type TextStyleOverride, TextTemplate, TextTemplateSchema, type ThresholdBand, TiltShiftEffect, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, TimelineVisualizationDefinition, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, TwistEffect, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, VERSION, VHSEffect, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, VignetteEffect, type VirtualWindow, type VisualizationCapabilities, type VisualizationDefinition, VisualizationEngine, type VisualizationEvaluationContext, VisualizationRegistry, type VisualizationRenderContext, type VisualizationRenderer, VisualizationRendererRegistry, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, ZoomBlurEffect, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, annotationVisualization, applyBodyEffectMask, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyMediaTransform, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assetRegistry, backgroundBlurEffect, bakeAnimationIntoLayer, beginStickerFrame, beginTextFrame, blendConfigs, blendScenes, bloomEffect, bodyEffects, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, chromaticAberrationEffect, clearAllBodyEffectMasks, clearAllMediaSprites, clearAllOverlayBridges, clearAllStickerBridges, clearAllTextBridges, clearAnimationFromLayer, clearBodyEffectMask, clearFontCache, clearPendingVideoLayers, clearRecipeCache, cloneSceneWithNewIds, colorIsolationEffect, commandExecutor, compileSemanticOverlay, componentRegistry, compositeOverlay2D, computeAutoFitFontSize, computeFitZoom, computeTextLayout, connectorVisualization, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createGPUBodyGlowFilter, createGPUBodyOutlineFilter, createGPUBodyParticlesFilter, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, endOverlayFrame, endStickerFrame, endTextFrame, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, exportLottieToMp4, exportValidator, filmGrainEffect, findTrackIndex, fontRegistry, formatValidationErrors, gaugeVisualization, generateOverlayCssStyle, generateOverlayWebGpuUniforms, getActiveMediaSpriteKeys, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getCapabilityReport, getClipLayout, getDefaultText, getLayerById, getMediaSpriteRecord, getOrCreateMediaSprite, getPresetScene, getSharedPixiRenderer, getSourceCropRect, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getVideoEffect, getWebMFrameCount, heatDistortionEffect, hexToLottieColor, hexToLottieRgb, hexToRgb, hitTestTransformHandles, identityEffect, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, mergeGradingParams, motionPresetRegistry, moveKeyframe, neonOutlineEffect, parseHistorySnapshot, parseLottieJson, particleAuraEffect, pixiSceneProjection, pixiSelectionOverlay, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, releaseMediaSprite, releaseSharedPixiRenderer, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEngine, renderOverlayLayerBridged, renderPngSequence, renderSceneWebM, renderStickerLayerBridged, renderTextLayerBridged, resizeCharFillColors, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, sortKeyframes, spotlightEffect, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, supportsWebGL2, timelineVisualization, trackId, unmountOverlayLayerBridge, unmountStickerLayerBridge, unmountTextLayerBridge, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneCustomEngine, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateStrict, vhsEffect, videoEffects, videoEffectsById, viewportTransform, visualizationEngine, visualizationRegistry, visualizationRendererRegistry, waitForFontsReady, wrapTextToWidth };