@rendley/sdk 1.11.18 → 1.12.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.
Files changed (31) hide show
  1. package/dist/Engine.d.ts +15 -12
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/modules/clip/Clip.d.ts +15 -9
  5. package/dist/modules/clip/ClipStyle.d.ts +26 -0
  6. package/dist/modules/clip/clips/adjustment/AdjustmentClip.d.ts +27 -0
  7. package/dist/modules/clip/clips/audio/AudioClip.d.ts +62 -22
  8. package/dist/modules/clip/clips/custom/CustomClip.d.ts +2 -2
  9. package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +3 -3
  10. package/dist/modules/clip/clips/lottie/LottieClip.d.ts +20 -20
  11. package/dist/modules/clip/clips/shape/ShapeClip.d.ts +2 -2
  12. package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +9 -5
  13. package/dist/modules/clip/clips/text/TextClip.d.ts +3 -3
  14. package/dist/modules/clip/clips/text/TextStyle.d.ts +11 -7
  15. package/dist/modules/clip/clips/video/VideoClip.d.ts +45 -4
  16. package/dist/modules/effect/Effect.d.ts +3 -3
  17. package/dist/modules/event-emitter/types/EventEmitter.types.d.ts +28 -0
  18. package/dist/modules/filter/Filter.d.ts +3 -3
  19. package/dist/modules/filter/MaskFilter.d.ts +1 -1
  20. package/dist/modules/layer/Layer.d.ts +2 -0
  21. package/dist/modules/library/Library.d.ts +32 -32
  22. package/dist/modules/library/Subtitles.d.ts +3 -0
  23. package/dist/modules/library/TransitionData.d.ts +3 -3
  24. package/dist/modules/renderer/Renderer.d.ts +1 -0
  25. package/dist/modules/subtitles/SubtitleManager.d.ts +21 -21
  26. package/dist/modules/timeline/Timeline.d.ts +2 -0
  27. package/dist/modules/transition/Transition.d.ts +1 -0
  28. package/dist/modules/undo/UndoManager.types.d.ts +49 -1
  29. package/dist/types/clip.types.d.ts +26 -0
  30. package/dist/utils/animation/animation.d.ts +2 -1
  31. package/package.json +1 -1
