@pixodesk/svg-animator-web 1.0.19 → 1.0.20

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
@@ -257,8 +257,17 @@ declare const PxKeyframeSchema: PxSchema<{} & {
257
257
  selected: PxSchema<boolean | undefined, true>;
258
258
  };
259
259
  };
260
- /** A single animation keyframe defining the state at a specific point in time. */
261
- type PxKeyframe = PxInfer<typeof PxKeyframeSchema>;
260
+ /**
261
+ * A single animation keyframe defining the state at a specific point in time.
262
+ *
263
+ * Generic over the keyframe `value` type for callers that know the per-property
264
+ * value shape (e.g. `PxKeyframe<Vec2>` in the effect appliers). Defaults to
265
+ * `any`, matching the schema (`value` is stored as `px.any()` on the wire).
266
+ */
267
+ type PxKeyframe<T = any> = Omit<PxInfer<typeof PxKeyframeSchema>, 'value' | 'v'> & {
268
+ value?: T;
269
+ v?: T;
270
+ };
262
271
  declare const PxLoopSchema: PxSchema<{} & {
263
272
  segmentCount?: number | undefined;
264
273
  before?: boolean | undefined;
@@ -2112,6 +2121,43 @@ declare const PxEffectsSchema: PxSchema<{} & {
2112
2121
  maskUnits?: string | undefined;
2113
2122
  maskContentUnits?: string | undefined;
2114
2123
  }) | undefined;
