@rendley/sdk 1.11.3 → 1.11.5

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 (56) hide show
  1. package/LICENSE +48 -48
  2. package/README.md +31 -31
  3. package/dist/Engine.d.ts +14 -13
  4. package/dist/index.cjs +1 -1
  5. package/dist/index.js +1 -1
  6. package/dist/modules/clip/Clip.d.ts +24 -24
  7. package/dist/modules/clip/clips/audio/AudioClip.d.ts +6 -6
  8. package/dist/modules/clip/clips/custom/CustomClip.d.ts +4 -4
  9. package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +10 -10
  10. package/dist/modules/clip/clips/lottie/LottieClip.d.ts +6 -6
  11. package/dist/modules/clip/clips/shape/ShapeClip.d.ts +4 -4
  12. package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +5 -5
  13. package/dist/modules/clip/clips/text/TextClip.d.ts +6 -6
  14. package/dist/modules/clip/clips/text/TextStyle.d.ts +9 -9
  15. package/dist/modules/clip/clips/video/VideoClip.d.ts +7 -6
  16. package/dist/modules/effect/EffectBase.d.ts +2 -0
  17. package/dist/modules/effect/built-in-effects/BuiltInAdjustmentEffect.d.ts +16 -0
  18. package/dist/modules/effect/built-in-effects/BuiltInAdvancedBloomEffect.d.ts +14 -0
  19. package/dist/modules/effect/built-in-effects/BuiltInAsciiEffect.d.ts +9 -0
  20. package/dist/modules/effect/built-in-effects/BuiltInBevelEffect.d.ts +14 -0
  21. package/dist/modules/effect/built-in-effects/BuiltInBloomEffect.d.ts +12 -0
  22. package/dist/modules/effect/built-in-effects/BuiltInBulgePinchEffect.d.ts +13 -0
  23. package/dist/modules/effect/built-in-effects/BuiltInCRTEffect.d.ts +20 -0
  24. package/dist/modules/effect/built-in-effects/BuiltInColorOverlayEffect.d.ts +10 -0
  25. package/dist/modules/effect/built-in-effects/BuiltInColorReplaceEffect.d.ts +11 -0
  26. package/dist/modules/effect/built-in-effects/BuiltInCrossHatchEffect.d.ts +8 -0
  27. package/dist/modules/effect/built-in-effects/BuiltInDotEffect.d.ts +11 -0
  28. package/dist/modules/effect/built-in-effects/BuiltInDropShadowEffect.d.ts +15 -0
  29. package/dist/modules/effect/built-in-effects/BuiltInEmbossEffect.d.ts +9 -0
  30. package/dist/modules/effect/built-in-effects/BuiltInGlowEffect.d.ts +15 -0
  31. package/dist/modules/effect/built-in-effects/BuiltInGodrayEffect.d.ts +17 -0
  32. package/dist/modules/effect/built-in-effects/BuiltInHSLAdjustmentEffect.d.ts +13 -0
  33. package/dist/modules/effect/built-in-effects/BuiltInMotionBlurEffect.d.ts +11 -0
  34. package/dist/modules/effect/built-in-effects/BuiltInOldFilmEffect.d.ts +18 -0
  35. package/dist/modules/effect/built-in-effects/BuiltInOutlineEffect.d.ts +13 -0
  36. package/dist/modules/effect/built-in-effects/BuiltInPixelateEffect.d.ts +9 -0
  37. package/dist/modules/effect/built-in-effects/BuiltInRGBSplitEffect.d.ts +11 -0
  38. package/dist/modules/effect/built-in-effects/BuiltInRadialBlurEffect.d.ts +13 -0
  39. package/dist/modules/effect/built-in-effects/BuiltInReflectionEffect.d.ts +16 -0
  40. package/dist/modules/effect/built-in-effects/BuiltInShockwaveEffect.d.ts +17 -0
  41. package/dist/modules/effect/built-in-effects/BuiltInTiltShiftEffect.d.ts +12 -0
  42. package/dist/modules/effect/built-in-effects/BuiltInTwistEffect.d.ts +11 -0
  43. package/dist/modules/effect/built-in-effects/BuiltInZoomBlurEffect.d.ts +12 -0
  44. package/dist/modules/library/BuiltInEffectDefines.d.ts +27 -1
  45. package/dist/modules/library/EffectData.d.ts +3 -3
  46. package/dist/modules/library/Library.d.ts +41 -41
  47. package/dist/modules/library/Subtitles.d.ts +7 -7
  48. package/dist/modules/library/TransitionData.d.ts +3 -3
  49. package/dist/modules/library/types/Property.types.d.ts +4 -0
  50. package/dist/modules/renderer/Renderer.d.ts +1 -0
  51. package/dist/modules/settings/Settings.d.ts +23 -0
  52. package/dist/modules/subtitles/SubtitleManager.d.ts +18 -18
  53. package/dist/modules/undo/UndoManager.types.d.ts +20 -0
  54. package/dist/utils/animation/animation.d.ts +1 -1
  55. package/dist/utils/math/wrapValue.d.ts +1 -0
  56. package/package.json +83 -83