@@ -29,17 +29,17 @@ export declare class TextClip extends Clip<TextSprite, TextStyle> {
29
29
  rightTrim: number;
30
30
  filters: {
31
31
  id: string;
32
- provider: string;
33
32
  filterId: string;
33
+ provider: string;
34
34
  intensity: number;
35
35
  clipId?: string | undefined;
36
36
  }[];
37
37
  effects: any[];
38
38
  isVisible: boolean;
39
39
  name?: string | undefined;
40
- wrapMode?: import('../../../../index').WrapModeEnum | undefined;
41
40
  mediaDataId?: string | undefined;
42
41
  subtitlesId?: string | undefined;
42
+ wrapMode?: import('../../../../index').WrapModeEnum | undefined;
43
43
  blendMode?: import('../../../../index').BlendModeEnum | undefined;
44
44
  style?: unknown;
45
45
  animationController?: {
@@ -110,9 +110,9 @@ export declare class TextClip extends Clip<TextSprite, TextStyle> {
110
110
  } | undefined;
111
111
  customData?: [string, unknown][] | undefined;
112
112
  clipMasks?: {
113
- wrapMode: import('../../../../index').MaskWrapModeEnum;
114
113
  id: string;
115
114
  clipId: string;
115
+ wrapMode: import('../../../../index').MaskWrapModeEnum;
116
116
  }[] | undefined;
117
117
  };
118
118
  static deserialize(payload: object): TextClip;
@@ -18,13 +18,14 @@ interface TextClipStyleOptions extends ClipStyleOptions {
18
18
  export declare const TextStyleSchema: z.ZodObject<{
19
19
  width: z.ZodOptional<z.ZodNumber>;
20
20
  alpha: z.ZodNumber;
21
- height: z.ZodOptional<z.ZodNumber>;
22
- clipId: z.ZodString;
23
21
  mediaDataId: z.ZodOptional<z.ZodString>;
22
+ clipId: z.ZodString;
24
23
  rotation: z.ZodNumber;
25
24
  position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
26
25
  scale: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
26
+ crop: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>>;
27
27
  zIndex: z.ZodNumber;
28
+ height: z.ZodOptional<z.ZodNumber>;
28
29
  cornerRadius: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
29
30
  relativeCornerRadius: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
30
31
  fontSize: z.ZodNumber;
@@ -45,21 +46,22 @@ export declare const TextStyleSchema: z.ZodObject<{
45
46
  rotation: number;
46
47
  position: [number, number];
47
48
  scale: [number, number];
49
+ crop: [number, number, number, number];
48
50
  zIndex: number;
49
51
  relativeCornerRadius: boolean;
50
- strokeColor: string;
51
52
  fontSize: number;
52
53
  fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
53
54
  fontFamily: string;
54
55
  textAlign: "left" | "center" | "right" | "justify";
55
56
  fontStyle: "normal" | "italic" | "oblique";
56
57
  backgroundColor: string | null;
58
+ strokeColor: string;
57
59
  strokeThickness: number;
58
60
  wordWrapWidth: number | null;
59
61
  padding: number[];
60
62
  width?: number | undefined;
61
- height?: number | undefined;
62
63
  mediaDataId?: string | undefined;
64
+ height?: number | undefined;
63
65
  cornerRadius?: [number, number, number, number] | undefined;
64
66
  }, {
65
67
  color: string;
@@ -76,8 +78,9 @@ export declare const TextStyleSchema: z.ZodObject<{
76
78
  fontStyle: "normal" | "italic" | "oblique";
77
79
  backgroundColor: string | null;
78
80
  width?: number | undefined;
79
- height?: number | undefined;
80
81
  mediaDataId?: string | undefined;
82
+ crop?: [number, number, number, number] | undefined;
83
+ height?: number | undefined;
81
84
  cornerRadius?: [number, number, number, number] | undefined;
82
85
  relativeCornerRadius?: boolean | undefined;
83
86
  strokeColor?: string | undefined;
@@ -133,21 +136,22 @@ export declare class TextStyle extends ClipStyle<TextSprite> {
133
136
  rotation: number;
134
137
  position: [number, number];
135
138
  scale: [number, number];
139
+ crop: [number, number, number, number];
136
140
  zIndex: number;
137
141
  relativeCornerRadius: boolean;
138
- strokeColor: string;
139
142
  fontSize: number;
140
143
  fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
141
144
  fontFamily: string;
142
145
  textAlign: "left" | "center" | "right" | "justify";
143
146
  fontStyle: "normal" | "italic" | "oblique";
144
147
  backgroundColor: string | null;
148
+ strokeColor: string;
145
149
  strokeThickness: number;
146
150
  wordWrapWidth: number | null;
147
151
  padding: number[];
148
152
  width?: number | undefined;
149
- height?: number | undefined;
150
153
  mediaDataId?: string | undefined;
154
+ height?: number | undefined;
151
155
  cornerRadius?: [number, number, number, number] | undefined;
152
156
  };
153
157
  static deserialize(payload: object): TextStyle;
@@ -1,12 +1,19 @@
1
1
  import * as PIXI from "pixi.js";
2
2
  import { ExportOptions } from '../../../../Engine';
3
- import { FilmStripStateEnum, IFilmstripData } from '../../../../index';
3
+ import { AudioClip, FilmStripStateEnum, IFilmstripData } from '../../../../index';
4
+ import { FadeCurveEnum } from '../../../../types';
4
5
  import { Clip, ClipOptions } from "../../Clip";
5
6
  import { ClipStyle } from "../../ClipStyle";
6
7
  export interface VideoClipOptions extends ClipOptions<ClipStyle> {
7
8
  mediaDataId: string;
8
9
  volume?: number;
9
10
  muted?: boolean;
11
+ playbackSpeed?: number;
12
+ perservePitch?: boolean;
13
+ volumeFadeInDuration?: number;
14
+ volumeFadeInCurve?: FadeCurveEnum;
15
+ volumeFadeOutDuration?: number;
16
+ volumeFadeOutCurve?: FadeCurveEnum;
10
17
  }
11
18
  export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>> {
12
19
  private videoElement;
@@ -14,12 +21,19 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
14
21
  private isPlaying;
15
22
  private volume;
16
23
  private muted;
24
+ private playbackSpeed;
25
+ private perservePitch;
26
+ private volumeFadeInDuration;
27
+ private volumeFadeInCurve;
28
+ private volumeFadeOutDuration;
29
+ private volumeFadeOutCurve;
17
30
  private actions;
18
31
  private isProcessing;
19
32
  private lastUpdateTime;
20
33
  private lastStartTime;
21
34
  private lastLeftTrim;
22
35
  private lastRightTrim;
36
+ private mediaDataDuration;
23
37
  private decoder;
24
38
  private frameQueue;
25
39
  private isRendering;
@@ -47,8 +61,24 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
47
61
  private isVideoReady;
48
62
  private isAudioReady;
49
63
  isReady(): boolean;
64
+ private applyFadeFunction;
65
+ private getVolumeFadeRelativeBounds;
66
+ private getFadeVolume;
67
+ private applyVolume;
50
68
  setVolume(volume: number): void;
51
69
  getVolume(): number;
70
+ setVolumeFadeInDuration(duration: number): void;
71
+ getVolumeFadeInDuration(): number;
72
+ setVolumeFadeInCurve(curve: FadeCurveEnum): void;
73
+ getVolumeFadeInCurve(): FadeCurveEnum;
74
+ setVolumeFadeOutDuration(duration: number): void;
75
+ getVolumeFadeOutDuration(): number;
76
+ setVolumeFadeOutCurve(curve: FadeCurveEnum): void;
77
+ getVolumeFadeOutCurve(): FadeCurveEnum;
78
+ setPlaybackSpeed(speed: number, perserveLeftBound?: boolean, perserveTrimmedDuration?: boolean): void;
79
+ getPlaybackSpeed(): number;
80
+ setPerservePitch(perservePitch: boolean): void;
81
+ getPerservePitch(): boolean;
52
82
  private play;
53
83
  private pause;
54
84
  private renderSeek;
@@ -67,6 +97,7 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
67
97
  update(currentTime: number): void;
68
98
  setMuted(muted: boolean): void;
69
99
  isMuted(): boolean;
100
+ extractAudioClip(muteAudio?: boolean): Promise<AudioClip | null>;
70
101
  /**
71
102
  * Retrieves audio samples for a specified time range relative to the startTime from the associated media data.
72
103
  *
@@ -104,6 +135,10 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
104
135
  * or if the range is invalid, an empty array is returned.
105
136
  */
106
137
  getFilmstripDataRange(start: number, end: number): IFilmstripData[];
138
+ /**
139
+ *
140
+ * @deprecated Use getAudioSamples instead, don't forget to enable them in the settings
141
+ */
107
142
  extractMonoAudioData(startTime: number, endTime: number): Promise<Float32Array | null>;
108
143
  destroy(): void;
109
144
  clone(): VideoClip;
@@ -118,17 +153,23 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
118
153
  rightTrim: number;
119
154
  filters: {
120
155
  id: string;
121
- provider: string;
122
156
  filterId: string;
157
+ provider: string;
123
158
  intensity: number;
124
159
  clipId?: string | undefined;
125
160
  }[];
126
161
  effects: any[];
127
162
  isVisible: boolean;
163
+ playbackSpeed: number;
164
+ perservePitch: boolean;
165
+ volumeFadeInDuration: number;
166
+ volumeFadeInCurve: FadeCurveEnum;
167
+ volumeFadeOutDuration: number;
168
+ volumeFadeOutCurve: FadeCurveEnum;
128
169
  text?: string | undefined;
129
170
  name?: string | undefined;
130
- wrapMode?: import('../../../../index').WrapModeEnum | undefined;
131
171
  subtitlesId?: string | undefined;
172
+ wrapMode?: import('../../../../index').WrapModeEnum | undefined;
132
173
  blendMode?: import('../../../../index').BlendModeEnum | undefined;
133
174
  style?: unknown;
134
175
  animationController?: {
@@ -199,9 +240,9 @@ export declare class VideoClip extends Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>
199
240
  } | undefined;
200
241
  customData?: [string, unknown][] | undefined;
201
242
  clipMasks?: {
202
- wrapMode: import('../../../../index').MaskWrapModeEnum;
203
243
  id: string;
204
244
  clipId: string;
245
+ wrapMode: import('../../../../index').MaskWrapModeEnum;
205
246
  }[] | undefined;
206
247
  volume?: number | undefined;
207
248
  muted?: boolean | undefined;
@@ -8,13 +8,13 @@ export declare const EffectSchema: z.ZodObject<{
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  id: string;
10
10
  provider: string;
11
- properties: [string, any][];
12
11
  effectId: string;
12
+ properties: [string, any][];
13
13
  }, {
14
14
  id: string;
15
15
  provider: string;
16
- properties: [string, any][];
17
16
  effectId: string;
17
+ properties: [string, any][];
18
18
  }>;
19
19
  export declare class Effect {
20
20
  private id;
@@ -40,8 +40,8 @@ export declare class Effect {
40
40
  serialize(): {
41
41
  id: string;
42
42
  provider: string;
43
- properties: [string, any][];
44
43
  effectId: string;
44
+ properties: [string, any][];
45
45
  };
46
46
  static deserialize(data: object): Effect;
47
47
  }
@@ -29,6 +29,7 @@ export declare enum EventsEnum {
29
29
  CLIP_EFFECT_ADDED = "clip:effect:added",
30
30
  CLIP_EFFECT_REMOVED = "clip:effect:removed",
31
31
  CLIP_LOTTIE_PROPERTY_UPDATED = "clip:lottie-property:updated",
32
+ CLIP_ANIMATION_UPDATED = "clip:animation:updated",
32
33
  LIBRARY_ADDED = "library:added",
33
34
  LIBRARY_REMOVED = "library:removed",
34
35
  LIBRARY_REPLACED = "library:replaced",
@@ -50,6 +51,11 @@ export declare enum EventsEnum {
50
51
  SUBTITLES_ANIMATION_UPDATED = "subtitles:animation:updated",
51
52
  SUBTITLES_TEXT_MODE_UPDATED = "subtitles:text-mode:updated",
52
53
  SUBTITLES_TRANSFORM_UPDATED = "subtitles:transform:updated",
54
+ SUBTITLES_CONTENT_UPDATED = "subtitles:content:updated",// Refers to textBlocks, when a mass text block update happens
55
+ SUBTITLES_DURATION_UPDATED = "subtitles:duration:updated",
56
+ SUBTITLES_TEXTBLOCK_ADDED = "subtitles:textblock:added",
57
+ SUBTITLES_TEXTBLOCK_REMOVED = "subtitles:textblock:removed",
58
+ SUBTITLES_TEXTBLOCK_UPDATED = "subtitles:textblock:updated",
53
59
  EFFECT_PROPERTY_CHANGED = "effect:property:changed",
54
60
  TRANSITION_PROPERTY_CHANGED = "transition:property:changed",
55
61
  FONT_ADDED = "font:added",
@@ -165,6 +171,9 @@ export type EventPayloadMap = {
165
171
  id: string;
166
172
  effectId: string;
167
173
  };
174
+ [EventsEnum.CLIP_ANIMATION_UPDATED]: {
175
+ clipId: string;
176
+ };
168
177
  [EventsEnum.CLIP_LOTTIE_PROPERTY_UPDATED]: {
169
178
  clipId: string;
170
179
  propertyId: string;
@@ -208,6 +217,25 @@ export type EventPayloadMap = {
208
217
  [EventsEnum.SUBTITLES_ANIMATION_UPDATED]: undefined;
209
218
  [EventsEnum.SUBTITLES_TEXT_MODE_UPDATED]: undefined;
210
219
  [EventsEnum.SUBTITLES_TRANSFORM_UPDATED]: undefined;
220
+ [EventsEnum.SUBTITLES_CONTENT_UPDATED]: {
221
+ subtitlesId: string;
222
+ };
223
+ [EventsEnum.SUBTITLES_DURATION_UPDATED]: {
224
+ subtitlesId: string;
225
+ duration: number;
226
+ };
227
+ [EventsEnum.SUBTITLES_TEXTBLOCK_ADDED]: {
228
+ subtitlesId: string;
229
+ index: number;
230
+ };
231
+ [EventsEnum.SUBTITLES_TEXTBLOCK_REMOVED]: {
232
+ subtitlesId: string;
233
+ index: number;
234
+ };
235
+ [EventsEnum.SUBTITLES_TEXTBLOCK_UPDATED]: {
236
+ subtitlesId: string;
237
+ index: number;
238
+ };
211
239
  [EventsEnum.LIBRARY_EFFECT_ADDED]: {
212
240
  effectId: string;
213
241
  };
@@ -8,14 +8,14 @@ export declare const FilterSchema: z.ZodObject<{
8
8
  intensity: z.ZodNumber;
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  id: string;
11
- provider: string;
12
11
  filterId: string;
12
+ provider: string;
13
13
  intensity: number;
14
14
  clipId?: string | undefined;
15
15
  }, {
16
16
  id: string;
17
- provider: string;
18
17
  filterId: string;
18
+ provider: string;
19
19
  intensity: number;
20
20
  clipId?: string | undefined;
21
21
  }>;
@@ -44,8 +44,8 @@ export declare class Filter {
44
44
  getPixiFilter(): PIXI.Filter;
45
45
  serialize(): {
46
46
  id: string;
47
- provider: string;
48
47
  filterId: string;
48
+ provider: string;
49
49
  intensity: number;
50
50
  clipId?: string | undefined;
51
51
  };
@@ -11,9 +11,9 @@ export declare const MaskFilterSchema: z.ZodObject<{
11
11
  clipId: z.ZodString;
12
12
  wrapMode: z.ZodDefault<z.ZodNativeEnum<typeof MaskWrapModeEnum>>;
13
13
  }, "strict", z.ZodTypeAny, {
14
- wrapMode: MaskWrapModeEnum;
15
14
  id: string;
16
15
  clipId: string;
16
+ wrapMode: MaskWrapModeEnum;
17
17
  }, {
18
18
  id: string;
19
19
  clipId: string;
@@ -103,6 +103,7 @@ export declare class Layer {
103
103
  removeTransition(id: string): void;
104
104
  removeAllTransitionsByTransitionId(transitionId: string): void;
105
105
  getTransitions(): Transition[];
106
+ getTransitionById(id: string): Transition | null;
106
107
  getDuration(): number;
107
108
  hasEmptySpace(startTime: number, endTime: number): boolean;
108
109
  getClipById(clipId: string): Clip | undefined;
@@ -114,6 +115,7 @@ export declare class Layer {
114
115
  onResize(width: number, height: number): void;
115
116
  update(currentTime: number): void;
116
117
  render(currentTime: number): PIXI.Container<PIXI.DisplayObject>;
118
+ postRender(currentTime: number): void;
117
119
  isEmpty(): boolean;
118
120
  private createClip;
119
121
  serialize(): {
@@ -226,7 +226,6 @@ export declare const LibrarySchema: z.ZodObject<{
226
226
  name: string;
227
227
  id: string;
228
228
  provider: string;
229
- transitionSrc: string;
230
229
  properties: {
231
230
  type: import('../../index').PropertyDescriptionTypeEnum;
232
231
  name: string;
@@ -234,6 +233,7 @@ export declare const LibrarySchema: z.ZodObject<{
234
233
  label?: string | undefined;
235
234
  description?: string | undefined;
236
235
  }[];
236
+ transitionSrc: string;
237
237
  inputTextures?: {
238
238
  name: string;
239
239
  url: string;
@@ -245,7 +245,6 @@ export declare const LibrarySchema: z.ZodObject<{
245
245
  name: string;
246
246
  id: string;
247
247
  provider: string;
248
- transitionSrc: string;
249
248
  properties: {
250
249
  type: import('../../index').PropertyDescriptionTypeEnum;
251
250
  name: string;
@@ -253,6 +252,7 @@ export declare const LibrarySchema: z.ZodObject<{
253
252
  label?: string | undefined;
254
253
  description?: string | undefined;
255
254
  }[];
255
+ transitionSrc: string;
256
256
  inputTextures?: {
257
257
  name: string;
258
258
  url: string;
@@ -272,11 +272,16 @@ export declare const LibrarySchema: z.ZodObject<{
272
272
  time: number;
273
273
  }[];
274
274
  }[];
275
- transitions: {
275
+ filters: {
276
+ name: string;
277
+ id: string;
278
+ provider: string;
279
+ lutUrl: string;
280
+ }[];
281
+ effects: {
276
282
  name: string;
277
283
  id: string;
278
284
  provider: string;
279
- transitionSrc: string;
280
285
  properties: {
281
286
  type: import('../../index').PropertyDescriptionTypeEnum;
282
287
  name: string;
@@ -284,6 +289,7 @@ export declare const LibrarySchema: z.ZodObject<{
284
289
  label?: string | undefined;
285
290
  description?: string | undefined;
286
291
  }[];
292
+ fragmentSrc: string;
287
293
  inputTextures?: {
288
294
  name: string;
289
295
  url: string;
@@ -292,13 +298,7 @@ export declare const LibrarySchema: z.ZodObject<{
292
298
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
293
299
  }[] | undefined;
294
300
  }[];
295
- filters: {
296
- name: string;
297
- id: string;
298
- provider: string;
299
- lutUrl: string;
300
- }[];
301
- effects: {
301
+ transitions: {
302
302
  name: string;
303
303
  id: string;
304
304
  provider: string;
@@ -309,7 +309,7 @@ export declare const LibrarySchema: z.ZodObject<{
309
309
  label?: string | undefined;
310
310
  description?: string | undefined;
311
311
  }[];
312
- fragmentSrc: string;
312
+ transitionSrc: string;
313
313
  inputTextures?: {
314
314
  name: string;
315
315
  url: string;
@@ -340,11 +340,16 @@ export declare const LibrarySchema: z.ZodObject<{
340
340
  time: number;
341
341
  }[];
342
342
  }[];
343
- transitions: {
343
+ filters: {
344
+ name: string;
345
+ id: string;
346
+ provider: string;
347
+ lutUrl: string;
348
+ }[];
349
+ effects: {
344
350
  name: string;
345
351
  id: string;
346
352
  provider: string;
347
- transitionSrc: string;
348
353
  properties: {
349
354
  type: import('../../index').PropertyDescriptionTypeEnum;
350
355
  name: string;
@@ -352,6 +357,7 @@ export declare const LibrarySchema: z.ZodObject<{
352
357
  label?: string | undefined;
353
358
  description?: string | undefined;
354
359
  }[];
360
+ fragmentSrc: string;
355
361
  inputTextures?: {
356
362
  name: string;
357
363
  url: string;
@@ -360,13 +366,7 @@ export declare const LibrarySchema: z.ZodObject<{
360
366
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
361
367
  }[] | undefined;
362
368
  }[];
363
- filters: {
364
- name: string;
365
- id: string;
366
- provider: string;
367
- lutUrl: string;
368
- }[];
369
- effects: {
369
+ transitions: {
370
370
  name: string;
371
371
  id: string;
372
372
  provider: string;
@@ -377,7 +377,7 @@ export declare const LibrarySchema: z.ZodObject<{
377
377
  label?: string | undefined;
378
378
  description?: string | undefined;
379
379
  }[];
380
- fragmentSrc: string;
380
+ transitionSrc: string;
381
381
  inputTextures?: {
382
382
  name: string;
383
383
  url: string;
@@ -475,11 +475,16 @@ export declare class Library {
475
475
  time: number;
476
476
  }[];
477
477
  }[];
478
- transitions: {
478
+ filters: {
479
+ name: string;
480
+ id: string;
481
+ provider: string;
482
+ lutUrl: string;
483
+ }[];
484
+ effects: {
479
485
  name: string;
480
486
  id: string;
481
487
  provider: string;
482
- transitionSrc: string;
483
488
  properties: {
484
489
  type: import('../../index').PropertyDescriptionTypeEnum;
485
490
  name: string;
@@ -487,6 +492,7 @@ export declare class Library {
487
492
  label?: string | undefined;
488
493
  description?: string | undefined;
489
494
  }[];
495
+ fragmentSrc: string;
490
496
  inputTextures?: {
491
497
  name: string;
492
498
  url: string;
@@ -495,13 +501,7 @@ export declare class Library {
495
501
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
496
502
  }[] | undefined;
497
503
  }[];
498
- filters: {
499
- name: string;
500
- id: string;
501
- provider: string;
502
- lutUrl: string;
503
- }[];
504
- effects: {
504
+ transitions: {
505
505
  name: string;
506
506
  id: string;
507
507
  provider: string;
@@ -512,7 +512,7 @@ export declare class Library {
512
512
  label?: string | undefined;
513
513
  description?: string | undefined;
514
514
  }[];
515
- fragmentSrc: string;
515
+ transitionSrc: string;
516
516
  inputTextures?: {
517
517
  name: string;
518
518
  url: string;
@@ -72,6 +72,9 @@ export declare class Subtitles {
72
72
  removeTextBlock(index: number): void;
73
73
  setTextBlocks(textBlocks: TextBlock[]): void;
74
74
  updateTextBlock(index: number, textBlock: Partial<TextBlock>): void;
75
+ /**
76
+ * @deprecated - Language is not used and probably not be used
77
+ */
75
78
  setLanguage(language: string): void;
76
79
  fitDurationToBlocks(): void;
77
80
  validateTextBlocks(): void;
@@ -58,7 +58,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
58
58
  name: string;
59
59
  id: string;
60
60
  provider: string;
61
- transitionSrc: string;
62
61
  properties: {
63
62
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
64
63
  name: string;
@@ -66,6 +65,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
66
65
  label?: string | undefined;
67
66
  description?: string | undefined;
68
67
  }[];
68
+ transitionSrc: string;
69
69
  inputTextures?: {
70
70
  name: string;
71
71
  url: string;
@@ -77,7 +77,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
77
77
  name: string;
78
78
  id: string;
79
79
  provider: string;
80
- transitionSrc: string;
81
80
  properties: {
82
81
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
83
82
  name: string;
@@ -85,6 +84,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
85
84
  label?: string | undefined;
86
85
  description?: string | undefined;
87
86
  }[];
87
+ transitionSrc: string;
88
88
  inputTextures?: {
89
89
  name: string;
90
90
  url: string;
@@ -121,7 +121,6 @@ export declare class TransitionData {
121
121
  name: string;
122
122
  id: string;
123
123
  provider: string;
124
- transitionSrc: string;
125
124
  properties: {
126
125
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
127
126
  name: string;
@@ -129,6 +128,7 @@ export declare class TransitionData {
129
128
  label?: string | undefined;
130
129
  description?: string | undefined;
131
130
  }[];
131
+ transitionSrc: string;
132
132
  inputTextures?: {
133
133
  name: string;
134
134
  url: string;
@@ -19,6 +19,7 @@ export declare class Renderer {
19
19
  */
20
20
  cancelExport(): Promise<void>;
21
21
  private generateAudioMixWorker;
22
+ private buildATempoChain;
22
23
  private generateAudioMix;
23
24
  private glClientWaitAsync;
24
25
  private getBufferSubDataAsync;