2124
+ clipPath?: ({} & {
2125
+ d?: string | undefined;
2126
+ animate?: ({} & {
2127
+ keyframes?: ({} & {
2128
+ time?: number | undefined;
2129
+ t?: number | undefined;
2130
+ value?: any;
2131
+ v?: any;
2132
+ easing?: string | [number, number, number, number] | undefined;
2133
+ e?: string | [number, number, number, number] | undefined;
2134
+ tangentOut?: [number, number] | undefined;
2135
+ to?: [number, number] | undefined;
2136
+ tangentIn?: [number, number] | undefined;
2137
+ ti?: [number, number] | undefined;
2138
+ selected?: boolean | undefined;
2139
+ })[] | undefined;
2140
+ kfs?: ({} & {
2141
+ time?: number | undefined;
2142
+ t?: number | undefined;
2143
+ value?: any;
2144
+ v?: any;
2145
+ easing?: string | [number, number, number, number] | undefined;
2146
+ e?: string | [number, number, number, number] | undefined;
2147
+ tangentOut?: [number, number] | undefined;
2148
+ to?: [number, number] | undefined;
2149
+ tangentIn?: [number, number] | undefined;
2150
+ ti?: [number, number] | undefined;
2151
+ selected?: boolean | undefined;
2152
+ })[] | undefined;
2153
+ loop?: boolean | ({} & {
2154
+ segmentCount?: number | undefined;
2155
+ before?: boolean | undefined;
2156
+ alternate?: boolean | undefined;
2157
+ }) | undefined;
2158
+ autoOrient?: boolean | undefined;
2159
+ }) | undefined;
2160
+ }) | undefined;
2115
2161
  trimPath?: ({} & {
2116
2162
  offset?: number | ({
2117
2163
  value: number;
@@ -2467,6 +2513,43 @@ declare const PxEffectsSchema: PxSchema<{} & {
2467
2513
  maskUnits?: string | undefined;
2468
2514
  maskContentUnits?: string | undefined;
2469
2515
  }) | undefined, true>;
2516
+ clipPath: PxSchema<({} & {
2517
+ d?: string | undefined;
2518
+ animate?: ({} & {
2519
+ keyframes?: ({} & {
2520
+ time?: number | undefined;
2521
+ t?: number | undefined;
2522
+ value?: any;
2523
+ v?: any;
2524
+ easing?: string | [number, number, number, number] | undefined;
2525
+ e?: string | [number, number, number, number] | undefined;
2526
+ tangentOut?: [number, number] | undefined;
2527
+ to?: [number, number] | undefined;
2528
+ tangentIn?: [number, number] | undefined;
2529
+ ti?: [number, number] | undefined;
2530
+ selected?: boolean | undefined;
2531
+ })[] | undefined;
2532
+ kfs?: ({} & {
2533
+ time?: number | undefined;
2534
+ t?: number | undefined;
2535
+ value?: any;
2536
+ v?: any;
2537
+ easing?: string | [number, number, number, number] | undefined;
2538
+ e?: string | [number, number, number, number] | undefined;
2539
+ tangentOut?: [number, number] | undefined;
2540
+ to?: [number, number] | undefined;
2541
+ tangentIn?: [number, number] | undefined;
2542
+ ti?: [number, number] | undefined;
2543
+ selected?: boolean | undefined;
2544
+ })[] | undefined;
2545
+ loop?: boolean | ({} & {
2546
+ segmentCount?: number | undefined;
2547
+ before?: boolean | undefined;
2548
+ alternate?: boolean | undefined;
2549
+ }) | undefined;
2550
+ autoOrient?: boolean | undefined;
2551
+ }) | undefined;
2552
+ }) | undefined, true>;
2470
2553
  trimPath: PxSchema<({} & {
2471
2554
  offset?: number | ({
2472
2555
  value: number;
@@ -2847,6 +2930,43 @@ declare const PxNodeBase: PxSchema<{
2847
2930
  maskUnits?: string | undefined;
2848
2931
  maskContentUnits?: string | undefined;
2849
2932
  }) | undefined;
2933
+ clipPath?: ({} & {
2934
+ d?: string | undefined;
2935
+ animate?: ({} & {
2936
+ keyframes?: ({} & {
2937
+ time?: number | undefined;
2938
+ t?: number | undefined;
2939
+ value?: any;
2940
+ v?: any;
2941
+ easing?: string | [number, number, number, number] | undefined;
2942
+ e?: string | [number, number, number, number] | undefined;
2943
+ tangentOut?: [number, number] | undefined;
2944
+ to?: [number, number] | undefined;
2945
+ tangentIn?: [number, number] | undefined;
2946
+ ti?: [number, number] | undefined;
2947
+ selected?: boolean | undefined;
2948
+ })[] | undefined;
2949
+ kfs?: ({} & {
2950
+ time?: number | undefined;
2951
+ t?: number | undefined;
2952
+ value?: any;
2953
+ v?: any;
2954
+ easing?: string | [number, number, number, number] | undefined;
2955
+ e?: string | [number, number, number, number] | undefined;
2956
+ tangentOut?: [number, number] | undefined;
2957
+ to?: [number, number] | undefined;
2958
+ tangentIn?: [number, number] | undefined;
2959
+ ti?: [number, number] | undefined;
2960
+ selected?: boolean | undefined;
2961
+ })[] | undefined;
2962
+ loop?: boolean | ({} & {
2963
+ segmentCount?: number | undefined;
2964
+ before?: boolean | undefined;
2965
+ alternate?: boolean | undefined;
2966
+ }) | undefined;
2967
+ autoOrient?: boolean | undefined;
2968
+ }) | undefined;
2969
+ }) | undefined;
2850
2970
  trimPath?: ({} & {
2851
2971
  offset?: number | ({
2852
2972
  value: number;
@@ -3277,6 +3397,43 @@ declare const PxNodeBase: PxSchema<{
3277
3397
  maskUnits?: string | undefined;
3278
3398
  maskContentUnits?: string | undefined;
3279
3399
  }) | undefined;
3400
+ clipPath?: ({} & {
3401
+ d?: string | undefined;
3402
+ animate?: ({} & {
3403
+ keyframes?: ({} & {
3404
+ time?: number | undefined;
3405
+ t?: number | undefined;
3406
+ value?: any;
3407
+ v?: any;
3408
+ easing?: string | [number, number, number, number] | undefined;
3409
+ e?: string | [number, number, number, number] | undefined;
3410
+ tangentOut?: [number, number] | undefined;
3411
+ to?: [number, number] | undefined;
3412
+ tangentIn?: [number, number] | undefined;
3413
+ ti?: [number, number] | undefined;
3414
+ selected?: boolean | undefined;
3415
+ })[] | undefined;
3416
+ kfs?: ({} & {
3417
+ time?: number | undefined;
3418
+ t?: number | undefined;
3419
+ value?: any;
3420
+ v?: any;
3421
+ easing?: string | [number, number, number, number] | undefined;
3422
+ e?: string | [number, number, number, number] | undefined;
3423
+ tangentOut?: [number, number] | undefined;
3424
+ to?: [number, number] | undefined;
3425
+ tangentIn?: [number, number] | undefined;
3426
+ ti?: [number, number] | undefined;
3427
+ selected?: boolean | undefined;
3428
+ })[] | undefined;
3429
+ loop?: boolean | ({} & {
3430
+ segmentCount?: number | undefined;
3431
+ before?: boolean | undefined;
3432
+ alternate?: boolean | undefined;
3433
+ }) | undefined;
3434
+ autoOrient?: boolean | undefined;
3435
+ }) | undefined;
3436
+ }) | undefined;
3280
3437
  trimPath?: ({} & {
3281
3438
  offset?: number | ({
3282
3439
  value: number;
@@ -4148,6 +4305,43 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
4148
4305
  maskUnits?: string | undefined;
4149
4306
  maskContentUnits?: string | undefined;
4150
4307
  }) | undefined;
4308
+ clipPath?: ({} & {
4309
+ d?: string | undefined;
4310
+ animate?: ({} & {
4311
+ keyframes?: ({} & {
4312
+ time?: number | undefined;
4313
+ t?: number | undefined;
4314
+ value?: any;
4315
+ v?: any;
4316
+ easing?: string | [number, number, number, number] | undefined;
4317
+ e?: string | [number, number, number, number] | undefined;
4318
+ tangentOut?: [number, number] | undefined;
4319
+ to?: [number, number] | undefined;
4320
+ tangentIn?: [number, number] | undefined;
4321
+ ti?: [number, number] | undefined;
4322
+ selected?: boolean | undefined;
4323
+ })[] | undefined;
4324
+ kfs?: ({} & {
4325
+ time?: number | undefined;
4326
+ t?: number | undefined;
4327
+ value?: any;
4328
+ v?: any;
4329
+ easing?: string | [number, number, number, number] | undefined;
4330
+ e?: string | [number, number, number, number] | undefined;
4331
+ tangentOut?: [number, number] | undefined;
4332
+ to?: [number, number] | undefined;
4333
+ tangentIn?: [number, number] | undefined;
4334
+ ti?: [number, number] | undefined;
4335
+ selected?: boolean | undefined;
4336
+ })[] | undefined;
4337
+ loop?: boolean | ({} & {
4338
+ segmentCount?: number | undefined;
4339
+ before?: boolean | undefined;
4340
+ alternate?: boolean | undefined;
4341
+ }) | undefined;
4342
+ autoOrient?: boolean | undefined;
4343
+ }) | undefined;
4344
+ }) | undefined;
4151
4345
  trimPath?: ({} & {
4152
4346
  offset?: number | ({
4153
4347
  value: number;
@@ -4713,6 +4907,43 @@ declare const PxAnimatedSvgDocumentSchema: PxSchema<{
4713
4907
  maskUnits?: string | undefined;
4714
4908
  maskContentUnits?: string | undefined;
4715
4909
  }) | undefined;
4910
+ clipPath?: ({} & {
4911
+ d?: string | undefined;
4912
+ animate?: ({} & {
4913
+ keyframes?: ({} & {
4914
+ time?: number | undefined;
4915
+ t?: number | undefined;
4916
+ value?: any;
4917
+ v?: any;
4918
+ easing?: string | [number, number, number, number] | undefined;
4919
+ e?: string | [number, number, number, number] | undefined;
4920
+ tangentOut?: [number, number] | undefined;
4921
+ to?: [number, number] | undefined;
4922
+ tangentIn?: [number, number] | undefined;
4923
+ ti?: [number, number] | undefined;
4924
+ selected?: boolean | undefined;
4925
+ })[] | undefined;
4926
+ kfs?: ({} & {
4927
+ time?: number | undefined;
4928
+ t?: number | undefined;
4929
+ value?: any;
4930
+ v?: any;
4931
+ easing?: string | [number, number, number, number] | undefined;
4932
+ e?: string | [number, number, number, number] | undefined;
4933
+ tangentOut?: [number, number] | undefined;
4934
+ to?: [number, number] | undefined;
4935
+ tangentIn?: [number, number] | undefined;
4936
+ ti?: [number, number] | undefined;
4937
+ selected?: boolean | undefined;
4938
+ })[] | undefined;
4939
+ loop?: boolean | ({} & {
4940
+ segmentCount?: number | undefined;
4941
+ before?: boolean | undefined;
4942
+ alternate?: boolean | undefined;
4943
+ }) | undefined;
4944
+ autoOrient?: boolean | undefined;
4945
+ }) | undefined;
4946
+ }) | undefined;
4716
4947
  trimPath?: ({} & {
4717
4948
  offset?: number | ({
4718
4949
  value: number;
@@ -5310,7 +5541,10 @@ interface ApplyResult {
5310
5541
  * - ALONG-PATH ({@link materialiseGlyphTextAlongPath}) — each glyph placed and
5311
5542
  * rotated to the referenced path's tangent. Static `startOffset` → glyphs
5312
5543
  * bake+merge; animated `startOffset` → per-glyph `<path>` with sampled
5313
- * `animate.transform`. Ignores per-tspan positioning (a single run).
5544
+ * `animate.transform`. Text-level `x`/`dx` add distance ALONG the path (≈
5545
+ * startOffset) and `dy` shifts PERPENDICULAR — matching native `<textPath>`
5546
+ * (see {@link alongPathNodeOffsets}); `y` and per-tspan positioning are ignored
5547
+ * (a single run).
5314
5548
  *
5315
5549
  * Element creation goes through an injected {@link PxCreateElement} factory, so
5316
5550
  * the SAME layout produces plain wire nodes here (the effects pipeline) or the
@@ -5332,6 +5566,39 @@ interface GlyphMaterialiseOpts<E = any> {
5332
5566
  warnings?: Array<string>;
5333
5567
  }
5334
5568
  declare function materialiseGlyphTextHorizontal<E = any>(node: PxNode, opts: GlyphMaterialiseOpts<E>): E;
5569
+ /** Per-CHARACTER advance box (local, pre-transform coords). `x,y` = the char's baseline start,
5570
+ * `width` = its advance, `ascent`/`fontSize` size its bbox. */
5571
+ interface GlyphCharBox {
5572
+ x: number;
5573
+ y: number;
5574
+ width: number;
5575
+ ascent: number;
5576
+ fontSize: number;
5577
+ /** Along-path only: baseline END point (leading edge of the next char). Absent for
5578
+ * horizontal, where the end is `x + width` on the same baseline. */
5579
+ endX?: number;
5580
+ endY?: number;
5581
+ /** Along-path only: char rotation in DEGREES (path tangent; 0 = horizontal). */
5582
+ rotation?: number;
5583
+ }
5584
+ /** Optional along-path geometry for {@link layoutGlyphTextChars}: when given, chars are
5585
+ * placed + rotated along `pathD` (mirrors {@link materialiseGlyphTextAlongPath}) at the
5586
+ * STATIC / frame-0 startOffset, so the editor caret follows the path. */
5587
+ interface GlyphCharBoxAlongPath {
5588
+ pathD?: string;
5589
+ startOffset?: PxAnimatable<number>;
5590
+ textLength?: number;
5591
+ pathOverflow?: string;
5592
+ }
5593
+ /** Per-character layout boxes for a glyph text, in reading/DOM order INCLUDING spaces
5594
+ * (a space has no glyph but advances the pen). HORIZONTAL by default — mirrors
5595
+ * `materialiseGlyphTextHorizontal`'s pen-walk exactly (same x/y/dx/dy, spacing and
5596
+ * text-anchor). When `opts.alongPath` is given, mirrors `materialiseGlyphTextAlongPath`
5597
+ * (each char placed + rotated to the path tangent). So an editor caret built from these
5598
+ * lands on the rendered glyphs. Empty for a text with no glyph font / unparsable path. */
5599
+ declare function layoutGlyphTextChars(node: PxNode, opts: Pick<GlyphMaterialiseOpts, 'glyphs' | 'warnings'> & {
5600
+ alongPath?: GlyphCharBoxAlongPath;
5601
+ }): Array<GlyphCharBox>;
5335
5602
  declare function materialiseGlyphTextAlongPath<E = any>(node: PxNode, pathD: string | undefined, startOffset: PxAnimatable<number> | undefined, opts: GlyphMaterialiseOpts<E>, textLength?: number, pathOverflow?: string): E | null;
5336
5603
  /** Single entry the EDITOR calls: materialises a glyph `<text>` node into the
5337
5604
  * factory's element type, choosing along-path when `alongPath` is given. */
@@ -5344,6 +5611,20 @@ declare function materialiseGlyphText<E = any>(node: PxNode, opts: GlyphMaterial
5344
5611
  };
5345
5612
  }): E | null;
5346
5613
 
5614
+ interface PathPoint {
5615
+ x: number;
5616
+ y: number;
5617
+ angle: number;
5618
+ }
5619
+ interface PathSampler {
5620
+ totalLength: number;
5621
+ /** True when the path loops back on itself (explicit `Z` or coincident ends) —
5622
+ * no open tip to run off, so overflow clamps/wraps rather than clipping. */
5623
+ closed: boolean;
5624
+ sampleAtDistance(dist: number): PathPoint;
5625
+ }
5626
+ declare function createPathSampler(d: string): PathSampler | null;
5627
+
5347
5628
  /** Inputs for {@link extendedPathForBrowser}. `advance` = the text run-width used to
5348
5629
  * size the end extension (caller-measured; the player estimates it from the node,
5349
5630
  * the editor from its text model — browser fonts have no glyph metrics available). */
@@ -5423,4 +5704,4 @@ interface EffectDiff {
5423
5704
  */
5424
5705
  declare function diffInEffect(a: VmNode, b: VmNode): Array<EffectDiff>;
5425
5706
 
5426
- export { type ApplyResult, COLOUR_ATTR_NAMES, type ExtendPathOpts, type ExtendedPath, type FillMode, type GlyphMaterialiseOpts, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxCreateElement, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, type PxGlyph, type PxGlyphFont, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, type PxLoop, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, PxTextEffectSchema, type PxTextPathEffect, PxTextPathEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, extendedPathForBrowser, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, jsonElementFactory, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseGlyphText, materialiseGlyphTextAlongPath, materialiseGlyphTextHorizontal, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, shiftAnimatable, toRGBA, validateNodeEffects, visualModelAt };
5707
+ export { type ApplyResult, COLOUR_ATTR_NAMES, type ExtendPathOpts, type ExtendedPath, type FillMode, type GlyphCharBox, type GlyphCharBoxAlongPath, type GlyphMaterialiseOpts, type JsMode, type KeysMatch, type MaterialiseAllOptions, type MotionPathMaterialisationOptions, type MotionPathSample, type OutAction, PX_ANIMATOR_DATA_KEY, PX_ANIM_ATTR_NAME, PX_ANIM_SRC_ATTR_NAME, PX_TRANSFORM_PART_KEYS, type PathPoint, type PathSampler, type PlaybackDirection, type PxAnimatable, type PxAnimatedSvgDocument, PxAnimatedSvgDocumentSchema, type PxAnimationDefinition, PxAnimationDefinitionSchema, type PxAnimatorAPI, type PxAnimatorCallbacksConfig, type PxAnimatorConfig, PxAnimatorConfigSchema, PxAnimatorEngine, PxAnimatorMode, type PxAnimatorOptions, type PxAttrValue, PxAttrValueSchema, type PxBezierPath, PxBezierPathSchema, type PxBinding, PxBindingSchema, type PxCloneEffect, PxCloneEffectSchema, type PxCreateElement, type PxDefs, PxDefsSchema, PxEasingOrRefSchema, type PxEffects, PxEffectsSchema, type PxElementAnimation, PxElementAnimationSchema, type PxFillGradientEffect, PxFillGradientEffectSchema, type PxGlyph, type PxGlyphFont, PxGradientSpreadMethod, type PxGradientStop, PxGradientStopSchema, PxGradientType, PxGradientUnits, type PxInfer, type PxKeyframe, PxKeyframeSchema, type PxLoop, PxLoopSchema, type PxMaskedByEffect, PxMaskedByEffectSchema, type PxNode, PxNodeBase, PxNodeSchema, type PxPlatformAdapter, type PxPropertyAnimation, PxPropertyAnimationSchema, type PxRepeaterEffect, PxRepeaterEffectSchema, type PxRetimeEffect, PxRetimeEffectSchema, type PxSchema, type PxSchemaDesc, type PxStrokeGradientEffect, PxStrokeGradientEffectSchema, type PxSvgNode, PxSvgNodeExtra, PxTextEffectSchema, type PxTextPathEffect, PxTextPathEffectSchema, type PxTransformPartKey, type PxTransformParts, PxTransformPartsSchema, type PxTransformValue, PxTransformValueSchema, type PxTransformationEffect, PxTransformationEffectSchema, type PxTrigger, PxTriggerSchema, type PxTrimPathEffect, PxTrimPathEffectSchema, type PxValidationContext, type PxValidationResult, type RemoveIndex, STYLE_ATTR_NAMES, type StartOn, TRANSFORM_FN_NAMES, type Vec2, applyPlayerEffects, calcAnimationValues, camelCaseToKebabWordIfNeeded, collectSampleTimes, createAnimator, createAnimatorImpl, createBasicFrameLoopAnimator, createFrameLoopAnimator, createPathSampler, createWebApiAnimator, describeSchema, diffInEffect, evaluateMotionPathSegment, extendedPathForBrowser, generateNewIds, getAnimatorConfig, getBindings, getChildren, getDefs, getNormalizedProps, isPxElementFileFormat, isPxElementFileFormatDeep, jsonElementFactory, layoutGlyphTextChars, loadTagAnimators, materialiseAllInTree, materialiseAnimatedUseInstances, materialiseGlyphText, materialiseGlyphTextAlongPath, materialiseGlyphTextHorizontal, materialiseInternalLoopsInPropAnim, materialiseInternalLoopsInTree, materialiseMotionPathInPropAnim, materialiseMotionPathsInTree, getNormalisedBindings as normalizeDocument, propAnimIsMotionPath, px, renderNode, schemaKeys, setupAnimationTriggers, shiftAnimatable, toRGBA, validateNodeEffects, visualModelAt };