@remotion/effects 4.0.537 → 4.0.539

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 (99) hide show
  1. package/THIRD_PARTY_LICENSES.md +4 -0
  2. package/dist/barrel-distortion/index.d.ts +1 -1
  3. package/dist/bevel-alpha/index.d.ts +1 -1
  4. package/dist/bevel-alpha/shaders.d.ts +1 -1
  5. package/dist/blur/index.d.ts +1 -1
  6. package/dist/brightness.d.ts +1 -1
  7. package/dist/burlap.d.ts +1 -1
  8. package/dist/checkerboard.d.ts +17 -17
  9. package/dist/chromatic-aberration/index.d.ts +1 -1
  10. package/dist/color-correction.d.ts +1 -1
  11. package/dist/color-key.d.ts +9 -9
  12. package/dist/color-utils.d.ts +8 -8
  13. package/dist/contour-lines.d.ts +23 -23
  14. package/dist/contrast.d.ts +1 -1
  15. package/dist/corner-pin/index.d.ts +1 -1
  16. package/dist/curves.d.ts +65 -0
  17. package/dist/cylinder/index.d.ts +1 -1
  18. package/dist/dot-grid.d.ts +7 -7
  19. package/dist/drop-shadow/index.d.ts +1 -1
  20. package/dist/duotone.d.ts +7 -7
  21. package/dist/emboss.d.ts +15 -15
  22. package/dist/esm/curves.mjs +373 -0
  23. package/dist/esm/levels.mjs +80 -10
  24. package/dist/esm/long-shadows.mjs +410 -0
  25. package/dist/esm/shatter.mjs +888 -0
  26. package/dist/evolve.d.ts +8 -8
  27. package/dist/exposure.d.ts +1 -1
  28. package/dist/fisheye/index.d.ts +1 -1
  29. package/dist/flannel.d.ts +1 -1
  30. package/dist/fractal-noise/index.d.ts +3 -3
  31. package/dist/gaussian-blur-shader.d.ts +1 -1
  32. package/dist/glow/index.d.ts +1 -1
  33. package/dist/grayscale.d.ts +1 -1
  34. package/dist/gridlines.d.ts +23 -23
  35. package/dist/halftone-linear-gradient.d.ts +21 -21
  36. package/dist/halftone.d.ts +25 -25
  37. package/dist/hue.d.ts +1 -1
  38. package/dist/invert.d.ts +1 -1
  39. package/dist/lens-blur/index.d.ts +2 -2
  40. package/dist/levels.d.ts +70 -3
  41. package/dist/light-leak.d.ts +7 -7
  42. package/dist/light-trail/index.d.ts +1 -1
  43. package/dist/linear-gradient-tint.d.ts +1 -1
  44. package/dist/linear-gradient.d.ts +1 -1
  45. package/dist/linear-progressive-blur/index.d.ts +1 -1
  46. package/dist/linear-progressive-blur/linear-progressive-blur-shaders.d.ts +1 -1
  47. package/dist/linear-progressive-pixelate/index.d.ts +1 -1
  48. package/dist/lines.d.ts +18 -18
  49. package/dist/liquid-contours.d.ts +21 -21
  50. package/dist/long-shadows.d.ts +13 -0
  51. package/dist/lut/index.d.ts +3 -3
  52. package/dist/mirror/index.d.ts +1 -1
  53. package/dist/noise-displacement.d.ts +1 -1
  54. package/dist/noise.d.ts +1 -1
  55. package/dist/outline/polygonize-alpha.d.ts +1 -1
  56. package/dist/outline.d.ts +11 -11
  57. package/dist/page-turn/index.d.ts +1 -1
  58. package/dist/paper.d.ts +1 -1
  59. package/dist/pattern.d.ts +1 -1
  60. package/dist/pixel-dissolve.d.ts +1 -1
  61. package/dist/pixelate.d.ts +1 -1
  62. package/dist/radial-progressive-blur/index.d.ts +1 -1
  63. package/dist/radial-progressive-blur/radial-progressive-blur-shaders.d.ts +1 -1
  64. package/dist/radial-progressive-pixelate/index.d.ts +1 -1
  65. package/dist/region-blur/index.d.ts +11 -11
  66. package/dist/rings.d.ts +15 -15
  67. package/dist/roughen-edges.d.ts +1 -1
  68. package/dist/saturation.d.ts +1 -1
  69. package/dist/scale/index.d.ts +1 -1
  70. package/dist/scanlines.d.ts +1 -1
  71. package/dist/shadows-highlights.d.ts +1 -1
  72. package/dist/shatter/geometry.d.ts +19 -0
  73. package/dist/shatter/index.d.ts +39 -0
  74. package/dist/shatter/runtime.d.ts +19 -0
  75. package/dist/shatter.d.ts +1 -0
  76. package/dist/shine.d.ts +1 -1
  77. package/dist/shrinkwrap.d.ts +1 -1
  78. package/dist/skew.d.ts +1 -1
  79. package/dist/speckle.d.ts +1 -1
  80. package/dist/sphere/index.d.ts +1 -1
  81. package/dist/starburst.d.ts +13 -13
  82. package/dist/tear.d.ts +1 -1
  83. package/dist/thermal-vision.d.ts +7 -7
  84. package/dist/tile.d.ts +1 -1
  85. package/dist/tint.d.ts +5 -5
  86. package/dist/translate/index.d.ts +2 -2
  87. package/dist/turbulent-displace/index.d.ts +3 -3
  88. package/dist/tv-signal-off.d.ts +1 -1
  89. package/dist/venetian-blinds.d.ts +8 -8
  90. package/dist/vibrance.d.ts +1 -1
  91. package/dist/vignette.d.ts +16 -16
  92. package/dist/visual-test/visual-utils.d.ts +8 -8
  93. package/dist/wave/index.d.ts +1 -1
  94. package/dist/waves.d.ts +24 -24
  95. package/dist/white-balance.d.ts +1 -1
  96. package/dist/white-noise.d.ts +1 -1
  97. package/dist/zigzag.d.ts +22 -22
  98. package/dist/zoom-blur/index.d.ts +1 -1
  99. package/package.json +31 -7
