@rendley/sdk 1.6.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,9 @@ import * as PIXI from "pixi.js";
2
2
  import { z } from "zod";
3
3
  import { ExportOptions } from '../../Engine';
4
4
  import { ClipStyle } from "./ClipStyle";
5
- import { Effect, Filter } from "../filter";
6
- import { WarpModeEnum } from '../../types/clip.types';
5
+ import { Effect, EffectSchema, Filter, FilterSchema } from "../filter";
6
+ import { MaskFilter, MaskFilterSchema, MaskWrapModeEnum } from "../filter/MaskFilter";
7
+ import { WrapModeEnum } from '../../types/clip.types';
7
8
  export declare enum ClipState {
8
9
  Idle = 0,
9
10
  Preloading = 1,
@@ -15,6 +16,10 @@ export declare enum AnimationTypeEnum {
15
16
  OUT = "out",
16
17
  LOOP = "loop"
17
18
  }
19
+ export interface MaskOptions {
20
+ hideMaskClip?: boolean;
21
+ wrapMode?: MaskWrapModeEnum;
22
+ }
18
23
  export interface ClipOptions<K extends ClipStyle = ClipStyle> {
19
24
  type?: string;
20
25
  id?: string;
@@ -25,9 +30,10 @@ export interface ClipOptions<K extends ClipStyle = ClipStyle> {
25
30
  duration?: number;
26
31
  leftTrim?: number;
27
32
  rightTrim?: number;
28
- filters?: Clip["filters"];
29
- effects?: Clip["effects"];
33
+ filters?: z.infer<typeof FilterSchema>[];
34
+ effects?: z.infer<typeof EffectSchema>[];
30
35
  style?: Partial<ReturnType<K["serialize"]>>;
36
+ isVisible?: boolean;
31
37
  }
32
38
  export declare const AnimationClassSchema: z.ZodObject<{
33
39
  animationDataIn: z.ZodOptional<z.ZodObject<{
@@ -474,8 +480,55 @@ export declare const ClipSchema: z.ZodObject<{
474
480
  };
475
481
  sourceId: string;
476
482
  }>, "many">;
477
- effects: z.ZodArray<z.ZodUnknown, "many">;
478
- warpMode: z.ZodNativeEnum<typeof WarpModeEnum>;
483
+ effects: z.ZodArray<z.ZodObject<{
484
+ id: z.ZodString;
485
+ sourceId: z.ZodString;
486
+ options: z.ZodObject<{
487
+ fragmentSrc: z.ZodOptional<z.ZodString>;
488
+ uniforms: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
489
+ textureWidth: z.ZodNumber;
490
+ textureHeight: z.ZodNumber;
491
+ frameWidth: z.ZodNumber;
492
+ frameHeight: z.ZodNumber;
493
+ }, "strip", z.ZodTypeAny, {
494
+ textureWidth: number;
495
+ textureHeight: number;
496
+ frameWidth: number;
497
+ frameHeight: number;
498
+ fragmentSrc?: string | undefined;
499
+ uniforms?: Record<string, unknown> | undefined;
500
+ }, {
501
+ textureWidth: number;
502
+ textureHeight: number;
503
+ frameWidth: number;
504
+ frameHeight: number;
505
+ fragmentSrc?: string | undefined;
506
+ uniforms?: Record<string, unknown> | undefined;
507
+ }>;
508
+ }, "strip", z.ZodTypeAny, {
509
+ id: string;
510
+ options: {
511
+ textureWidth: number;
512
+ textureHeight: number;
513
+ frameWidth: number;
514
+ frameHeight: number;
515
+ fragmentSrc?: string | undefined;
516
+ uniforms?: Record<string, unknown> | undefined;
517
+ };
518
+ sourceId: string;
519
+ }, {
520
+ id: string;
521
+ options: {
522
+ textureWidth: number;
523
+ textureHeight: number;
524
+ frameWidth: number;
525
+ frameHeight: number;
526
+ fragmentSrc?: string | undefined;
527
+ uniforms?: Record<string, unknown> | undefined;
528
+ };
529
+ sourceId: string;
530
+ }>, "many">;
531
+ wrapMode: z.ZodOptional<z.ZodNativeEnum<typeof WrapModeEnum>>;
479
532
  style: z.ZodUnknown;
480
533
  text: z.ZodOptional<z.ZodString>;
481
534
  animationController: z.ZodOptional<z.ZodObject<{
@@ -891,6 +944,20 @@ export declare const ClipSchema: z.ZodObject<{
891
944
  loopSmoothing?: number | undefined;
892
945
  }>>;
893
946
  customData: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodUnknown], null>, "many">>;
947
+ isVisible: z.ZodDefault<z.ZodBoolean>;
948
+ clipMasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
949
+ id: z.ZodString;
950
+ clipId: z.ZodString;
951
+ wrapMode: z.ZodDefault<z.ZodNativeEnum<typeof MaskWrapModeEnum>>;
952
+ }, "strict", z.ZodTypeAny, {
953
+ id: string;
954
+ clipId: string;
955
+ wrapMode: MaskWrapModeEnum;
956
+ }, {
957
+ id: string;
958
+ clipId: string;
959
+ wrapMode?: MaskWrapModeEnum | undefined;
960
+ }>, "many">>;
894
961
  }, "strip", z.ZodTypeAny, {
895
962
  type: string;
896
963
  id: string;
@@ -906,10 +973,22 @@ export declare const ClipSchema: z.ZodObject<{
906
973
  };
907
974
  sourceId: string;
908
975
  }[];
909
- effects: unknown[];
910
- warpMode: WarpModeEnum;
976
+ effects: {
977
+ id: string;
978
+ options: {
979
+ textureWidth: number;
980
+ textureHeight: number;
981
+ frameWidth: number;
982
+ frameHeight: number;
983
+ fragmentSrc?: string | undefined;
984
+ uniforms?: Record<string, unknown> | undefined;
985
+ };
986
+ sourceId: string;
987
+ }[];
988
+ isVisible: boolean;
911
989
  mediaDataId?: string | undefined;
912
990
  subtitlesId?: string | undefined;
991
+ wrapMode?: WrapModeEnum | undefined;
913
992
  style?: unknown;
914
993
  text?: string | undefined;
915
994
  animationController?: {
@@ -979,6 +1058,11 @@ export declare const ClipSchema: z.ZodObject<{
979
1058
  loopSmoothing?: number | undefined;
980
1059
  } | undefined;
981
1060
  customData?: [string, unknown][] | undefined;
1061
+ clipMasks?: {
1062
+ id: string;
1063
+ clipId: string;
1064
+ wrapMode: MaskWrapModeEnum;
1065
+ }[] | undefined;
982
1066
  }, {
983
1067
  type: string;
984
1068
  id: string;
@@ -994,10 +1078,21 @@ export declare const ClipSchema: z.ZodObject<{
994
1078
  };
995
1079
  sourceId: string;
996
1080
  }[];
997
- effects: unknown[];
998
- warpMode: WarpModeEnum;
1081
+ effects: {
1082
+ id: string;
1083
+ options: {
1084
+ textureWidth: number;
1085
+ textureHeight: number;
1086
+ frameWidth: number;
1087
+ frameHeight: number;
1088
+ fragmentSrc?: string | undefined;
1089
+ uniforms?: Record<string, unknown> | undefined;
1090
+ };
1091
+ sourceId: string;
1092
+ }[];
999
1093
  mediaDataId?: string | undefined;
1000
1094
  subtitlesId?: string | undefined;
1095
+ wrapMode?: WrapModeEnum | undefined;
1001
1096
  style?: unknown;
1002
1097
  text?: string | undefined;
1003
1098
  animationController?: {
@@ -1067,6 +1162,12 @@ export declare const ClipSchema: z.ZodObject<{
1067
1162
  loopSmoothing?: number | undefined;
1068
1163
  } | undefined;
1069
1164
  customData?: [string, unknown][] | undefined;
1165
+ isVisible?: boolean | undefined;
1166
+ clipMasks?: {
1167
+ id: string;
1168
+ clipId: string;
1169
+ wrapMode?: MaskWrapModeEnum | undefined;
1170
+ }[] | undefined;
1070
1171
  }>;
1071
1172
  export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipStyle = ClipStyle> {
1072
1173
  id: string;
@@ -1076,7 +1177,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1076
1177
  protected rightTrim: number;
1077
1178
  protected filters: Filter[];
1078
1179
  protected effects: Effect[];
1079
- protected warpMode: WarpModeEnum;
1180
+ protected wrapMode: WrapModeEnum;
1080
1181
  protected isBuffering: boolean;
1081
1182
  protected mediaDataId?: string;
1082
1183
  protected subtitlesId?: string;
@@ -1084,12 +1185,16 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1084
1185
  protected type: string;
1085
1186
  protected hasTransition: boolean;
1086
1187
  protected customData?: Map<string, unknown>;
1188
+ protected maskFilters: MaskFilter[];
1189
+ protected maskTargetClipIds: string[];
1190
+ protected isVisible: boolean;
1087
1191
  sprite: T;
1088
1192
  style: K;
1089
1193
  state: ClipState;
1194
+ protected clipMasksLazyDeserialize: z.infer<typeof MaskFilterSchema>[];
1090
1195
  private AnimationClass;
1091
1196
  readonly animationController: InstanceType<typeof this.AnimationClass>;
1092
- constructor(options: ClipOptions<K>);
1197
+ constructor(options: ClipOptions);
1093
1198
  init(layerId: string): Promise<void>;
1094
1199
  resetAllAnimationProperties(): void;
1095
1200
  protected setAnimationPropertyValue(property: string, value: any): void;
@@ -1112,6 +1217,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1112
1217
  getTrimmedDuration(): number;
1113
1218
  getFilters(): Filter[];
1114
1219
  getEffects(): Effect[];
1220
+ getMasks(): MaskFilter[];
1115
1221
  moveBy(amount: number): void;
1116
1222
  getType(): string;
1117
1223
  generateNewId(): void;
@@ -1146,13 +1252,21 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1146
1252
  render(currentTime: number): null;
1147
1253
  private processUpdate;
1148
1254
  updateMediaData(newMediaId?: string): Promise<boolean>;
1255
+ private addMaskTarget;
1256
+ private removeMaskTarget;
1257
+ protected maskTextureUpdated(): void;
1258
+ protected maskSpriteUpdated(): void;
1259
+ addClipMask(clip: Clip, options?: MaskOptions): MaskFilter | undefined;
1260
+ removeClipMask(clip: Clip): void;
1261
+ setVisible(visible: boolean): void;
1262
+ getVisible(): boolean;
1149
1263
  private updatePIXIFilters;
1150
1264
  hasSprite(): boolean;
1151
1265
  update(currentTime: number): void;
1152
1266
  preload(currentTime: number): void;
1153
1267
  offload(): void;
1154
1268
  clone(): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
1155
- protected updateTexture(pixels: Uint8Array, width: number, height: number): void;
1269
+ protected postRendererInit(): void;
1156
1270
  serialize(): {
1157
1271
  type: string;
1158
1272
  id: string;
@@ -1168,10 +1282,22 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1168
1282
  };
1169
1283
  sourceId: string;
1170
1284
  }[];
1171
- effects: unknown[];
1172
- warpMode: WarpModeEnum;
1285
+ effects: {
1286
+ id: string;
1287
+ options: {
1288
+ textureWidth: number;
1289
+ textureHeight: number;
1290
+ frameWidth: number;
1291
+ frameHeight: number;
1292
+ fragmentSrc?: string | undefined;
1293
+ uniforms?: Record<string, unknown> | undefined;
1294
+ };
1295
+ sourceId: string;
1296
+ }[];
1297
+ isVisible: boolean;
1173
1298
  mediaDataId?: string | undefined;
1174
1299
  subtitlesId?: string | undefined;
1300
+ wrapMode?: WrapModeEnum | undefined;
1175
1301
  style?: unknown;
1176
1302
  text?: string | undefined;
1177
1303
  animationController?: {
@@ -1241,6 +1367,11 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1241
1367
  loopSmoothing?: number | undefined;
1242
1368
  } | undefined;
1243
1369
  customData?: [string, unknown][] | undefined;
1370
+ clipMasks?: {
1371
+ id: string;
1372
+ clipId: string;
1373
+ wrapMode: MaskWrapModeEnum;
1374
+ }[] | undefined;
1244
1375
  };
