@clypra-studio/engine 1.8.1 → 1.10.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/chunk-XHHAW7MS.js +598 -0
- package/dist/chunk-XHHAW7MS.js.map +1 -0
- package/dist/index.cjs +332 -1781
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +107 -45
- package/dist/index.d.ts +107 -45
- package/dist/index.js +196 -31
- package/dist/index.js.map +1 -1
- package/dist/rendering/index.js +0 -1
- package/dist/textEffects/index.js +0 -1
- package/dist/transitions/index.js +0 -1
- package/dist/videoEffects/index.cjs +106 -1741
- package/dist/videoEffects/index.cjs.map +1 -1
- package/dist/videoEffects/index.d.cts +2 -115
- package/dist/videoEffects/index.d.ts +2 -115
- package/dist/videoEffects/index.js +1 -6
- package/package.json +11 -11
- package/dist/chunk-PZ5AY32C.js +0 -10
- package/dist/chunk-PZ5AY32C.js.map +0 -1
- package/dist/chunk-SH7HOGVX.js +0 -2235
- package/dist/chunk-SH7HOGVX.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { z } from 'zod';
|
|
|
4
4
|
export { C as CompositorFromScene, E as EvaluateOptions, F as FontDescriptor, a as FontLoadResult, b as FontLoader, c as FontVariant, T as TextEffectRenderer, _ as _buildConfig, d as advanceSceneTime, e as builtInPresets, f as checkFontVariant, g as createBlankTextEffectConfig, h as defaultConfig, i as ensureFontsLoaded, j as evaluateConfig, k as evaluateScene, l as getFontLoader, m as getSceneTime, n as initializeFontSystem, o as injectFontVariantRules, p as layerToTextEffectConfig, q as mergeSceneIntoConfig, r as renderTextEffectCore, s as resetFontLoader, t as resetSceneTime, u as resolveFontFamilyName, v as sceneToConfig, w as setSceneTime, x as syncCompositorFromScene, y as textEffectConfigToScene } from './index-CHLTQy2v.cjs';
|
|
5
5
|
import { R as RenderPlan, T as TextTemplateArtifact, a as ResolveTemplateControlValuesOptions, b as TemplateCustomization, c as TemplateRenderContext, C as CompiledTextTemplate } from './index-FDQDo2pR.cjs';
|
|
6
6
|
export { d as CANONICAL_RENDERER_VERSION, e as CANONICAL_SCHEMA_VERSION, f as CanonicalRenderContext, g as CanonicalRenderInput, h as CanonicalRenderResult, i as CapabilityReport, j as CapabilityStatus, k as CompiledTemplateRenderLayer, E as EvaluatedTemplateScene, P as PublishedRevision, l as RenderCapability, m as RenderDiagnostic, n as RenderDiagnostics, o as RenderEnvironment, p as RenderIdentity, q as RenderTarget, S as SceneDocumentV2, r as TEXT_TEMPLATE_KIND, s as TEXT_TEMPLATE_RENDERER_VERSION, t as TEXT_TEMPLATE_SCHEMA_VERSION, u as TemplateAssetRef, v as TemplateBackgroundPanel, w as TemplateCapabilityReport, x as TemplateContainerNode, y as TemplateContainerNodeStyle, z as TemplateControl, A as TemplateControlConstraints, B as TemplateControlOption, D as TemplateControlType, F as TemplateDependencyManifest, G as TemplateDurationPolicy, H as TemplateFontRef, I as TemplateImageNode, J as TemplateLayerV2, K as TemplateMetadata, L as TemplateNode, M as TemplateNodeAnimation, N as TemplatePreviewArtifacts, O as TemplatePropertyKeyframes, Q as TemplateProtectedRegion, U as TemplateRenderTarget, V as TemplateRevision, W as TemplateShapeNode, X as TemplateShapeNodeStyle, Y as TemplateStyleRef, Z as TemplateTextNode, _ as TemplateTextNodeStyle, $ as TemplateTimelineMarker, a0 as TemplateTiming, a1 as TextEffectRenderInput, a2 as TextTemplateCanvas, a3 as TextTemplateClip, a4 as TextTemplateDocument, a5 as TextTemplateDocumentV2, a6 as TextTemplateFlexLayout, a7 as TextTemplateRenderInput, a8 as canonicalContentHash, a9 as canonicalizeSceneDocument, aa as evaluateTextEffect, ab as evaluateTextTemplate, ac as getRenderCapabilities, ad as getTextTemplateControls, ae as normalizeTextEffect, af as normalizeTextTemplate, ag as renderCanonicalToCanvas, ah as renderTextEffectToCanvas, ai as renderTextTemplateToCanvas, aj as resolveTemplateFontFamily, ak as resolveTextTemplateArtifact } from './index-FDQDo2pR.cjs';
|
|
7
|
-
export { AppliedEffect, AppliedOverlay, BlendMode,
|
|
7
|
+
export { AppliedEffect, AppliedOverlay, BlendMode, EFFECTS_REGISTRY, EffectCategory, EffectEngine, EffectGraph, EffectMetadata, EffectParameters, EffectPreset, EffectRenderer, EffectRendererType, FilterAsset, GraphDefinition, OverlayAsset, VideoEffectApiDefinition, VideoEffectCategory, VideoEffectItem, VideoEffectManifest, VideoEffectState, addNoise, blendColors, clearCanvas, effectMetadataToApi, generateEffectsManifest, getAllEffectsForApi, getEffectByIdForApi, getEffectCategoriesSummary, getEffectMetadata, getEffectPreviewUrl, getEffectRenderer, getEffectsByCategory, getEffectsByCategoryForApi, hexToRgba, rgbaToComponents, searchEffects, searchEffectsForApi, withContext } from './videoEffects/index.cjs';
|
|
8
8
|
export { ALL_TRANSITIONS, AppliedTransition, EasingFunction, NativeTransitionDefinition, NativeTransitionParam, TRANSITION_CATEGORIES, TRANSITION_PRESETS, TransitionCategory, TransitionParameters, TransitionPreset, TransitionRenderer, TransitionRendererType, getAllTransitionTags, getAllTransitions, getRecommendedDuration, getTransitionById, getTransitionByRenderer, getTransitionCategories, getTransitionCountByCategory, getTransitionsByCategory, getTransitionsByTags, searchTransitions } from './transitions/index.cjs';
|
|
9
9
|
import { NodeCapabilities, NodeRequirements, GraphPin, GraphNode, GraphEdge, 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';
|
|
@@ -153,11 +153,11 @@ declare const FontSchema: z.ZodObject<{
|
|
|
153
153
|
}, z.core.$strip>;
|
|
154
154
|
declare const AnimationSchema: z.ZodObject<{
|
|
155
155
|
type: z.ZodEnum<{
|
|
156
|
-
fade: "fade";
|
|
157
|
-
glitch: "glitch";
|
|
158
156
|
none: "none";
|
|
159
157
|
typewriter: "typewriter";
|
|
160
158
|
wave: "wave";
|
|
159
|
+
fade: "fade";
|
|
160
|
+
glitch: "glitch";
|
|
161
161
|
}>;
|
|
162
162
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
163
163
|
amplitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -348,11 +348,11 @@ declare const EffectFullDefinitionSchema: z.ZodObject<{
|
|
|
348
348
|
glitch: z.ZodOptional<z.ZodAny>;
|
|
349
349
|
animation: z.ZodOptional<z.ZodObject<{
|
|
350
350
|
type: z.ZodEnum<{
|
|
351
|
-
fade: "fade";
|
|
352
|
-
glitch: "glitch";
|
|
353
351
|
none: "none";
|
|
354
352
|
typewriter: "typewriter";
|
|
355
353
|
wave: "wave";
|
|
354
|
+
fade: "fade";
|
|
355
|
+
glitch: "glitch";
|
|
356
356
|
}>;
|
|
357
357
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
358
358
|
amplitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -539,11 +539,11 @@ declare const TextEffectDefinitionSchema: z.ZodObject<{
|
|
|
539
539
|
glitch: z.ZodOptional<z.ZodAny>;
|
|
540
540
|
animation: z.ZodOptional<z.ZodObject<{
|
|
541
541
|
type: z.ZodEnum<{
|
|
542
|
-
fade: "fade";
|
|
543
|
-
glitch: "glitch";
|
|
544
542
|
none: "none";
|
|
545
543
|
typewriter: "typewriter";
|
|
546
544
|
wave: "wave";
|
|
545
|
+
fade: "fade";
|
|
546
|
+
glitch: "glitch";
|
|
547
547
|
}>;
|
|
548
548
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
549
549
|
amplitude: z.ZodOptional<z.ZodNumber>;
|
|
@@ -698,7 +698,7 @@ declare function validateEffectDefinition(data: unknown): z.ZodSafeParseResult<{
|
|
|
698
698
|
};
|
|
699
699
|
glitch?: any;
|
|
700
700
|
animation?: {
|
|
701
|
-
type: "
|
|
701
|
+
type: "none" | "typewriter" | "wave" | "fade" | "glitch";
|
|
702
702
|
speed?: number;
|
|
703
703
|
amplitude?: number;
|
|
704
704
|
frequency?: number;
|
|
@@ -849,7 +849,7 @@ declare function validateEffectDefinitionStrict(data: unknown): {
|
|
|
849
849
|
};
|
|
850
850
|
glitch?: any;
|
|
851
851
|
animation?: {
|
|
852
|
-
type: "
|
|
852
|
+
type: "none" | "typewriter" | "wave" | "fade" | "glitch";
|
|
853
853
|
speed?: number;
|
|
854
854
|
amplitude?: number;
|
|
855
855
|
frequency?: number;
|
|
@@ -999,7 +999,7 @@ declare function validateTextEffectDefinition(data: unknown): z.ZodSafeParseResu
|
|
|
999
999
|
};
|
|
1000
1000
|
glitch?: any;
|
|
1001
1001
|
animation?: {
|
|
1002
|
-
type: "
|
|
1002
|
+
type: "none" | "typewriter" | "wave" | "fade" | "glitch";
|
|
1003
1003
|
speed?: number;
|
|
1004
1004
|
amplitude?: number;
|
|
1005
1005
|
frequency?: number;
|
|
@@ -1151,7 +1151,7 @@ declare function validateTextEffectDefinitionStrict(data: unknown): {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
glitch?: any;
|
|
1153
1153
|
animation?: {
|
|
1154
|
-
type: "
|
|
1154
|
+
type: "none" | "typewriter" | "wave" | "fade" | "glitch";
|
|
1155
1155
|
speed?: number;
|
|
1156
1156
|
amplitude?: number;
|
|
1157
1157
|
frequency?: number;
|
|
@@ -1200,9 +1200,9 @@ declare const TemplateCategorySchema: z.ZodEnum<{
|
|
|
1200
1200
|
minimal: "minimal";
|
|
1201
1201
|
}>;
|
|
1202
1202
|
declare const AnimationPresetSchema: z.ZodEnum<{
|
|
1203
|
-
fade: "fade";
|
|
1204
1203
|
none: "none";
|
|
1205
1204
|
typewriter: "typewriter";
|
|
1205
|
+
fade: "fade";
|
|
1206
1206
|
"slide-up": "slide-up";
|
|
1207
1207
|
"slide-down": "slide-down";
|
|
1208
1208
|
"slide-left": "slide-left";
|
|
@@ -1214,9 +1214,9 @@ declare const AnimationPresetSchema: z.ZodEnum<{
|
|
|
1214
1214
|
}>;
|
|
1215
1215
|
declare const LayerAnimationSchema: z.ZodObject<{
|
|
1216
1216
|
in: z.ZodEnum<{
|
|
1217
|
-
fade: "fade";
|
|
1218
1217
|
none: "none";
|
|
1219
1218
|
typewriter: "typewriter";
|
|
1219
|
+
fade: "fade";
|
|
1220
1220
|
"slide-up": "slide-up";
|
|
1221
1221
|
"slide-down": "slide-down";
|
|
1222
1222
|
"slide-left": "slide-left";
|
|
@@ -1227,9 +1227,9 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
1227
1227
|
"blur-out": "blur-out";
|
|
1228
1228
|
}>;
|
|
1229
1229
|
out: z.ZodEnum<{
|
|
1230
|
-
fade: "fade";
|
|
1231
1230
|
none: "none";
|
|
1232
1231
|
typewriter: "typewriter";
|
|
1232
|
+
fade: "fade";
|
|
1233
1233
|
"slide-up": "slide-up";
|
|
1234
1234
|
"slide-down": "slide-down";
|
|
1235
1235
|
"slide-left": "slide-left";
|
|
@@ -1263,9 +1263,9 @@ declare const TextLayerSchema: z.ZodObject<{
|
|
|
1263
1263
|
height: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>;
|
|
1264
1264
|
animation: z.ZodObject<{
|
|
1265
1265
|
in: z.ZodEnum<{
|
|
1266
|
-
fade: "fade";
|
|
1267
1266
|
none: "none";
|
|
1268
1267
|
typewriter: "typewriter";
|
|
1268
|
+
fade: "fade";
|
|
1269
1269
|
"slide-up": "slide-up";
|
|
1270
1270
|
"slide-down": "slide-down";
|
|
1271
1271
|
"slide-left": "slide-left";
|
|
@@ -1276,9 +1276,9 @@ declare const TextLayerSchema: z.ZodObject<{
|
|
|
1276
1276
|
"blur-out": "blur-out";
|
|
1277
1277
|
}>;
|
|
1278
1278
|
out: z.ZodEnum<{
|
|
1279
|
-
fade: "fade";
|
|
1280
1279
|
none: "none";
|
|
1281
1280
|
typewriter: "typewriter";
|
|
1281
|
+
fade: "fade";
|
|
1282
1282
|
"slide-up": "slide-up";
|
|
1283
1283
|
"slide-down": "slide-down";
|
|
1284
1284
|
"slide-left": "slide-left";
|
|
@@ -1350,9 +1350,9 @@ declare const ShapeLayerSchema: z.ZodObject<{
|
|
|
1350
1350
|
height: z.ZodNumber;
|
|
1351
1351
|
animation: z.ZodObject<{
|
|
1352
1352
|
in: z.ZodEnum<{
|
|
1353
|
-
fade: "fade";
|
|
1354
1353
|
none: "none";
|
|
1355
1354
|
typewriter: "typewriter";
|
|
1355
|
+
fade: "fade";
|
|
1356
1356
|
"slide-up": "slide-up";
|
|
1357
1357
|
"slide-down": "slide-down";
|
|
1358
1358
|
"slide-left": "slide-left";
|
|
@@ -1363,9 +1363,9 @@ declare const ShapeLayerSchema: z.ZodObject<{
|
|
|
1363
1363
|
"blur-out": "blur-out";
|
|
1364
1364
|
}>;
|
|
1365
1365
|
out: z.ZodEnum<{
|
|
1366
|
-
fade: "fade";
|
|
1367
1366
|
none: "none";
|
|
1368
1367
|
typewriter: "typewriter";
|
|
1368
|
+
fade: "fade";
|
|
1369
1369
|
"slide-up": "slide-up";
|
|
1370
1370
|
"slide-down": "slide-down";
|
|
1371
1371
|
"slide-left": "slide-left";
|
|
@@ -1392,9 +1392,9 @@ declare const ImageLayerSchema: z.ZodObject<{
|
|
|
1392
1392
|
height: z.ZodNumber;
|
|
1393
1393
|
animation: z.ZodObject<{
|
|
1394
1394
|
in: z.ZodEnum<{
|
|
1395
|
-
fade: "fade";
|
|
1396
1395
|
none: "none";
|
|
1397
1396
|
typewriter: "typewriter";
|
|
1397
|
+
fade: "fade";
|
|
1398
1398
|
"slide-up": "slide-up";
|
|
1399
1399
|
"slide-down": "slide-down";
|
|
1400
1400
|
"slide-left": "slide-left";
|
|
@@ -1405,9 +1405,9 @@ declare const ImageLayerSchema: z.ZodObject<{
|
|
|
1405
1405
|
"blur-out": "blur-out";
|
|
1406
1406
|
}>;
|
|
1407
1407
|
out: z.ZodEnum<{
|
|
1408
|
-
fade: "fade";
|
|
1409
1408
|
none: "none";
|
|
1410
1409
|
typewriter: "typewriter";
|
|
1410
|
+
fade: "fade";
|
|
1411
1411
|
"slide-up": "slide-up";
|
|
1412
1412
|
"slide-down": "slide-down";
|
|
1413
1413
|
"slide-left": "slide-left";
|
|
@@ -1442,9 +1442,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1442
1442
|
height: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>;
|
|
1443
1443
|
animation: z.ZodObject<{
|
|
1444
1444
|
in: z.ZodEnum<{
|
|
1445
|
-
fade: "fade";
|
|
1446
1445
|
none: "none";
|
|
1447
1446
|
typewriter: "typewriter";
|
|
1447
|
+
fade: "fade";
|
|
1448
1448
|
"slide-up": "slide-up";
|
|
1449
1449
|
"slide-down": "slide-down";
|
|
1450
1450
|
"slide-left": "slide-left";
|
|
@@ -1455,9 +1455,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1455
1455
|
"blur-out": "blur-out";
|
|
1456
1456
|
}>;
|
|
1457
1457
|
out: z.ZodEnum<{
|
|
1458
|
-
fade: "fade";
|
|
1459
1458
|
none: "none";
|
|
1460
1459
|
typewriter: "typewriter";
|
|
1460
|
+
fade: "fade";
|
|
1461
1461
|
"slide-up": "slide-up";
|
|
1462
1462
|
"slide-down": "slide-down";
|
|
1463
1463
|
"slide-left": "slide-left";
|
|
@@ -1528,9 +1528,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1528
1528
|
height: z.ZodNumber;
|
|
1529
1529
|
animation: z.ZodObject<{
|
|
1530
1530
|
in: z.ZodEnum<{
|
|
1531
|
-
fade: "fade";
|
|
1532
1531
|
none: "none";
|
|
1533
1532
|
typewriter: "typewriter";
|
|
1533
|
+
fade: "fade";
|
|
1534
1534
|
"slide-up": "slide-up";
|
|
1535
1535
|
"slide-down": "slide-down";
|
|
1536
1536
|
"slide-left": "slide-left";
|
|
@@ -1541,9 +1541,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1541
1541
|
"blur-out": "blur-out";
|
|
1542
1542
|
}>;
|
|
1543
1543
|
out: z.ZodEnum<{
|
|
1544
|
-
fade: "fade";
|
|
1545
1544
|
none: "none";
|
|
1546
1545
|
typewriter: "typewriter";
|
|
1546
|
+
fade: "fade";
|
|
1547
1547
|
"slide-up": "slide-up";
|
|
1548
1548
|
"slide-down": "slide-down";
|
|
1549
1549
|
"slide-left": "slide-left";
|
|
@@ -1569,9 +1569,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1569
1569
|
height: z.ZodNumber;
|
|
1570
1570
|
animation: z.ZodObject<{
|
|
1571
1571
|
in: z.ZodEnum<{
|
|
1572
|
-
fade: "fade";
|
|
1573
1572
|
none: "none";
|
|
1574
1573
|
typewriter: "typewriter";
|
|
1574
|
+
fade: "fade";
|
|
1575
1575
|
"slide-up": "slide-up";
|
|
1576
1576
|
"slide-down": "slide-down";
|
|
1577
1577
|
"slide-left": "slide-left";
|
|
@@ -1582,9 +1582,9 @@ declare const TemplateLayerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1582
1582
|
"blur-out": "blur-out";
|
|
1583
1583
|
}>;
|
|
1584
1584
|
out: z.ZodEnum<{
|
|
1585
|
-
fade: "fade";
|
|
1586
1585
|
none: "none";
|
|
1587
1586
|
typewriter: "typewriter";
|
|
1587
|
+
fade: "fade";
|
|
1588
1588
|
"slide-up": "slide-up";
|
|
1589
1589
|
"slide-down": "slide-down";
|
|
1590
1590
|
"slide-left": "slide-left";
|
|
@@ -1645,9 +1645,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1645
1645
|
height: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"auto">]>;
|
|
1646
1646
|
animation: z.ZodObject<{
|
|
1647
1647
|
in: z.ZodEnum<{
|
|
1648
|
-
fade: "fade";
|
|
1649
1648
|
none: "none";
|
|
1650
1649
|
typewriter: "typewriter";
|
|
1650
|
+
fade: "fade";
|
|
1651
1651
|
"slide-up": "slide-up";
|
|
1652
1652
|
"slide-down": "slide-down";
|
|
1653
1653
|
"slide-left": "slide-left";
|
|
@@ -1658,9 +1658,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1658
1658
|
"blur-out": "blur-out";
|
|
1659
1659
|
}>;
|
|
1660
1660
|
out: z.ZodEnum<{
|
|
1661
|
-
fade: "fade";
|
|
1662
1661
|
none: "none";
|
|
1663
1662
|
typewriter: "typewriter";
|
|
1663
|
+
fade: "fade";
|
|
1664
1664
|
"slide-up": "slide-up";
|
|
1665
1665
|
"slide-down": "slide-down";
|
|
1666
1666
|
"slide-left": "slide-left";
|
|
@@ -1731,9 +1731,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1731
1731
|
height: z.ZodNumber;
|
|
1732
1732
|
animation: z.ZodObject<{
|
|
1733
1733
|
in: z.ZodEnum<{
|
|
1734
|
-
fade: "fade";
|
|
1735
1734
|
none: "none";
|
|
1736
1735
|
typewriter: "typewriter";
|
|
1736
|
+
fade: "fade";
|
|
1737
1737
|
"slide-up": "slide-up";
|
|
1738
1738
|
"slide-down": "slide-down";
|
|
1739
1739
|
"slide-left": "slide-left";
|
|
@@ -1744,9 +1744,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1744
1744
|
"blur-out": "blur-out";
|
|
1745
1745
|
}>;
|
|
1746
1746
|
out: z.ZodEnum<{
|
|
1747
|
-
fade: "fade";
|
|
1748
1747
|
none: "none";
|
|
1749
1748
|
typewriter: "typewriter";
|
|
1749
|
+
fade: "fade";
|
|
1750
1750
|
"slide-up": "slide-up";
|
|
1751
1751
|
"slide-down": "slide-down";
|
|
1752
1752
|
"slide-left": "slide-left";
|
|
@@ -1772,9 +1772,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1772
1772
|
height: z.ZodNumber;
|
|
1773
1773
|
animation: z.ZodObject<{
|
|
1774
1774
|
in: z.ZodEnum<{
|
|
1775
|
-
fade: "fade";
|
|
1776
1775
|
none: "none";
|
|
1777
1776
|
typewriter: "typewriter";
|
|
1777
|
+
fade: "fade";
|
|
1778
1778
|
"slide-up": "slide-up";
|
|
1779
1779
|
"slide-down": "slide-down";
|
|
1780
1780
|
"slide-left": "slide-left";
|
|
@@ -1785,9 +1785,9 @@ declare const TextTemplateSchema: z.ZodObject<{
|
|
|
1785
1785
|
"blur-out": "blur-out";
|
|
1786
1786
|
}>;
|
|
1787
1787
|
out: z.ZodEnum<{
|
|
1788
|
-
fade: "fade";
|
|
1789
1788
|
none: "none";
|
|
1790
1789
|
typewriter: "typewriter";
|
|
1790
|
+
fade: "fade";
|
|
1791
1791
|
"slide-up": "slide-up";
|
|
1792
1792
|
"slide-down": "slide-down";
|
|
1793
1793
|
"slide-left": "slide-left";
|
|
@@ -1834,8 +1834,8 @@ declare function validateTextTemplate(data: unknown): z.ZodSafeParseResult<{
|
|
|
1834
1834
|
x: number;
|
|
1835
1835
|
y: number;
|
|
1836
1836
|
animation: {
|
|
1837
|
-
in: "
|
|
1838
|
-
out: "
|
|
1837
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1838
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1839
1839
|
inDuration: number;
|
|
1840
1840
|
outDuration: number;
|
|
1841
1841
|
hold?: number | "full";
|
|
@@ -1872,8 +1872,8 @@ declare function validateTextTemplate(data: unknown): z.ZodSafeParseResult<{
|
|
|
1872
1872
|
width: number;
|
|
1873
1873
|
height: number;
|
|
1874
1874
|
animation: {
|
|
1875
|
-
in: "
|
|
1876
|
-
out: "
|
|
1875
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1876
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1877
1877
|
inDuration: number;
|
|
1878
1878
|
outDuration: number;
|
|
1879
1879
|
hold?: number | "full";
|
|
@@ -1892,8 +1892,8 @@ declare function validateTextTemplate(data: unknown): z.ZodSafeParseResult<{
|
|
|
1892
1892
|
width: number;
|
|
1893
1893
|
height: number;
|
|
1894
1894
|
animation: {
|
|
1895
|
-
in: "
|
|
1896
|
-
out: "
|
|
1895
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1896
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1897
1897
|
inDuration: number;
|
|
1898
1898
|
outDuration: number;
|
|
1899
1899
|
hold?: number | "full";
|
|
@@ -1933,8 +1933,8 @@ declare function validateTextTemplateStrict(data: unknown): {
|
|
|
1933
1933
|
x: number;
|
|
1934
1934
|
y: number;
|
|
1935
1935
|
animation: {
|
|
1936
|
-
in: "
|
|
1937
|
-
out: "
|
|
1936
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1937
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1938
1938
|
inDuration: number;
|
|
1939
1939
|
outDuration: number;
|
|
1940
1940
|
hold?: number | "full";
|
|
@@ -1971,8 +1971,8 @@ declare function validateTextTemplateStrict(data: unknown): {
|
|
|
1971
1971
|
width: number;
|
|
1972
1972
|
height: number;
|
|
1973
1973
|
animation: {
|
|
1974
|
-
in: "
|
|
1975
|
-
out: "
|
|
1974
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1975
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1976
1976
|
inDuration: number;
|
|
1977
1977
|
outDuration: number;
|
|
1978
1978
|
hold?: number | "full";
|
|
@@ -1991,8 +1991,8 @@ declare function validateTextTemplateStrict(data: unknown): {
|
|
|
1991
1991
|
width: number;
|
|
1992
1992
|
height: number;
|
|
1993
1993
|
animation: {
|
|
1994
|
-
in: "
|
|
1995
|
-
out: "
|
|
1994
|
+
in: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1995
|
+
out: "none" | "typewriter" | "fade" | "slide-up" | "slide-down" | "slide-left" | "slide-right" | "scale-in" | "scale-out" | "blur-in" | "blur-out";
|
|
1996
1996
|
inDuration: number;
|
|
1997
1997
|
outDuration: number;
|
|
1998
1998
|
hold?: number | "full";
|
|
@@ -7169,6 +7169,68 @@ declare function renderEvaluatedSceneToCanvas(scene: EvaluatedScene, ctx: SceneC
|
|
|
7169
7169
|
background?: boolean;
|
|
7170
7170
|
}): void;
|
|
7171
7171
|
|
|
7172
|
+
/**
|
|
7173
|
+
* Shared Sticker Scanner and Validator Module
|
|
7174
|
+
*
|
|
7175
|
+
* Single canonical implementation shared across:
|
|
7176
|
+
* - clypra-packages (@clypra-studio/engine)
|
|
7177
|
+
* - clypra-studio (Client-side Sticker Builder)
|
|
7178
|
+
* - clypra-api (Server-side validation & staging)
|
|
7179
|
+
* - clypra-api (CI validator script)
|
|
7180
|
+
*/
|
|
7181
|
+
declare const MAX_LOTTIE_BYTES: number;
|
|
7182
|
+
declare const MAX_ASSET_BYTES: number;
|
|
7183
|
+
interface LottieScanResult {
|
|
7184
|
+
valid: boolean;
|
|
7185
|
+
errors: string[];
|
|
7186
|
+
dimensions?: {
|
|
7187
|
+
width: number;
|
|
7188
|
+
height: number;
|
|
7189
|
+
};
|
|
7190
|
+
animation?: {
|
|
7191
|
+
durationMs: number;
|
|
7192
|
+
fps: number;
|
|
7193
|
+
loop: boolean;
|
|
7194
|
+
lottie: {
|
|
7195
|
+
layerCount: number;
|
|
7196
|
+
hasExpressions: boolean;
|
|
7197
|
+
};
|
|
7198
|
+
};
|
|
7199
|
+
}
|
|
7200
|
+
interface AssetScanResult {
|
|
7201
|
+
valid: boolean;
|
|
7202
|
+
errors: string[];
|
|
7203
|
+
bytes: number;
|
|
7204
|
+
mime: "application/json" | "image/webp" | "image/png" | "image/svg+xml" | "application/octet-stream";
|
|
7205
|
+
dimensions?: {
|
|
7206
|
+
width: number;
|
|
7207
|
+
height: number;
|
|
7208
|
+
};
|
|
7209
|
+
animation?: LottieScanResult["animation"];
|
|
7210
|
+
}
|
|
7211
|
+
/**
|
|
7212
|
+
* Recursively scans Lottie node tree for expressions and external URLs.
|
|
7213
|
+
*/
|
|
7214
|
+
declare function scanLottieNodes(node: any, found?: {
|
|
7215
|
+
expressions: number;
|
|
7216
|
+
remoteUrls: number;
|
|
7217
|
+
}): {
|
|
7218
|
+
expressions: number;
|
|
7219
|
+
remoteUrls: number;
|
|
7220
|
+
};
|
|
7221
|
+
/**
|
|
7222
|
+
* Inspects parsed or stringified Lottie JSON data.
|
|
7223
|
+
*/
|
|
7224
|
+
declare function inspectLottieJson(jsonOrString: string | Record<string, any>): LottieScanResult;
|
|
7225
|
+
/**
|
|
7226
|
+
* Sniffs an asset buffer or string to detect MIME type, dimensions, and Lottie validity.
|
|
7227
|
+
*/
|
|
7228
|
+
declare function inspectStickerAsset(data: Uint8Array | ArrayBuffer | string, filenameHint?: string): AssetScanResult;
|
|
7229
|
+
/**
|
|
7230
|
+
* Universal SHA-256 hash helper supporting both Web Crypto API (browser) and Node.js.
|
|
7231
|
+
*/
|
|
7232
|
+
declare function calculateSha256(data: Uint8Array | ArrayBuffer | string): Promise<string>;
|
|
7233
|
+
|
|
7172
7234
|
/**
|
|
7173
7235
|
* @clypra-studio/engine — Canvas 2D text effects, Lottie tooling, and animation engine.
|
|
7174
7236
|
* @version 0.1.0
|
|
@@ -7177,4 +7239,4 @@ declare function renderEvaluatedSceneToCanvas(scene: EvaluatedScene, ctx: SceneC
|
|
|
7177
7239
|
/** Package version */
|
|
7178
7240
|
declare const VERSION = "1.4.0";
|
|
7179
7241
|
|
|
7180
|
-
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, 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, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, 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, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, 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, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, 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, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, 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, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, 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, 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, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|
|
7242
|
+
export { ASPECT_RATIO_PRESETS, type AddBreakpointCommand, type AddDataPreviewSetCommand, type AddNodeCommand, type AddTimelineMarkerCommand, type AddVariableCommand, type AlignmentGuide, type AlignmentMode, 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, type ArcGeometryOutput, type AssetHandle, type AssetKind, type AssetManifest, type AssetRef, AssetRegistry$1 as AssetRegistry, type AssetScanResult, type AssetSource, type AudioNode, type AudioPlaybackConfig, type AvatarNode, type AvoidRegionKind, type AxisConfig, BUILTIN_CANVAS_TEMPLATES, type BarGeometryItem, type BaseCommand, type BaseEditorCommand, type BatchCommand, type BatchCommandsCommand, type BatchInjection, type BehaviorKind, type BehaviorSpec, BezierControlPoints, type BindingDefinition, type BodySegmentationOptions, type BodySegmentationRequest, type BodySegmentationResponse, type BodySegmentationRuntime, type BodySegmentationRuntimeConfig, type BoundingBox, BoundingBoxSchema, type BoundingRegion, type BreadcrumbItem, type Breakpoint, type BreakpointSet, COMPOSITION_PRESETS, type CalloutNode, CanvasDevice, type CanvasSnapResult, type ChartAnimationConfig, type ChartBarStyle, type ChartNode, type ChartScale, type ChartSeries, type ChartType, type ClipConform, type ClipSegment, type CodeOverlayContent, type CodeSmartOverlayContent, type ColumnDefinition, type Command, type CommandBuffer, CommandBufferBuilder, type CommandExecutionResult, CommandExecutor, CommandHistory, type CommandHistoryOptions, type CommandType, type ComparisonItem, type ComparisonOverlayContent, type ComparisonSmartOverlayContent, CompiledTextTemplate, type ComponentCategory, type ComponentDefinition, type ComponentNode, type CompositionPreset, type ComputedCell, type ComputedColumn, type ComputedNodeBounds, type ComputedRow, type ComputedSplitUnitTransform, type ConformMode, type ConnectorNode, type ContainerNode, type CountUpEasing, DEFAULT_TEXT_STYLE, DataBindingAuthoringEngine, DataBindingEngine, type DataBindingRule, type DataPreviewSet, type DeleteNodeCommand, type DeleteNodesCommand, type DependencyGraph, type DetachComponentCommand, type DimensionMode, type DividerNode, type DocumentCommand, DocumentMigrator, type DocumentPoint, DocumentValidator, type DocumentVariable, type DotLottieManifest, type DrawPerCharTextOptions, 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, type EncodedFileEntry, type EncodedOutput, type EvaluatedBroadcastFrame, type EvaluatedContent, type EvaluatedExportFrame, type EvaluatedMilestone, type EvaluatedNode, type EvaluatedNodeState, type EvaluatedScene, type EvaluatedSceneState, type EvaluatedStyle, type EvaluatedThreshold, type EvaluatedTransform, type EvaluatedVideoStateAtTime, type EvaluationDiagnostic, type ExecutionPlanner, type ExecutionPolicy, type ExecutionQuality, 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, type FocalPoint$1 as FocalPoint, type FontRef, FontRegistry, FontSchema, type FontSpec, type FrameGraph, FrameGraphBuilder, type FrameNode, type GaugeNode, type GaugeThreshold, GifEncoder, type GifExportOptions, type GifFrame, GlowLayer, type GradientDir, type GradientNode, GradientStop, GradientStopSchema, GraphValidator, GridEngine, type GroupNodesCommand, type HandleType, type IconNode, type ImageFitMode, type ImageFittingInput, type ImageFittingResult, ImageLayerSchema, type JobChangeListener, type JobStatus, Keyframe, type KeyframeTrack, LOOP_PRESETS, LOTTIE_ANIM_PRESETS, LOTTIE_TEMPLATE_PRESETS, LayerAnimationSchema, type LayoutComputedState, LayoutEngine, type LayoutMode, type LineNode, 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 LottieScanResult, type LottieTemplatePreset, type LowerThirdOverlayContent, type LowerThirdSmartOverlayContent, MAX_ASSET_BYTES, MAX_LOTTIE_BYTES, type MediaEncoder, MediaEncoderRegistry, type MediaFitMode, MediaImageEngine, type MediaLayout, type MetricDelta, MetricEngine, type MetricEvaluationResult, type MetricFormatOptions, type MetricNode, type MilestoneItem, type MotionPreset, type MotionPresetDefinition, type MotionPresetParameter, MotionPresetRegistry, type MoveNodesCommand, type Mp4ExportOptions, Mp4VideoEncoder, type NodeAnimationRules, type NodeConstraints, type NodeDefinition, type NodeLayoutRules, NodeRegistry, type NodeSizingPolicy, type NodeStartTransform, type NodeStyleRules, type NormalizedCrop, NullBackend, type OverlayDocument, type ParsedTextLayer, type PlaybackDirection, type PlaybackMode, 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, RawFramesEncoder, type RecordedExecution, type RegisterAssetCommand, type RegisteredAsset, type RegisteredFont, type RemoveAssetCommand, type RemoveBreakpointCommand, type RemoveDataPreviewSetCommand, type RemoveTimelineMarkerCommand, type RemoveVariableCommand, type RenderBackend, type RenderPass, RenderPlan, type RendererCapabilities, type ReorderNodesCommand, type ReparentNodeCommand, type RepeaterNode, type ResizeHandle, type ResizeNodeCommand, type ResizeOptions, ResolveTemplateControlValuesOptions, type ResolvedAsset, type ResolvedFit, type ResolvedFont, type ResolvedImageDimensions, type ResolvedLayoutBounds, type ResolvedMediaLayout, type ResourceAllocation, type ResourceRequest, type ResourceState$1 as ResourceState, ResponsiveAnchorConfig, type ResponsiveNodeOverride, type RichTextNode, type RichTextSpan, RuntimeAssetResolver, type RuntimeContext, SMART_OVERLAY_PRESETS, SUPPORTED_FONT_FAMILIES, type SceneCanvasContext, 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, 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, SplitMode, type SplitUnit, SpringParams, type StatOverlayContent, type StatSmartOverlayContent, StyleRecipe, type SubtitleRegion, TEMPLATE_CATEGORIES, type TableColumn, type TableLayoutResult, type TableNode, TemplateCategory, TemplateCategorySchema, TemplateCustomization, TemplateEasingFunction, TemplateKeyframe, TemplateLayer, TemplateLayerSchema, type TemplateManifest, type TemplatePresetCategory, TemplateRenderContext, TemplateRenderer, type TemporalKeyframedRegion, type TextAlign, type TextCustomization, TextEffectBuilder, TextEffectConfig, TextEffectDefinition, TextEffectDefinitionSchema, type TextLayerConfig, TextLayerSchema, type TextLayerStyle, type TextLayoutBounds, type TextLayoutResult, TextSplitAnimator, type TextStyleOverride, TextStyleSpan, TextTemplate, TextTemplateArtifact, type TextTemplateDiagnostic, TextTemplateSchema, type ThresholdBand, type TimelineEvent, type TimelineMarker, type TimelineNode, type TimelineOverlayContent, type TimelineOverlayNode, type TimelineSmartOverlayContent, type TrackDefinition, type TrackedSubject, type TranscriptSegment, TransformEngine, type UngroupNodesCommand, type UpdateAnimationCommand, type UpdateCanvasSizeCommand, type UpdateDataPreviewSetCommand, type UpdateDocumentMetaCommand, type UpdateKeyframeTracksCommand, type UpdateNodePropertyCommand, type UpdateNodeStyleCommand, type UpdatePropCommand, type UpdateStyleCommand, type UpdateTimelineMarkerCommand, type UpdateVariableCommand, type Command$1 as V2Command, VERSION, type ValidatedEffectDefinition, type ValidatedTextEffectDefinition, type ValidatedTextTemplate, type ValidationDiagnostic, type ValidationError, type ValidationResult, type VideoCodecProfile, type VideoContext, type VideoNode, type VideoPlaybackConfig, type ViewportState, ViewportTransform, type VirtualWindow, WEBM_EXPORT_MAX_FRAMES, WebMEncoder, type WebMExportOptions, _resetPlatformCache, addImageLayer, addKeyframe, addKeyframeAtTime, addOrUpdateKeyframe, addShapeLayer, addSolidLayer, addTextLayer, addTrack, addVectorShape, alignToLottieJ, animationRuntime, animationValidator, applyEasing, applyFillColorToAll, applyLetterSpacing, applyMaskReveal, applyRecipeToScene, applyStyleToLottie, applyStyleToLottieLayer, applyTimelineAtTime, assertValidTextTemplateArtifact, assetRegistry, bakeAnimationIntoLayer, blendConfigs, blendScenes, buildDotLottie, buildFontEntries, buildLottieFontName, buildPngSequenceZip, builtInRecipes, calculateCropFromFocalPoint, calculateDefaultCoverCrop, calculateMediaFit, calculateResizeBounds, calculateRotationAngle, calculateSha256, canonicalTemplateHash, captureImageSourceDimensions, captureLottieFrames, captureVideoSourceDimensions, clearAnimationFromLayer, clearFontCache, clearRecipeCache, cloneSceneWithNewIds, commandExecutor, compileSemanticOverlay, compileTextTemplate, componentRegistry, computeAutoFitFontSize, computeFitZoom, computeTextLayout, convertScratchTemplateToClip, countTextGlyphs, createBlankLottie, createBlankScratchTemplate, createCanvas, createDefaultRevealTrack, createDefaultScratchBlock, createKeyframed, createPulseOpacityTrack, cubicBezier, dataBindingAuthoringEngine, dataBindingEngine, deleteKeyframe, deserializeTemplate, documentMigrator, documentValidator, downloadDotLottie, downloadLottieJson, downloadLottieMp4, downloadPngSequenceZip, downloadSceneWebM, drawPerCharText, drawRoundedRect, duplicateTrackAtPlayhead, ease, editorCommandSystem, enableKeyframing, encodeGif, ensureDefaultTimeline, ensureFontInLottie, evaluateAnimatable, evaluateExportFrame, evaluateOverlayDocument, evaluateSplitTextTransforms, exportLottieToMp4, exportValidator, findTrackIndex, fontRegistry, formatValidationErrors, getAnimPreset, getAnimatableParamDef, getAnimatableParamsForLayer, getCanvasTemplatePreset, getCanvasTemplatesByCategory, getClipLayout, getDefaultText, getLayerById, getPresetScene, getSourceCropRect, getSpanForCharIndex, getSupportedWebMMimeType, getTemplatePreset, getTemplatesByCategory, getWebMFrameCount, hexToLottieColor, hexToLottieRgb, hitTestTransformHandles, injectBatch, injectColor, injectGlobalTextStyle, injectSolidColor, injectText, injectTextStyle, inspectLottieJson, inspectStickerAsset, interpolateColorString, interpolateValue, isKeyframed, isMp4ExportSupported, isWebMExportSupported, layoutEngine, liveBroadcastBridge, loadLottieFonts, lottieColorToHex, lottieJToAlign, measureTextFits, measureTextWidth, mediaEncoderRegistry, motionPresetRegistry, moveKeyframe, normalizeTextTemplateArtifact, parseHistorySnapshot, parseLottieJson, preloadGoogleFont, presetToRecipe, primitiveRegistry, propertyAnimationRegistry, propertyInspectorEngine, propertyInterpolator, pruneTracksForLayer, rainbowCharFillColors, readLayerScalar, readStyleFromLottieLayer, reindexLayers, releaseCanvas, removeKeyframe, removeTemplateKeyframe, removeTrack, renderEvaluatedSceneToCanvas, renderPngSequence, renderSceneWebM, resizeCharFillColors, resolveAnchorPosition, resolveAnimatedScalar, resolveBehaviorToAnimationSpec, resolveConform, resolveDocumentForBreakpoint, resolveExportCanvasDimensions, resolveMediaLayout, resolveNodeForBreakpoint, resolveSpatialConstraints, resolveTemplateControlValues, restoreLetterSpacing, rotateCrop, runtimeAssetResolver, sampleVideoContextAtTime, scanLottieFonts, scanLottieNodes, scanTextLayers, selectionEngine, serializeTemplate, setCharFillColor, setTracks, shouldUsePerCharFill, smartOverlayRegistry, snapEngine, snapshotScene, solveSpring, sortKeyframes, splitTextContent, streamExportFrames, supportsCtxFilter, supportsLetterSpacing, supportsOffscreenCanvas, supportsRoundRect, trackId, updateKeyframe, updateSceneBevel, updateSceneCanvas, updateSceneFill, updateSceneGlow, updateScenePanel, updateSceneShadow, updateSceneStack, updateSceneStroke, updateSceneText, updateStaticProperty, updateTimeline, updateTrack, updateTrackMatte, upsertKeyframe, validateEffectDefinition, validateEffectDefinitionStrict, validateTextEffectDefinition, validateTextEffectDefinitionStrict, validateTextTemplate, validateTextTemplateArtifact, validateTextTemplateStrict, viewportTransform, waitForFontsReady, wrapTextToWidth };
|