package/dist/evolve.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- declare const EVOLVE_DIRECTIONS: readonly ["left", "right", "top", "bottom"];
1
+ declare const EVOLVE_DIRECTIONS: readonly ['left', 'right', 'top', 'bottom'];
2
2
  export type EvolveDirection = (typeof EVOLVE_DIRECTIONS)[number];
3
3
  export declare const evolveSchema: {
4
4
  readonly progress: {
5
- readonly type: "number";
5
+ readonly type: 'number';
6
6
  readonly min: 0;
7
7
  readonly max: 1;
8
8
  readonly step: 0.01;
9
9
  readonly default: 0.5;
10
- readonly description: "Progress";
10
+ readonly description: 'Progress';
11
11
  readonly hiddenFromList: false;
12
12
  };
13
13
  readonly direction: {
14
- readonly type: "enum";
14
+ readonly type: 'enum';
15
15
  readonly variants: {
16
16
  readonly left: {};
17
17
  readonly right: {};
@@ -19,15 +19,15 @@ export declare const evolveSchema: {
19
19
  readonly bottom: {};
20
20
  };
21
21
  readonly default: "left";
22
- readonly description: "Direction";
22
+ readonly description: 'Direction';
23
23
  };
24
24
  readonly feather: {
25
- readonly type: "number";
25
+ readonly type: 'number';
26
26
  readonly min: 0;
27
27
  readonly max: 1;
28
28
  readonly step: 0.01;
29
29
  readonly default: 0.1;
30
- readonly description: "Feather";
30
+ readonly description: 'Feather';
31
31
  readonly hiddenFromList: false;
32
32
  };
33
33
  };
@@ -40,6 +40,6 @@ export type EvolveParams = {
40
40
  readonly feather?: number;
41
41
  };
42
42
  export declare const evolve: (params?: (EvolveParams & {
43
- readonly disabled?: boolean | undefined;
43
+ readonly disabled?: boolean;
44
44
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
45
45
  export {};
@@ -3,5 +3,5 @@ export type ExposureParams = {
3
3
  readonly stops?: number;
4
4
  };
5
5
  export declare const exposure: (params?: (ExposureParams & {
6
- readonly disabled?: boolean | undefined;
6
+ readonly disabled?: boolean;
7
7
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -22,5 +22,5 @@ export type FisheyeParams = {
22
22
  readonly zoom?: number;
23
23
  };
24
24
  export declare const fisheye: (params?: (FisheyeParams & {
25
- readonly disabled?: boolean | undefined;
25
+ readonly disabled?: boolean;
26
26
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/dist/flannel.d.ts CHANGED
@@ -11,5 +11,5 @@ export type FlannelParams = {
11
11
  readonly stripeColor?: string;
12
12
  };
13
13
  export declare const flannel: (params?: (FlannelParams & {
14
- readonly disabled?: boolean | undefined;
14
+ readonly disabled?: boolean;
15
15
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -1,5 +1,5 @@
1
- declare const FRACTAL_TYPES: readonly ["basic", "turbulent-smooth", "turbulent-basic", "turbulent-sharp", "dynamic", "dynamic-twist", "dynamic-progressive", "max", "strings"];
2
- declare const NOISE_TYPES: readonly ["block", "linear", "soft-linear", "spline"];
1
+ declare const FRACTAL_TYPES: readonly ['basic', 'turbulent-smooth', 'turbulent-basic', 'turbulent-sharp', 'dynamic', 'dynamic-twist', 'dynamic-progressive', 'max', 'strings'];
2
+ declare const NOISE_TYPES: readonly ['block', 'linear', 'soft-linear', 'spline'];
3
3
  export type FractalNoiseParams = {
4
4
  /** Texture shape. Defaults to `basic`. */
5
5
  readonly fractalType?: (typeof FRACTAL_TYPES)[number];
@@ -35,6 +35,6 @@ export type FractalNoiseParams = {
35
35
  readonly amount?: number;
36
36
  };
37
37
  export declare const fractalNoise: (params?: (FractalNoiseParams & {
38
- readonly disabled?: boolean | undefined;
38
+ readonly disabled?: boolean;
39
39
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
40
40
  export {};
@@ -1 +1 @@
1
- export declare const buildGaussianBlurFs: (direction: "horizontal" | "vertical") => string;
1
+ export declare const buildGaussianBlurFs: (direction: 'horizontal' | 'vertical') => string;
@@ -9,5 +9,5 @@ export type GlowParams = {
9
9
  readonly color?: string;
10
10
  };
11
11
  export declare const glow: (params?: (GlowParams & {
12
- readonly disabled?: boolean | undefined;
12
+ readonly disabled?: boolean;
13
13
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -3,5 +3,5 @@ export type GrayscaleParams = {
3
3
  readonly amount?: number;
4
4
  };
5
5
  export declare const grayscale: (params?: (GrayscaleParams & {
6
- readonly disabled?: boolean | undefined;
6
+ readonly disabled?: boolean;
7
7
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -1,87 +1,87 @@
1
1
  export declare const gridlinesSchema: {
2
2
  readonly gridSize: {
3
- readonly type: "number";
3
+ readonly type: 'number';
4
4
  readonly min: 1;
5
5
  readonly max: 400;
6
6
  readonly step: 1;
7
7
  readonly default: 64;
8
- readonly description: "Grid size";
8
+ readonly description: 'Grid size';
9
9
  readonly hiddenFromList: false;
10
10
  };
11
11
  readonly lineWidth: {
12
- readonly type: "number";
12
+ readonly type: 'number';
13
13
  readonly min: 0;
14
14
  readonly max: 100;
15
15
  readonly step: 0.1;
16
16
  readonly default: 2;
17
- readonly description: "Line width";
17
+ readonly description: 'Line width';
18
18
  readonly hiddenFromList: false;
19
19
  };
20
20
  readonly lineColor: {
21
- readonly type: "color";
21
+ readonly type: 'color';
22
22
  readonly default: "#ffffff";
23
- readonly description: "Line color";
23
+ readonly description: 'Line color';
24
24
  };
25
25
  readonly backgroundColor: {
26
- readonly type: "color";
26
+ readonly type: 'color';
27
27
  readonly default: "transparent";
28
- readonly description: "Background color";
28
+ readonly description: 'Background color';
29
29
  };
30
30
  readonly rotation: {
31
- readonly type: "rotation-degrees";
31
+ readonly type: 'rotation-degrees';
32
32
  readonly min: -180;
33
33
  readonly max: 180;
34
34
  readonly step: 1;
35
35
  readonly default: 0;
36
- readonly description: "Rotation";
36
+ readonly description: 'Rotation';
37
37
  };
38
38
  readonly rotationX: {
39
- readonly type: "rotation-degrees";
39
+ readonly type: 'rotation-degrees';
40
40
  readonly min: -180;
41
41
  readonly max: 180;
42
42
  readonly step: 0.1;
43
43
  readonly default: 0;
44
- readonly description: "Rotation X";
44
+ readonly description: 'Rotation X';
45
45
  };
46
46
  readonly rotationY: {
47
- readonly type: "rotation-degrees";
47
+ readonly type: 'rotation-degrees';
48
48
  readonly min: -180;
49
49
  readonly max: 180;
50
50
  readonly step: 0.1;
51
51
  readonly default: 0;
52
- readonly description: "Rotation Y";
52
+ readonly description: 'Rotation Y';
53
53
  };
54
54
  readonly perspective: {
55
- readonly type: "number";
55
+ readonly type: 'number';
56
56
  readonly min: 0;
57
57
  readonly max: 4000;
58
58
  readonly step: 1;
59
59
  readonly default: 0;
60
- readonly description: "Perspective";
60
+ readonly description: 'Perspective';
61
61
  readonly hiddenFromList: false;
62
62
  };
63
63
  readonly offsetX: {
64
- readonly type: "number";
64
+ readonly type: 'number';
65
65
  readonly min: -400;
66
66
  readonly max: 400;
67
67
  readonly step: 0.1;
68
68
  readonly default: 0;
69
- readonly description: "Offset X";
69
+ readonly description: 'Offset X';
70
70
  readonly hiddenFromList: false;
71
71
  };
72
72
  readonly offsetY: {
73
- readonly type: "number";
73
+ readonly type: 'number';
74
74
  readonly min: -400;
75
75
  readonly max: 400;
76
76
  readonly step: 0.1;
77
77
  readonly default: 0;
78
- readonly description: "Offset Y";
78
+ readonly description: 'Offset Y';
79
79
  readonly hiddenFromList: false;
80
80
  };
81
81
  readonly maskToSourceAlpha: {
82
- readonly type: "boolean";
82
+ readonly type: 'boolean';
83
83
  readonly default: false;
84
- readonly description: "Mask to source alpha";
84
+ readonly description: 'Mask to source alpha';
85
85
  };
86
86
  };
87
87
  export type GridlinesParams = {
@@ -109,5 +109,5 @@ export type GridlinesParams = {
109
109
  readonly maskToSourceAlpha?: boolean;
110
110
  };
111
111
  export declare const gridlines: (params?: (GridlinesParams & {
112
- readonly disabled?: boolean | undefined;
112
+ readonly disabled?: boolean;
113
113
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -1,71 +1,71 @@
1
- declare const HALFTONE_LINEAR_GRADIENT_COLOR_MODES: readonly ["solid", "source"];
1
+ declare const HALFTONE_LINEAR_GRADIENT_COLOR_MODES: readonly ['solid', 'source'];
2
2
  export declare const halftoneLinearGradientSchema: {
3
3
  readonly firstStopDotSize: {
4
- readonly type: "number";
4
+ readonly type: 'number';
5
5
  readonly min: 0;
6
6
  readonly max: 400;
7
7
  readonly step: 1;
8
8
  readonly default: 0;
9
- readonly description: "First stop dot size";
9
+ readonly description: 'First stop dot size';
10
10
  readonly hiddenFromList: false;
11
11
  };
12
12
  readonly secondStopDotSize: {
13
- readonly type: "number";
13
+ readonly type: 'number';
14
14
  readonly min: 0;
15
15
  readonly max: 400;
16
16
  readonly step: 1;
17
17
  readonly default: 40;
18
- readonly description: "Second stop dot size";
18
+ readonly description: 'Second stop dot size';
19
19
  readonly hiddenFromList: false;
20
20
  };
21
21
  readonly firstStopPosition: {
22
- readonly type: "uv-coordinate";
22
+ readonly type: 'uv-coordinate';
23
23
  readonly min: -1;
24
24
  readonly max: 2;
25
25
  readonly step: 0.01;
26
26
  readonly default: readonly [0, 0.5];
27
- readonly description: "First stop position";
27
+ readonly description: 'First stop position';
28
28
  readonly visual: {
29
- readonly type: "line";
30
- readonly to: "secondStopPosition";
29
+ readonly type: 'line';
30
+ readonly to: 'secondStopPosition';
31
31
  };
32
32
  };
33
33
  readonly secondStopPosition: {
34
- readonly type: "uv-coordinate";
34
+ readonly type: 'uv-coordinate';
35
35
  readonly min: -1;
36
36
  readonly max: 2;
37
37
  readonly step: 0.01;
38
38
  readonly default: readonly [1, 0.5];
39
- readonly description: "Second stop position";
39
+ readonly description: 'Second stop position';
40
40
  };
41
41
  readonly gridSize: {
42
- readonly type: "number";
42
+ readonly type: 'number';
43
43
  readonly min: 1;
44
44
  readonly max: 400;
45
45
  readonly step: 1;
46
46
  readonly default: 24;
47
- readonly description: "Grid size";
47
+ readonly description: 'Grid size';
48
48
  readonly hiddenFromList: false;
49
49
  };
50
50
  readonly colorMode: {
51
- readonly type: "enum";
52
- readonly default: "solid";
53
- readonly description: "Color mode";
51
+ readonly type: 'enum';
52
+ readonly default: 'solid';
53
+ readonly description: 'Color mode';
54
54
  readonly variants: {
55
55
  readonly solid: {
56
56
  readonly dotColor: {
57
- readonly type: "color";
57
+ readonly type: 'color';
58
58
  readonly default: "black";
59
- readonly description: "Dot color";
59
+ readonly description: 'Dot color';
60
60
  };
61
61
  };
62
62
  readonly source: {};
63
63
  };
64
64
  };
65
65
  readonly maskToSourceAlpha: {
66
- readonly type: "boolean";
66
+ readonly type: 'boolean';
67
67
  readonly default: false;
68
- readonly description: "Mask to source alpha";
68
+ readonly description: 'Mask to source alpha';
69
69
  };
70
70
  };
71
71
  export type HalftoneLinearGradientColorMode = (typeof HALFTONE_LINEAR_GRADIENT_COLOR_MODES)[number];
@@ -104,6 +104,6 @@ export type HalftoneLinearGradientParams = HalftoneLinearGradientCommonParams &
104
104
  readonly colorMode: 'source';
105
105
  });
106
106
  export declare const halftoneLinearGradient: (params?: (HalftoneLinearGradientParams & {
107
- readonly disabled?: boolean | undefined;
107
+ readonly disabled?: boolean;
108
108
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
109
109
  export {};
@@ -1,70 +1,70 @@
1
- declare const HALFTONE_SHAPES: readonly ["circle", "square", "line"];
2
- declare const HALFTONE_SAMPLING: readonly ["bilinear", "nearest"];
3
- declare const HALFTONE_COLOR_MODES: readonly ["solid", "source"];
1
+ declare const HALFTONE_SHAPES: readonly ['circle', 'square', 'line'];
2
+ declare const HALFTONE_SAMPLING: readonly ['bilinear', 'nearest'];
3
+ declare const HALFTONE_COLOR_MODES: readonly ['solid', 'source'];
4
4
  export declare const halftoneSchema: {
5
5
  readonly dotSize: {
6
- readonly type: "number";
6
+ readonly type: 'number';
7
7
  readonly min: 1;
8
8
  readonly max: 200;
9
9
  readonly step: 1;
10
10
  readonly default: 20;
11
- readonly description: "Dot size";
11
+ readonly description: 'Dot size';
12
12
  readonly hiddenFromList: false;
13
13
  };
14
14
  readonly dotSpacing: {
15
- readonly type: "number";
15
+ readonly type: 'number';
16
16
  readonly min: 1;
17
17
  readonly max: 200;
18
18
  readonly step: 1;
19
19
  readonly default: 20;
20
- readonly description: "Dot spacing";
20
+ readonly description: 'Dot spacing';
21
21
  readonly hiddenFromList: false;
22
22
  };
23
23
  readonly rotation: {
24
- readonly type: "rotation-degrees";
24
+ readonly type: 'rotation-degrees';
25
25
  readonly step: 1;
26
26
  readonly default: 0;
27
- readonly description: "Rotation";
27
+ readonly description: 'Rotation';
28
28
  };
29
29
  readonly offsetX: {
30
- readonly type: "number";
30
+ readonly type: 'number';
31
31
  readonly step: 1;
32
32
  readonly default: 0;
33
- readonly description: "Offset X";
33
+ readonly description: 'Offset X';
34
34
  readonly hiddenFromList: false;
35
35
  };
36
36
  readonly offsetY: {
37
- readonly type: "number";
37
+ readonly type: 'number';
38
38
  readonly step: 1;
39
39
  readonly default: 0;
40
- readonly description: "Offset Y";
40
+ readonly description: 'Offset Y';
41
41
  readonly hiddenFromList: false;
42
42
  };
43
43
  readonly shape: {
44
- readonly type: "enum";
44
+ readonly type: 'enum';
45
45
  readonly variants: {
46
46
  readonly circle: {};
47
47
  readonly square: {};
48
48
  readonly line: {};
49
49
  };
50
- readonly default: "circle";
51
- readonly description: "Shape";
50
+ readonly default: 'circle';
51
+ readonly description: 'Shape';
52
52
  };
53
53
  readonly invert: {
54
- readonly type: "boolean";
54
+ readonly type: 'boolean';
55
55
  readonly default: false;
56
- readonly description: "Invert";
56
+ readonly description: 'Invert';
57
57
  };
58
58
  readonly colorMode: {
59
- readonly type: "enum";
60
- readonly default: "solid";
61
- readonly description: "Color mode";
59
+ readonly type: 'enum';
60
+ readonly default: 'solid';
61
+ readonly description: 'Color mode';
62
62
  readonly variants: {
63
63
  readonly solid: {
64
64
  readonly dotColor: {
65
- readonly type: "color";
66
- readonly default: "red";
67
- readonly description: "Dot color";
65
+ readonly type: 'color';
66
+ readonly default: 'red';
67
+ readonly description: 'Dot color';
68
68
  };
69
69
  };
70
70
  readonly source: {};
@@ -101,6 +101,6 @@ export type HalftoneParams = HalftoneCommonParams & ({
101
101
  readonly colorMode: 'source';
102
102
  });
103
103
  export declare const halftone: (params?: (HalftoneParams & {
104
- readonly disabled?: boolean | undefined;
104
+ readonly disabled?: boolean;
105
105
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
106
106
  export {};
package/dist/hue.d.ts CHANGED
@@ -3,5 +3,5 @@ export type HueParams = {
3
3
  readonly degrees?: number;
4
4
  };
5
5
  export declare const hue: (params?: (HueParams & {
6
- readonly disabled?: boolean | undefined;
6
+ readonly disabled?: boolean;
7
7
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
package/dist/invert.d.ts CHANGED
@@ -3,5 +3,5 @@ export type InvertParams = {
3
3
  readonly amount?: number;
4
4
  };
5
5
  export declare const invert: (params?: (InvertParams & {
6
- readonly disabled?: boolean | undefined;
6
+ readonly disabled?: boolean;
7
7
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -1,4 +1,4 @@
1
- declare const IRIS_SHAPES: readonly ["triangle", "square", "pentagon", "hexagon", "heptagon", "octagon", "nonagon", "decagon", "circle"];
1
+ declare const IRIS_SHAPES: readonly ['triangle', 'square', 'pentagon', 'hexagon', 'heptagon', 'octagon', 'nonagon', 'decagon', 'circle'];
2
2
  export type LensBlurIrisShape = (typeof IRIS_SHAPES)[number];
3
3
  export type LensBlurParams = {
4
4
  /** Blur radius in pixels. Defaults to `10`. */
@@ -25,6 +25,6 @@ export type LensBlurParams = {
25
25
  readonly linearLight?: boolean;
26
26
  };
27
27
  export declare const lensBlur: (params?: (LensBlurParams & {
28
- readonly disabled?: boolean | undefined;
28
+ readonly disabled?: boolean;
29
29
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
30
30
  export {};
package/dist/levels.d.ts CHANGED
@@ -1,11 +1,78 @@
1
+ declare const LEVELS_CHANNELS: readonly ['rgb', 'red', 'green', 'blue'];
2
+ export declare const levelsSchema: {
3
+ readonly channel: {
4
+ readonly type: 'enum';
5
+ readonly variants: {
6
+ readonly rgb: {};
7
+ readonly red: {};
8
+ readonly green: {};
9
+ readonly blue: {};
10
+ };
11
+ readonly default: "rgb";
12
+ readonly description: 'Channel';
13
+ };
14
+ readonly blackPoint: {
15
+ readonly type: 'number';
16
+ readonly min: 0;
17
+ readonly max: 1;
18
+ readonly step: 0.01;
19
+ readonly default: 0;
20
+ readonly description: 'Input black';
21
+ readonly hiddenFromList: false;
22
+ };
23
+ readonly whitePoint: {
24
+ readonly type: 'number';
25
+ readonly min: 0;
26
+ readonly max: 1;
27
+ readonly step: 0.01;
28
+ readonly default: 1;
29
+ readonly description: 'Input white';
30
+ readonly hiddenFromList: false;
31
+ };
32
+ readonly gamma: {
33
+ readonly type: 'number';
34
+ readonly min: 0.01;
35
+ readonly max: 10;
36
+ readonly step: 0.01;
37
+ readonly default: 1;
38
+ readonly description: 'Gamma';
39
+ readonly hiddenFromList: false;
40
+ };
41
+ readonly outputBlack: {
42
+ readonly type: 'number';
43
+ readonly min: 0;
44
+ readonly max: 1;
45
+ readonly step: 0.01;
46
+ readonly default: 0;
47
+ readonly description: 'Output black';
48
+ readonly hiddenFromList: false;
49
+ };
50
+ readonly outputWhite: {
51
+ readonly type: 'number';
52
+ readonly min: 0;
53
+ readonly max: 1;
54
+ readonly step: 0.01;
55
+ readonly default: 1;
56
+ readonly description: 'Output white';
57
+ readonly hiddenFromList: false;
58
+ };
59
+ };
60
+ export type LevelsChannel = (typeof LEVELS_CHANNELS)[number];
1
61
  export type LevelsParams = {
2
- /** Input value mapped to black, from `0` to `1`. Defaults to `0`. */
62
+ /** Color channels to adjust. Defaults to `"rgb"`. */
63
+ readonly channel?: LevelsChannel;
64
+ /** Input value mapped to outputBlack, from `0` to `1`. Defaults to `0`. */
3
65
  readonly blackPoint?: number;
4
- /** Input value mapped to white, from `0` to `1`. Defaults to `1`. */
66
+ /** Input value mapped to outputWhite, from `0` to `1`. Defaults to `1`. */
5
67
  readonly whitePoint?: number;
6
68
  /** Midtone gamma from `0.01` to `10`. Defaults to `1`. */
7
69
  readonly gamma?: number;
70
+ /** Output value for the input black point, from `0` to `1`. Defaults to `0`. */
71
+ readonly outputBlack?: number;
72
+ /** Output value for the input white point, from `0` to `1`. Defaults to `1`. */
73
+ readonly outputWhite?: number;
8
74
  };
9
75
  export declare const levels: (params?: (LevelsParams & {
10
- readonly disabled?: boolean | undefined;
76
+ readonly disabled?: boolean;
11
77
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
78
+ export {};
@@ -1,25 +1,25 @@
1
1
  export declare const lightLeakEffectSchema: {
2
2
  readonly seed: {
3
- readonly type: "number";
3
+ readonly type: 'number';
4
4
  readonly default: 0;
5
- readonly description: "Seed";
5
+ readonly description: 'Seed';
6
6
  readonly hiddenFromList: false;
7
7
  };
8
8
  readonly hueShift: {
9
- readonly type: "number";
9
+ readonly type: 'number';
10
10
  readonly min: 0;
11
11
  readonly max: 360;
12
12
  readonly default: 0;
13
- readonly description: "Hue Shift";
13
+ readonly description: 'Hue Shift';
14
14
  readonly hiddenFromList: false;
15
15
  };
16
16
  readonly progress: {
17
- readonly type: "number";
17
+ readonly type: 'number';
18
18
  readonly min: 0;
19
19
  readonly max: 1;
20
20
  readonly step: 0.01;
21
21
  readonly default: 0.5;
22
- readonly description: "Progress";
22
+ readonly description: 'Progress';
23
23
  readonly hiddenFromList: false;
24
24
  };
25
25
  };
@@ -30,5 +30,5 @@ export type LightLeakEffectParams = {
30
30
  readonly progress?: number;
31
31
  };
32
32
  export declare const lightLeak: (params?: (LightLeakEffectParams & {
33
- readonly disabled?: boolean | undefined;
33
+ readonly disabled?: boolean;
34
34
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -15,5 +15,5 @@ export type LightTrailParams = {
15
15
  readonly color?: string;
16
16
  };
17
17
  export declare const lightTrail: (params?: (LightTrailParams & {
18
- readonly disabled?: boolean | undefined;
18
+ readonly disabled?: boolean;
19
19
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -22,5 +22,5 @@ export type LinearGradientTintParams = {
22
22
  readonly amount?: number;
23
23
  };
24
24
  export declare const linearGradientTint: (params?: (LinearGradientTintParams & {
25
- readonly disabled?: boolean | undefined;
25
+ readonly disabled?: boolean;
26
26
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -18,5 +18,5 @@ export type LinearGradientParams = {
18
18
  readonly endColor?: string;
19
19
  };
20
20
  export declare const linearGradient: (params?: (LinearGradientParams & {
21
- readonly disabled?: boolean | undefined;
21
+ readonly disabled?: boolean;
22
22
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -24,5 +24,5 @@ export type LinearProgressiveBlurResolved = {
24
24
  readonly endBlur: number;
25
25
  };
26
26
  export declare const linearProgressiveBlur: (params?: (LinearProgressiveBlurParams & {
27
- readonly disabled?: boolean | undefined;
27
+ readonly disabled?: boolean;
28
28
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;
@@ -1,2 +1,2 @@
1
1
  export declare const LINEAR_PROGRESSIVE_BLUR_VS = "#version 300 es\nlayout(location = 0) in vec2 aPos;\nlayout(location = 1) in vec2 aUv;\nout vec2 vUv;\nvoid main() {\n\tvUv = aUv;\n\tgl_Position = vec4(aPos, 0.0, 1.0);\n}\n";
2
- export declare const buildLinearProgressiveBlurFs: (direction: "horizontal" | "vertical") => string;
2
+ export declare const buildLinearProgressiveBlurFs: (direction: 'horizontal' | 'vertical') => string;
@@ -10,5 +10,5 @@ export type LinearProgressivePixelateParams = {
10
10
  readonly endBlockSize?: number;
11
11
  };
12
12
  export declare const linearProgressivePixelate: (params?: (LinearProgressivePixelateParams & {
13
- readonly disabled?: boolean | undefined;
13
+ readonly disabled?: boolean;
14
14
  }) | undefined) => import("remotion").EffectDescriptor<unknown>;