1245
1376
  protected postDeserialize(validatedData: z.infer<typeof ClipSchema>): void;
1246
1377
  static deserialize(data: object): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
@@ -13,7 +13,7 @@ export interface ClipStyleOptions {
13
13
  cornerRadius?: [number, number, number, number];
14
14
  relativeCornerRadius?: boolean;
15
15
  }
16
- export declare const schema: z.ZodObject<{
16
+ export declare const ClipStyleSchema: z.ZodObject<{
17
17
  clipId: z.ZodString;
18
18
  mediaDataId: z.ZodOptional<z.ZodString>;
19
19
  alpha: z.ZodNumber;
@@ -69,6 +69,7 @@ export declare class ClipStyle<T extends PIXI.Sprite = PIXI.Sprite> {
69
69
  protected animationRotationOffset: number;
70
70
  protected animationAlphaMultiplier: number;
71
71
  private lastCornerRadius;
72
+ private lastCornerSize;
72
73
  private lastCornerScale;
73
74
  private lastRelativeCornerRadius;
74
75
  constructor(options: ClipStyleOptions);
@@ -102,8 +103,8 @@ export declare class ClipStyle<T extends PIXI.Sprite = PIXI.Sprite> {
102
103
  getZIndex(): number;
103
104
  load(sprite: T): void;
104
105
  update(sprite: T): void;
105
- private setCornerRadiusOnSprite;
106
- private updateMask;
106
+ protected setCornerRadiusOnSprite(sprite: T): void;
107
+ protected updateMask(sprite: T): void;
107
108
  protected emitUpdateEvent(property: string, value: unknown): boolean;
108
109
  destroy(): void;
109
110
  serialize(): {
@@ -29,6 +29,7 @@ export declare class AudioClip extends Clip {
29
29
  private endedCallback;
30
30
  private errorCallback;
31
31
  private audioLoadedCallback;
32
+ private isAudioReady;
32
33
  setVolume(volume: number): void;
33
34
  getVolume(): number;
34
35
  private play;
@@ -58,12 +59,24 @@ export declare class AudioClip extends Clip {
58
59
  };
59
60
  sourceId: string;
60
61
  }[];
61
- effects: unknown[];
62
- warpMode: import('../../../../types').WarpModeEnum;
62
+ effects: {
63
+ id: string;
64
+ options: {
65
+ textureWidth: number;
66
+ textureHeight: number;
67
+ frameWidth: number;
68
+ frameHeight: number;
69
+ fragmentSrc?: string | undefined;
70
+ uniforms?: Record<string, unknown> | undefined;
71
+ };
72
+ sourceId: string;
73
+ }[];
74
+ isVisible: boolean;
63
75
  text?: string | undefined;
64
76
  style?: unknown;
65
77
  customData?: [string, unknown][] | undefined;
66
78
  subtitlesId?: string | undefined;
79
+ wrapMode?: import('../../../../types').WrapModeEnum | undefined;
67
80
  animationController?: {
68
81
  animationDataIn?: {
69
82
  name: string;
@@ -130,6 +143,11 @@ export declare class AudioClip extends Clip {
130
143
  animationLoopCount?: number | undefined;
131
144
  loopSmoothing?: number | undefined;
132
145
  } | undefined;
146
+ clipMasks?: {
147
+ id: string;
148
+ clipId: string;
149
+ wrapMode: import("../../../filter/MaskFilter").MaskWrapModeEnum;
150
+ }[] | undefined;
133
151
  volume?: number | undefined;
134
152
  muted?: boolean | undefined;
135
153
  };
@@ -23,10 +23,22 @@ export declare class CustomClip extends Clip<PIXI.Sprite, ClipStyle> {
23
23
  };
24
24
  sourceId: string;
25
25
  }[];
26
- effects: unknown[];
27
- warpMode: import('../../../../index').WarpModeEnum;
26
+ effects: {
27
+ id: string;
28
+ options: {
29
+ textureWidth: number;
30
+ textureHeight: number;
31
+ frameWidth: number;
32
+ frameHeight: number;
33
+ fragmentSrc?: string | undefined;
34
+ uniforms?: Record<string, unknown> | undefined;
35
+ };
36
+ sourceId: string;
37
+ }[];
38
+ isVisible: boolean;
28
39
  mediaDataId?: string | undefined;
29
40
  subtitlesId?: string | undefined;
41
+ wrapMode?: import('../../../../index').WrapModeEnum | undefined;
30
42
  style?: unknown;
31
43
  text?: string | undefined;
32
44
  animationController?: {
@@ -96,6 +108,11 @@ export declare class CustomClip extends Clip<PIXI.Sprite, ClipStyle> {
96
108
  loopSmoothing?: number | undefined;
97
109
  } | undefined;
98
110
  customData?: [string, unknown][] | undefined;
111
+ clipMasks?: {
112
+ id: string;
113
+ clipId: string;
114
+ wrapMode: import("../../../filter/MaskFilter").MaskWrapModeEnum;
115
+ }[] | undefined;
99
116
  };
100
117
  static deserialize(payload: object): CustomClip;
101
118
  }
@@ -89,119 +89,28 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
89
89
  getHtmlText(): string;
90
90
  setHtmlStyle(style: HtmlTextStyle, reset?: boolean): void;
91
91
  getHtmlStyle(): {
92
- type: string;
93
- id: string;
94
- duration: number;
95
- subtitlesOffset: number;
96
- startTime: number;
97
- leftTrim: number;
98
- rightTrim: number;
99
- filters: {
100
- id: string;
101
- options: {
102
- lutUrl: string;
103
- };
104
- sourceId: string;
105
- }[];
106
- effects: unknown[];
107
- warpMode: import('../../../../types').WarpModeEnum;
108
- htmlText: string;
109
- htmlStyle: {
110
- color: string;
111
- align: "left" | "center" | "right" | "justify";
112
- fontSize: number;
113
- fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
114
- fontFamily: string;
115
- fontStyle: "normal" | "italic" | "oblique";
116
- strokeThickness: number;
117
- padding: number;
118
- wordWrapWidth: number;
119
- wordWrap: boolean;
120
- breakWords: boolean;
121
- dropShadow: boolean;
122
- dropShadowAlpha: number;
123
- dropShadowAngle: number;
124
- dropShadowBlur: number;
125
- dropShadowColor: string;
126
- dropShadowDistance: number;
127
- fontVariant: "normal" | "small-caps";
128
- letterSpacing: number;
129
- lineHeight: number;
130
- stroke: string;
131
- whiteSpace: "pre" | "normal" | "pre-line";
132
- };
133
- text?: string | undefined;
134
- style?: unknown;
135
- customData?: [string, unknown][] | undefined;
136
- mediaDataId?: string | undefined;
137
- subtitlesId?: string | undefined;
138
- animationController?: {
139
- animationDataIn?: {
140
- name: string;
141
- inOutOfRange: import("../../../..").OutOfRangeEnum;
142
- outOutOfRange: import("../../../..").OutOfRangeEnum;
143
- propertyAnimations: {
144
- inOutOfRange: import("../../../..").OutOfRangeEnum;
145
- outOutOfRange: import("../../../..").OutOfRangeEnum;
146
- property: string;
147
- keyframes: {
148
- time: number;
149
- value: string | number;
150
- easing: import("../../../..").EasingEnum;
151
- space: import("../../../..").AnimationSpaceEnum;
152
- relativeProperty?: string | undefined;
153
- }[];
154
- }[];
155
- speed?: number | undefined;
156
- offset?: number | undefined;
157
- amplification?: number | undefined;
158
- } | undefined;
159
- animationDataOut?: {
160
- name: string;
161
- inOutOfRange: import("../../../..").OutOfRangeEnum;
162
- outOutOfRange: import("../../../..").OutOfRangeEnum;
163
- propertyAnimations: {
164
- inOutOfRange: import("../../../..").OutOfRangeEnum;
165
- outOutOfRange: import("../../../..").OutOfRangeEnum;
166
- property: string;
167
- keyframes: {
168
- time: number;
169
- value: string | number;
170
- easing: import("../../../..").EasingEnum;
171
- space: import("../../../..").AnimationSpaceEnum;
172
- relativeProperty?: string | undefined;
173
- }[];
174
- }[];
175
- speed?: number | undefined;
176
- offset?: number | undefined;
177
- amplification?: number | undefined;
178
- } | undefined;
179
- animationDataLoop?: {
180
- name: string;
181
- inOutOfRange: import("../../../..").OutOfRangeEnum;
182
- outOutOfRange: import("../../../..").OutOfRangeEnum;
183
- propertyAnimations: {
184
- inOutOfRange: import("../../../..").OutOfRangeEnum;
185
- outOutOfRange: import("../../../..").OutOfRangeEnum;
186
- property: string;
187
- keyframes: {
188
- time: number;
189
- value: string | number;
190
- easing: import("../../../..").EasingEnum;
191
- space: import("../../../..").AnimationSpaceEnum;
192
- relativeProperty?: string | undefined;
193
- }[];
194
- }[];
195
- speed?: number | undefined;
196
- offset?: number | undefined;
197
- amplification?: number | undefined;
198
- } | undefined;
199
- animationInDuration?: number | undefined;
200
- animationOutDuration?: number | undefined;
201
- animationLoopCount?: number | undefined;
202
- loopSmoothing?: number | undefined;
203
- } | undefined;
204
- fonts?: string[] | undefined;
92
+ color: string;
93
+ align: "left" | "center" | "right" | "justify";
94
+ fontSize: number;
95
+ fontWeight: "bold" | "normal" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
96
+ fontFamily: string;
97
+ fontStyle: "normal" | "italic" | "oblique";
98
+ strokeThickness: number;
99
+ padding: number;
100
+ wordWrapWidth: number;
101
+ wordWrap: boolean;
102
+ breakWords: boolean;
103
+ dropShadow: boolean;
104
+ dropShadowAlpha: number;
105
+ dropShadowAngle: number;
106
+ dropShadowBlur: number;
107
+ dropShadowColor: string;
108
+ dropShadowDistance: number;
109
+ fontVariant: "normal" | "small-caps";
110
+ letterSpacing: number;
111
+ lineHeight: number;
112
+ stroke: string;
113
+ whiteSpace: "pre" | "normal" | "pre-line";
205
114
  };
206
115
  loadFonts(fonts: string[]): Promise<void>;
207
116
  updateVisibility(currentTime: number): void;
@@ -222,8 +131,19 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
222
131
  };
223
132
  sourceId: string;
224
133
  }[];
225
- effects: unknown[];
226
- warpMode: import('../../../../types').WarpModeEnum;
134
+ effects: {
135
+ id: string;
136
+ options: {
137
+ textureWidth: number;
138
+ textureHeight: number;
139
+ frameWidth: number;
140
+ frameHeight: number;
141
+ fragmentSrc?: string | undefined;
142
+ uniforms?: Record<string, unknown> | undefined;
143
+ };
144
+ sourceId: string;
145
+ }[];
146
+ isVisible: boolean;
227
147
  htmlText: string;
228
148
  htmlStyle: {
229
149
  color: string;
@@ -254,6 +174,7 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
254
174
  customData?: [string, unknown][] | undefined;
255
175
  mediaDataId?: string | undefined;
256
176
  subtitlesId?: string | undefined;
177
+ wrapMode?: import('../../../../types').WrapModeEnum | undefined;
257
178
  animationController?: {
258
179
  animationDataIn?: {
259
180
  name: string;
@@ -320,6 +241,11 @@ export declare class HtmlTextClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprit
320
241
  animationLoopCount?: number | undefined;
321
242
  loopSmoothing?: number | undefined;
322
243
  } | undefined;
244
+ clipMasks?: {
245
+ id: string;
246
+ clipId: string;
247
+ wrapMode: import("../../../filter/MaskFilter").MaskWrapModeEnum;
248
+ }[] | undefined;
323
249
  fonts?: string[] | undefined;
324
250
  };
325
251
  static deserialize(payload: object): HtmlTextClip;
@@ -94,14 +94,26 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
94
94
  };
95
95
  sourceId: string;
96
96
  }[];
97
- effects: unknown[];
98
- warpMode: import('../../../../types').WarpModeEnum;
97
+ effects: {
98
+ id: string;
99
+ options: {
100
+ textureWidth: number;
101
+ textureHeight: number;
102
+ frameWidth: number;
103
+ frameHeight: number;
104
+ fragmentSrc?: string | undefined;
105
+ uniforms?: Record<string, unknown> | undefined;
106
+ };
107
+ sourceId: string;
108
+ }[];
109
+ isVisible: boolean;
99
110
  dataUrl: string;
100
111
  text?: string | undefined;
101
112
  style?: unknown;
102
113
  customData?: [string, unknown][] | undefined;
103
114
  mediaDataId?: string | undefined;
104
115
  subtitlesId?: string | undefined;
116
+ wrapMode?: import('../../../../types').WrapModeEnum | undefined;
105
117
  animationController?: {
106
118
  animationDataIn?: {
107
119
  name: string;
@@ -168,6 +180,11 @@ export declare class LottieClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>
168
180
  animationLoopCount?: number | undefined;
169
181
  loopSmoothing?: number | undefined;
170
182
  } | undefined;
183
+ clipMasks?: {
184
+ id: string;
185
+ clipId: string;
186
+ wrapMode: import("../../../filter/MaskFilter").MaskWrapModeEnum;
187
+ }[] | undefined;
171
188
  assetsUrl?: string | undefined;
172
189
  propertiesUrl?: string | undefined;
173
190
  properties?: Record<string, {
@@ -30,13 +30,25 @@ export declare class ShapeClip extends Clip<ShapeSprite, ShapeStyle> {
30
30
  };
31
31
  sourceId: string;
32
32
  }[];
33
- effects: unknown[];
34
- warpMode: import('../../../../types').WarpModeEnum;
33
+ effects: {
34
+ id: string;
35
+ options: {
36
+ textureWidth: number;
37
+ textureHeight: number;
38
+ frameWidth: number;
39
+ frameHeight: number;
40
+ fragmentSrc?: string | undefined;
41
+ uniforms?: Record<string, unknown> | undefined;
42
+ };
43
+ sourceId: string;
44
+ }[];
45
+ isVisible: boolean;
35
46
  text?: string | undefined;
36
47
  style?: unknown;
37
48
  customData?: [string, unknown][] | undefined;
38
49
  mediaDataId?: string | undefined;
39
50
  subtitlesId?: string | undefined;
51
+ wrapMode?: import('../../../../types').WrapModeEnum | undefined;
40
52
  animationController?: {
41
53
  animationDataIn?: {
42
54
  name: string;
@@ -103,6 +115,11 @@ export declare class ShapeClip extends Clip<ShapeSprite, ShapeStyle> {
103
115
  animationLoopCount?: number | undefined;
104
116
  loopSmoothing?: number | undefined;
105
117
  } | undefined;
118
+ clipMasks?: {
119
+ id: string;
120
+ clipId: string;
121
+ wrapMode: import("../../../filter/MaskFilter").MaskWrapModeEnum;
122
+ }[] | undefined;
106
123
  };
107
124
  static deserialize(payload: object): ShapeClip;
108
125
  }