@@ -0,0 +1,9 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInEmbossEffectPropertiesEnum {
3
+ strength = "strength"
4
+ }
5
+ export declare class BuiltInEmbossEffect extends EffectBase {
6
+ constructor(properties: Map<string, any>);
7
+ setProperty(propertyName: string, value: any): void;
8
+ getProperty(propertyName: string): number | null;
9
+ }
@@ -0,0 +1,15 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInGlowEffectPropertiesEnum {
3
+ alpha = "alpha",
4
+ color = "color",
5
+ distance = "distance",
6
+ innerStrength = "innerStrength",
7
+ knockout = "knockout",
8
+ outerStrength = "outerStrength",
9
+ quality = "quality"
10
+ }
11
+ export declare class BuiltInGlowEffect extends EffectBase {
12
+ constructor(properties: Map<string, any>);
13
+ setProperty(propertyName: string, value: any): void;
14
+ getProperty(propertyName: string): number | boolean | number[] | null;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInGodrayEffectPropertiesEnum {
3
+ alpha = "alpha",
4
+ angle = "angle",
5
+ center = "center",
6
+ gain = "gain",
7
+ lacunarity = "lacunarity",
8
+ parallel = "parallel",
9
+ timeScale = "timeScale"
10
+ }
11
+ export declare class BuiltInGodrayEffect extends EffectBase {
12
+ timeScale: number;
13
+ constructor(properties: Map<string, any>);
14
+ setProperty(propertyName: string, value: any): void;
15
+ getProperty(propertyName: string): number | boolean | number[] | null;
16
+ update(currentTime: number): void;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInHSLAdjustmentEffectPropertiesEnum {
3
+ alpha = "alpha",
4
+ colorize = "colorize",
5
+ hue = "hue",
6
+ lightness = "lightness",
7
+ saturation = "saturation"
8
+ }
9
+ export declare class BuiltInHSLAdjustmentEffect extends EffectBase {
10
+ constructor(properties: Map<string, any>);
11
+ setProperty(propertyName: string, value: any): void;
12
+ getProperty(propertyName: string): number | boolean | null;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInMotionBlurEffectPropertiesEnum {
3
+ kernelSize = "kernelSize",
4
+ offset = "offset",
5
+ velocity = "velocity"
6
+ }
7
+ export declare class BuiltInMotionBlurEffect extends EffectBase {
8
+ constructor(properties: Map<string, any>);
9
+ setProperty(propertyName: string, value: any): void;
10
+ getProperty(propertyName: string): number | number[] | null;
11
+ }
@@ -0,0 +1,18 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInOldFilmEffectPropertiesEnum {
3
+ noise = "noise",
4
+ noiseSize = "noiseSize",
5
+ scratch = "scratch",
6
+ scratchDensity = "scratchDensity",
7
+ scratchWidth = "scratchWidth",
8
+ sepia = "sepia",
9
+ vignetting = "vignetting",
10
+ vignettingAlpha = "vignettingAlpha",
11
+ vignettingBlur = "vignettingBlur"
12
+ }
13
+ export declare class BuiltInOldFilmEffect extends EffectBase {
14
+ constructor(properties: Map<string, any>);
15
+ setProperty(propertyName: string, value: any): void;
16
+ getProperty(propertyName: string): number | null;
17
+ update(currentTime: number): void;
18
+ }
@@ -0,0 +1,13 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInOutlineEffectPropertiesEnum {
3
+ alpha = "alpha",
4
+ color = "color",
5
+ knockout = "knockout",
6
+ quality = "quality",
7
+ thickness = "thickness"
8
+ }
9
+ export declare class BuiltInOutlineEffect extends EffectBase {
10
+ constructor(properties: Map<string, any>);
11
+ setProperty(propertyName: string, value: any): void;
12
+ getProperty(propertyName: string): number | boolean | number[] | null;
13
+ }
@@ -0,0 +1,9 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInPixelateEffectPropertiesEnum {
3
+ size = "size"
4
+ }
5
+ export declare class BuiltInPixelateEffect extends EffectBase {
6
+ constructor(properties: Map<string, any>);
7
+ setProperty(propertyName: string, value: any): void;
8
+ getProperty(propertyName: string): number[] | null;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInRGBSplitEffectPropertiesEnum {
3
+ red = "red",
4
+ green = "green",
5
+ blue = "blue"
6
+ }
7
+ export declare class BuiltInRGBSplitEffect extends EffectBase {
8
+ constructor(properties: Map<string, any>);
9
+ setProperty(propertyName: string, value: any): void;
10
+ getProperty(propertyName: string): number[] | null;
11
+ }
@@ -0,0 +1,13 @@
1
+ import * as PIXI from "pixi.js";
2
+ import { EffectBase } from "../EffectBase";
3
+ export declare enum BuiltInRadialBlurEffectPropertiesEnum {
4
+ angle = "angle",
5
+ center = "center",
6
+ kernelSize = "kernelSize",
7
+ radius = "radius"
8
+ }
9
+ export declare class BuiltInRadialBlurEffect extends EffectBase {
10
+ constructor(properties: Map<string, any>);
11
+ setProperty(propertyName: string, value: any): void;
12
+ getProperty(propertyName: string): number | (number[] | PIXI.Point) | null;
13
+ }
@@ -0,0 +1,16 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInReflectionEffectPropertiesEnum {
3
+ alpha = "alpha",
4
+ amplitude = "amplitude",
5
+ boundary = "boundary",
6
+ mirror = "mirror",
7
+ waveLength = "waveLength",
8
+ timeScale = "timeScale"
9
+ }
10
+ export declare class BuiltInReflectionEffect extends EffectBase {
11
+ timeScale: number;
12
+ constructor(properties: Map<string, any>);
13
+ setProperty(propertyName: string, value: any): void;
14
+ getProperty(propertyName: string): number | boolean | (number[] | Float32Array) | null;
15
+ update(currentTime: number): void;
16
+ }
@@ -0,0 +1,17 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInShockwaveEffectPropertiesEnum {
3
+ amplitude = "amplitude",
4
+ brightness = "brightness",
5
+ center = "center",
6
+ radius = "radius",
7
+ speed = "speed",
8
+ wavelength = "wavelength",
9
+ timeScale = "timeScale"
10
+ }
11
+ export declare class BuiltInShockwaveEffect extends EffectBase {
12
+ timeScale: number;
13
+ constructor(properties: Map<string, any>);
14
+ setProperty(propertyName: string, value: any): void;
15
+ getProperty(propertyName: string): number | number[] | null;
16
+ update(currentTime: number): void;
17
+ }
@@ -0,0 +1,12 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInTiltShiftEffectPropertiesEnum {
3
+ blur = "blur",
4
+ end = "end",
5
+ gradientBlur = "gradientBlur",
6
+ start = "start"
7
+ }
8
+ export declare class BuiltInTiltShiftEffect extends EffectBase {
9
+ constructor(properties: Map<string, any>);
10
+ setProperty(propertyName: string, value: any): void;
11
+ getProperty(propertyName: string): number | number[] | null;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInTwistEffectPropertiesEnum {
3
+ angle = "angle",
4
+ offset = "offset",
5
+ radius = "radius"
6
+ }
7
+ export declare class BuiltInTwistEffect extends EffectBase {
8
+ constructor(properties: Map<string, any>);
9
+ setProperty(propertyName: string, value: any): void;
10
+ getProperty(propertyName: string): number | number[] | null;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { EffectBase } from "../EffectBase";
2
+ export declare enum BuiltInZoomBlurEffectPropertiesEnum {
3
+ center = "center",
4
+ innerRadius = "innerRadius",
5
+ radius = "radius",
6
+ strength = "strength"
7
+ }
8
+ export declare class BuiltInZoomBlurEffect extends EffectBase {
9
+ constructor(properties: Map<string, any>);
10
+ setProperty(propertyName: string, value: any): void;
11
+ getProperty(propertyName: string): number | number[] | null;
12
+ }
@@ -1,7 +1,33 @@
1
1
  import { EffectDataOptions } from "./EffectData";
2
2
  export declare enum BuiltInEffectIdEnum {
3
+ ADJUSTMENT = "builtin-adjustment",
4
+ ADVANCED_BLOOM = "builtin-advanced-bloom",
5
+ ASCII = "builtin-ascii",
6
+ BEVEL = "builtin-bevel",
7
+ BLOOM = "builtin-bloom",
3
8
  BLUR = "builtin-blur",
4
- GLOW = "builtin-glow"
9
+ BULGE_PINCH = "builtin-bulge-pinch",
10
+ COLOR_OVERLAY = "builtin-color-overlay",
11
+ COLOR_REPLACEMENT = "builtin-color-replacement",
12
+ CROSS_HATCH = "builtin-cross-hatch",
13
+ CRT = "builtin-crt",
14
+ DOT = "builtin-dot",
15
+ DROP_SHADOW = "builtin-drop-shadow",
16
+ EMBOSS = "builtin-emboss",
17
+ GLOW = "builtin-glow",
18
+ GODRAY = "builtin-godray",
19
+ HSL_ADJUSTMENT = "builtin-hsl-adjustment",
20
+ MOTION_BLUR = "builtin-motion-blur",
21
+ OLD_FILM = "builtin-old-film",
22
+ OUTLINE = "builtin-outline",
23
+ PIXELATE = "builtin-pixelate",
24
+ RADIAL_BLUR = "builtin-radial-blur",
25
+ REFLECTION = "builtin-reflection",
26
+ RGB_SPLIT = "builtin-rgb-split",
27
+ SHOCKWAVE = "builtin-shockwave",
28
+ TILT_SHIFT = "builtin-tilt-shift",
29
+ TWIST = "builtin-twist",
30
+ ZOOM_BLUR = "builtin-zoom-blur"
5
31
  }
6
32
  export declare const BuiltInEffectIds: BuiltInEffectIdEnum[];
7
33
  export declare const BuiltInEffectOptions: EffectDataOptions[];
@@ -58,7 +58,6 @@ export declare const EffectDataSchema: z.ZodObject<{
58
58
  name: string;
59
59
  id: string;
60
60
  provider: string;
61
- fragmentSrc: string;
62
61
  properties: {
63
62
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
64
63
  name: string;
@@ -66,6 +65,7 @@ export declare const EffectDataSchema: z.ZodObject<{
66
65
  label?: string | undefined;
67
66
  description?: string | undefined;
68
67
  }[];
68
+ fragmentSrc: string;
69
69
  inputTextures?: {
70
70
  name: string;
71
71
  url: string;
@@ -77,7 +77,6 @@ export declare const EffectDataSchema: z.ZodObject<{
77
77
  name: string;
78
78
  id: string;
79
79
  provider: string;
80
- fragmentSrc: string;
81
80
  properties: {
82
81
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
83
82
  name: string;
@@ -85,6 +84,7 @@ export declare const EffectDataSchema: z.ZodObject<{
85
84
  label?: string | undefined;
86
85
  description?: string | undefined;
87
86
  }[];
87
+ fragmentSrc: string;
88
88
  inputTextures?: {
89
89
  name: string;
90
90
  url: string;
@@ -121,7 +121,6 @@ export declare class EffectData {
121
121
  name: string;
122
122
  id: string;
123
123
  provider: string;
124
- fragmentSrc: string;
125
124
  properties: {
126
125
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
127
126
  name: string;
@@ -129,6 +128,7 @@ export declare class EffectData {
129
128
  label?: string | undefined;
130
129
  description?: string | undefined;
131
130
  }[];
131
+ fragmentSrc: string;
132
132
  inputTextures?: {
133
133
  name: string;
134
134
  url: string;
@@ -49,12 +49,12 @@ export declare const LibrarySchema: z.ZodObject<{
49
49
  duration: z.ZodNumber;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  text: string;
52
- time: number;
53
52
  duration: number;
53
+ time: number;
54
54
  }, {
55
55
  text: string;
56
- time: number;
57
56
  duration: number;
57
+ time: number;
58
58
  }>, "many">;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  id: string;
@@ -62,8 +62,8 @@ export declare const LibrarySchema: z.ZodObject<{
62
62
  language: string;
63
63
  textBlocks: {
64
64
  text: string;
65
- time: number;
66
65
  duration: number;
66
+ time: number;
67
67
  }[];
68
68
  }, {
69
69
  id: string;
@@ -71,8 +71,8 @@ export declare const LibrarySchema: z.ZodObject<{
71
71
  language: string;
72
72
  textBlocks: {
73
73
  text: string;
74
- time: number;
75
74
  duration: number;
75
+ time: number;
76
76
  }[];
77
77
  }>, "many">;
78
78
  effects: z.ZodArray<z.ZodObject<{
@@ -122,7 +122,6 @@ export declare const LibrarySchema: z.ZodObject<{
122
122
  name: string;
123
123
  id: string;
124
124
  provider: string;
125
- fragmentSrc: string;
126
125
  properties: {
127
126
  type: import('../../index').PropertyDescriptionTypeEnum;
128
127
  name: string;
@@ -130,6 +129,7 @@ export declare const LibrarySchema: z.ZodObject<{
130
129
  label?: string | undefined;
131
130
  description?: string | undefined;
132
131
  }[];
132
+ fragmentSrc: string;
133
133
  inputTextures?: {
134
134
  name: string;
135
135
  url: string;
@@ -141,7 +141,6 @@ export declare const LibrarySchema: z.ZodObject<{
141
141
  name: string;
142
142
  id: string;
143
143
  provider: string;
144
- fragmentSrc: string;
145
144
  properties: {
146
145
  type: import('../../index').PropertyDescriptionTypeEnum;
147
146
  name: string;
@@ -149,6 +148,7 @@ export declare const LibrarySchema: z.ZodObject<{
149
148
  label?: string | undefined;
150
149
  description?: string | undefined;
151
150
  }[];
151
+ fragmentSrc: string;
152
152
  inputTextures?: {
153
153
  name: string;
154
154
  url: string;
@@ -220,6 +220,7 @@ export declare const LibrarySchema: z.ZodObject<{
220
220
  name: string;
221
221
  id: string;
222
222
  provider: string;
223
+ transitionSrc: string;
223
224
  properties: {
224
225
  type: import('../../index').PropertyDescriptionTypeEnum;
225
226
  name: string;
@@ -227,7 +228,6 @@ export declare const LibrarySchema: z.ZodObject<{
227
228
  label?: string | undefined;
228
229
  description?: string | undefined;
229
230
  }[];
230
- transitionSrc: string;
231
231
  inputTextures?: {
232
232
  name: string;
233
233
  url: string;
@@ -239,6 +239,7 @@ export declare const LibrarySchema: z.ZodObject<{
239
239
  name: string;
240
240
  id: string;
241
241
  provider: string;
242
+ transitionSrc: string;
242
243
  properties: {
243
244
  type: import('../../index').PropertyDescriptionTypeEnum;
244
245
  name: string;
@@ -246,7 +247,6 @@ export declare const LibrarySchema: z.ZodObject<{
246
247
  label?: string | undefined;
247
248
  description?: string | undefined;
248
249
  }[];
249
- transitionSrc: string;
250
250
  inputTextures?: {
251
251
  name: string;
252
252
  url: string;
@@ -262,21 +262,15 @@ export declare const LibrarySchema: z.ZodObject<{
262
262
  language: string;
263
263
  textBlocks: {
264
264
  text: string;
265
- time: number;
266
265
  duration: number;
266
+ time: number;
267
267
  }[];
268
268
  }[];
269
- filters: {
270
- name: string;
271
- id: string;
272
- provider: string;
273
- lutUrl: string;
274
- }[];
275
- effects: {
269
+ transitions: {
276
270
  name: string;
277
271
  id: string;
278
272
  provider: string;
279
- fragmentSrc: string;
273
+ transitionSrc: string;
280
274
  properties: {
281
275
  type: import('../../index').PropertyDescriptionTypeEnum;
282
276
  name: string;
@@ -292,7 +286,13 @@ export declare const LibrarySchema: z.ZodObject<{
292
286
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
293
287
  }[] | undefined;
294
288
  }[];
295
- transitions: {
289
+ filters: {
290
+ name: string;
291
+ id: string;
292
+ provider: string;
293
+ lutUrl: string;
294
+ }[];
295
+ effects: {
296
296
  name: string;
297
297
  id: string;
298
298
  provider: string;
@@ -303,7 +303,7 @@ export declare const LibrarySchema: z.ZodObject<{
303
303
  label?: string | undefined;
304
304
  description?: string | undefined;
305
305
  }[];
306
- transitionSrc: string;
306
+ fragmentSrc: string;
307
307
  inputTextures?: {
308
308
  name: string;
309
309
  url: string;
@@ -328,21 +328,15 @@ export declare const LibrarySchema: z.ZodObject<{
328
328
  language: string;
329
329
  textBlocks: {
330
330
  text: string;
331
- time: number;
332
331
  duration: number;
332
+ time: number;
333
333
  }[];
334
334
  }[];
335
- filters: {
336
- name: string;
337
- id: string;
338
- provider: string;
339
- lutUrl: string;
340
- }[];
341
- effects: {
335
+ transitions: {
342
336
  name: string;
343
337
  id: string;
344
338
  provider: string;
345
- fragmentSrc: string;
339
+ transitionSrc: string;
346
340
  properties: {
347
341
  type: import('../../index').PropertyDescriptionTypeEnum;
348
342
  name: string;
@@ -358,7 +352,13 @@ export declare const LibrarySchema: z.ZodObject<{
358
352
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
359
353
  }[] | undefined;
360
354
  }[];
361
- transitions: {
355
+ filters: {
356
+ name: string;
357
+ id: string;
358
+ provider: string;
359
+ lutUrl: string;
360
+ }[];
361
+ effects: {
362
362
  name: string;
363
363
  id: string;
364
364
  provider: string;
@@ -369,7 +369,7 @@ export declare const LibrarySchema: z.ZodObject<{
369
369
  label?: string | undefined;
370
370
  description?: string | undefined;
371
371
  }[];
372
- transitionSrc: string;
372
+ fragmentSrc: string;
373
373
  inputTextures?: {
374
374
  name: string;
375
375
  url: string;
@@ -437,21 +437,15 @@ export declare class Library {
437
437
  language: string;
438
438
  textBlocks: {
439
439
  text: string;
440
- time: number;
441
440
  duration: number;
441
+ time: number;
442
442
  }[];
443
443
  }[];
444
- filters: {
445
- name: string;
446
- id: string;
447
- provider: string;
448
- lutUrl: string;
449
- }[];
450
- effects: {
444
+ transitions: {
451
445
  name: string;
452
446
  id: string;
453
447
  provider: string;
454
- fragmentSrc: string;
448
+ transitionSrc: string;
455
449
  properties: {
456
450
  type: import('../../index').PropertyDescriptionTypeEnum;
457
451
  name: string;
@@ -467,7 +461,13 @@ export declare class Library {
467
461
  mipmap?: import('../../index').InputTextureMipmapMode | undefined;
468
462
  }[] | undefined;
469
463
  }[];
470
- transitions: {
464
+ filters: {
465
+ name: string;
466
+ id: string;
467
+ provider: string;
468
+ lutUrl: string;
469
+ }[];
470
+ effects: {
471
471
  name: string;
472
472
  id: string;
473
473
  provider: string;
@@ -478,7 +478,7 @@ export declare class Library {
478
478
  label?: string | undefined;
479
479
  description?: string | undefined;
480
480
  }[];
481
- transitionSrc: string;
481
+ fragmentSrc: string;
482
482
  inputTextures?: {
483
483
  name: string;
484
484
  url: string;
@@ -5,12 +5,12 @@ export declare const TextBlockSchema: z.ZodObject<{
5
5
  duration: z.ZodNumber;
6
6
  }, "strip", z.ZodTypeAny, {
7
7
  text: string;
8
- time: number;
9
8
  duration: number;
9
+ time: number;
10
10
  }, {
11
11
  text: string;
12
- time: number;
13
12
  duration: number;
13
+ time: number;
14
14
  }>;
15
15
  export declare const SubtitlesSchema: z.ZodObject<{
16
16
  id: z.ZodString;
@@ -22,12 +22,12 @@ export declare const SubtitlesSchema: z.ZodObject<{
22
22
  duration: z.ZodNumber;
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  text: string;
25
- time: number;
26
25
  duration: number;
26
+ time: number;
27
27
  }, {
28
28
  text: string;
29
- time: number;
30
29
  duration: number;
30
+ time: number;
31
31
  }>, "many">;
32
32
  }, "strip", z.ZodTypeAny, {
33
33
  id: string;
@@ -35,8 +35,8 @@ export declare const SubtitlesSchema: z.ZodObject<{
35
35
  language: string;
36
36
  textBlocks: {
37
37
  text: string;
38
- time: number;
39
38
  duration: number;
39
+ time: number;
40
40
  }[];
41
41
  }, {
42
42
  id: string;
@@ -44,8 +44,8 @@ export declare const SubtitlesSchema: z.ZodObject<{
44
44
  language: string;
45
45
  textBlocks: {
46
46
  text: string;
47
- time: number;
48
47
  duration: number;
48
+ time: number;
49
49
  }[];
50
50
  }>;
51
51
  export interface TextBlock {
@@ -82,8 +82,8 @@ export declare class Subtitles {
82
82
  language: string;
83
83
  textBlocks: {
84
84
  text: string;
85
- time: number;
86
85
  duration: number;
86
+ time: number;
87
87
  }[];
88
88
  };
89
89
  static deserialize(data: object): Subtitles;
@@ -58,6 +58,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
58
58
  name: string;
59
59
  id: string;
60
60
  provider: string;
61
+ transitionSrc: string;
61
62
  properties: {
62
63
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
63
64
  name: string;
@@ -65,7 +66,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
65
66
  label?: string | undefined;
66
67
  description?: string | undefined;
67
68
  }[];
68
- transitionSrc: string;
69
69
  inputTextures?: {
70
70
  name: string;
71
71
  url: string;
@@ -77,6 +77,7 @@ export declare const TransitionDataSchema: z.ZodObject<{
77
77
  name: string;
78
78
  id: string;
79
79
  provider: string;
80
+ transitionSrc: string;
80
81
  properties: {
81
82
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
82
83
  name: string;
@@ -84,7 +85,6 @@ export declare const TransitionDataSchema: z.ZodObject<{
84
85
  label?: string | undefined;
85
86
  description?: string | undefined;
86
87
  }[];
87
- transitionSrc: string;
88
88
  inputTextures?: {
89
89
  name: string;
90
90
  url: string;
@@ -121,6 +121,7 @@ export declare class TransitionData {
121
121
  name: string;
122
122
  id: string;
123
123
  provider: string;
124
+ transitionSrc: string;
124
125
  properties: {
125
126
  type: import("./types/Property.types").PropertyDescriptionTypeEnum;
126
127
  name: string;
@@ -128,7 +129,6 @@ export declare class TransitionData {
128
129
  label?: string | undefined;
129
130
  description?: string | undefined;
130
131
  }[];
131
- transitionSrc: string;
132
132
  inputTextures?: {
133
133
  name: string;
134
134
  url: string;
@@ -31,6 +31,10 @@ export interface PropertyDescription {
31
31
  label?: string;
32
32
  description?: string;
33
33
  defaultValue: any;
34
+ min?: number | number[];
35
+ max?: number | number[];
36
+ step?: number | number[];
37
+ validateFunction?: (value: any) => boolean;
34
38
  initOnly?: boolean;
35
39
  }
36
40
  export declare const PropertyDescriptionSchema: z.ZodObject<{
@@ -13,6 +13,7 @@ export declare class Renderer {
13
13
  private glClientWaitAsync;
14
14
  private getBufferSubDataAsync;
15
15
  private readPixelsAsync;
16
+ private flipPixelsYInPlace;
16
17
  private waitForClipsProcessing;
17
18
  private preRender;
18
19
  private postRender;