@revideo/2d 0.4.7-two.1024 → 0.4.7

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 (167) hide show
  1. package/editor/editor/tsconfig.build.tsbuildinfo +1 -1
  2. package/editor/index.js +151 -380
  3. package/editor/index.js.map +1 -1
  4. package/lib/code/CodeCursor.d.ts +74 -74
  5. package/lib/code/CodeDiffer.d.ts +16 -21
  6. package/lib/code/CodeDiffer.js +41 -39
  7. package/lib/code/CodeFragment.d.ts +8 -16
  8. package/lib/code/CodeFragment.js +36 -36
  9. package/lib/code/CodeHighlighter.d.ts +59 -59
  10. package/lib/code/CodeHighlighter.js +1 -1
  11. package/lib/code/CodeMetrics.d.ts +8 -12
  12. package/lib/code/CodeMetrics.js +24 -26
  13. package/lib/code/CodeRange.d.ts +5 -21
  14. package/lib/code/CodeRange.js +124 -131
  15. package/lib/code/CodeScope.d.ts +8 -18
  16. package/lib/code/CodeSelection.d.ts +4 -9
  17. package/lib/code/CodeSelection.js +8 -8
  18. package/lib/code/CodeSignal.d.ts +47 -74
  19. package/lib/code/CodeTokenizer.d.ts +1 -1
  20. package/lib/code/CodeTokenizer.js +41 -41
  21. package/lib/code/DefaultHighlightStyle.d.ts +2 -2
  22. package/lib/code/DefaultHighlightStyle.js +96 -96
  23. package/lib/code/LezerHighlighter.d.ts +19 -21
  24. package/lib/code/diff.d.ts +9 -12
  25. package/lib/code/diff.js +205 -218
  26. package/lib/code/extractRange.d.ts +4 -7
  27. package/lib/code/extractRange.js +71 -79
  28. package/lib/code/index.d.ts +1 -1
  29. package/lib/code/index.js +1 -1
  30. package/lib/components/Audio.d.ts +11 -11
  31. package/lib/components/Bezier.d.ts +18 -18
  32. package/lib/components/Circle.d.ts +90 -95
  33. package/lib/components/Code.d.ts +211 -244
  34. package/lib/components/CodeBlock.d.ts +1 -1
  35. package/lib/components/CubicBezier.d.ts +36 -36
  36. package/lib/components/Curve.d.ts +198 -208
  37. package/lib/components/Grid.d.ts +42 -47
  38. package/lib/components/Icon.d.ts +50 -55
  39. package/lib/components/Img.d.ts +79 -86
  40. package/lib/components/Knot.d.ts +78 -97
  41. package/lib/components/Latex.d.ts +12 -12
  42. package/lib/components/Layout.d.ts +413 -455
  43. package/lib/components/Line.d.ts +49 -61
  44. package/lib/components/Media.d.ts +37 -37
  45. package/lib/components/Media.d.ts.map +1 -1
  46. package/lib/components/Media.js +6 -1
  47. package/lib/components/Node.d.ts +1 -1
  48. package/lib/components/Path.d.ts +1 -1
  49. package/lib/components/Polygon.d.ts +55 -60
  50. package/lib/components/QuadBezier.d.ts +29 -29
  51. package/lib/components/Ray.d.ts +28 -28
  52. package/lib/components/Rect.d.ts +108 -115
  53. package/lib/components/SVG.d.ts +1 -1
  54. package/lib/components/Shape.d.ts +1 -1
  55. package/lib/components/Spline.d.ts +40 -46
  56. package/lib/components/Txt.d.ts +44 -55
  57. package/lib/components/TxtLeaf.d.ts +16 -20
  58. package/lib/components/Video.d.ts +1 -0
  59. package/lib/components/Video.d.ts.map +1 -1
  60. package/lib/components/Video.js +7 -2
  61. package/lib/components/View2D.d.ts +22 -22
  62. package/lib/components/index.d.ts +1 -1
  63. package/lib/components/types.d.ts +9 -22
  64. package/lib/curves/ArcSegment.d.ts +24 -36
  65. package/lib/curves/CircleSegment.d.ts +16 -26
  66. package/lib/curves/CubicBezierSegment.d.ts +13 -18
  67. package/lib/curves/CurveDrawingInfo.d.ts +9 -9
  68. package/lib/curves/CurvePoint.d.ts +13 -13
  69. package/lib/curves/CurveProfile.d.ts +5 -5
  70. package/lib/curves/CurveProfile.js +1 -1
  71. package/lib/curves/KnotInfo.d.ts +8 -8
  72. package/lib/curves/LineSegment.d.ts +14 -19
  73. package/lib/curves/Polynomial.d.ts +110 -110
  74. package/lib/curves/Polynomial2D.d.ts +20 -20
  75. package/lib/curves/PolynomialSegment.d.ts +37 -42
  76. package/lib/curves/QuadBezierSegment.d.ts +12 -12
  77. package/lib/curves/Segment.d.ts +7 -12
  78. package/lib/curves/UniformPolynomialCurveSampler.d.ts +34 -34
  79. package/lib/curves/createCurveProfileLerp.d.ts +6 -17
  80. package/lib/curves/getBezierSplineProfile.d.ts +4 -8
  81. package/lib/curves/getCircleProfile.d.ts +4 -10
  82. package/lib/curves/getPathProfile.d.ts +2 -2
  83. package/lib/curves/getPointAtDistance.d.ts +4 -7
  84. package/lib/curves/getPolylineProfile.d.ts +4 -8
  85. package/lib/curves/getRectProfile.d.ts +4 -9
  86. package/lib/curves/index.d.ts +1 -1
  87. package/lib/curves/index.js +1 -1
  88. package/lib/decorators/canvasStyleSignal.d.ts +3 -3
  89. package/lib/decorators/colorSignal.d.ts +1 -1
  90. package/lib/decorators/compound.d.ts +2 -4
  91. package/lib/decorators/computed.d.ts +1 -1
  92. package/lib/decorators/defaultStyle.d.ts +2 -5
  93. package/lib/decorators/filtersSignal.d.ts +8 -28
  94. package/lib/decorators/index.d.ts +1 -1
  95. package/lib/decorators/index.js +1 -1
  96. package/lib/decorators/initializers.d.ts +2 -5
  97. package/lib/decorators/initializers.js +19 -18
  98. package/lib/decorators/nodeName.d.ts +1 -1
  99. package/lib/decorators/nodeName.js +4 -4
  100. package/lib/decorators/signal.d.ts +20 -40
  101. package/lib/decorators/spacingSignal.d.ts +1 -1
  102. package/lib/decorators/vector2Signal.d.ts +7 -13
  103. package/lib/index.d.ts +1 -1
  104. package/lib/index.js +1 -1
  105. package/lib/jsx-dev-runtime.d.ts +3 -3
  106. package/lib/jsx-dev-runtime.js +3 -3
  107. package/lib/jsx-runtime.d.ts +9 -19
  108. package/lib/jsx-runtime.js +18 -18
  109. package/lib/partials/Filter.d.ts +16 -24
  110. package/lib/partials/Gradient.d.ts +24 -30
  111. package/lib/partials/Pattern.d.ts +9 -14
  112. package/lib/partials/ShaderConfig.d.ts +74 -81
  113. package/lib/partials/index.d.ts +1 -1
  114. package/lib/partials/index.js +1 -1
  115. package/lib/partials/types.d.ts +6 -19
  116. package/lib/scenes/Scene2D.d.ts +23 -42
  117. package/lib/scenes/index.d.ts +1 -1
  118. package/lib/scenes/index.js +1 -1
  119. package/lib/scenes/makeScene2D.d.ts +5 -7
  120. package/lib/scenes/useScene2D.d.ts +2 -2
  121. package/lib/tsconfig.build.tsbuildinfo +1 -1
  122. package/lib/utils/diff.d.ts +18 -25
  123. package/lib/utils/diff.js +87 -84
  124. package/lib/utils/index.d.ts +1 -1
  125. package/lib/utils/index.js +1 -1
  126. package/lib/utils/is.d.ts +2 -4
  127. package/lib/utils/is.js +2 -2
  128. package/lib/utils/makeSignalExtensions.d.ts +4 -11
  129. package/lib/utils/video/mp4-parser-manager.d.ts +1 -0
  130. package/lib/utils/video/mp4-parser-manager.d.ts.map +1 -1
  131. package/lib/utils/video/mp4-parser-manager.js +21 -4
  132. package/lib/utils/video/parser/index.d.ts +2 -0
  133. package/lib/utils/video/parser/index.d.ts.map +1 -0
  134. package/lib/utils/video/parser/index.js +2 -0
  135. package/lib/utils/video/parser/parser.d.ts +21 -0
  136. package/lib/utils/video/parser/parser.d.ts.map +1 -0
  137. package/lib/utils/video/parser/parser.js +168 -0
  138. package/lib/utils/video/parser/sampler.d.ts +16 -0
  139. package/lib/utils/video/parser/sampler.d.ts.map +1 -0
  140. package/lib/utils/video/parser/sampler.js +56 -0
  141. package/lib/utils/video/parser/segment.d.ts +44 -0
  142. package/lib/utils/video/parser/segment.d.ts.map +1 -0
  143. package/lib/utils/video/parser/segment.js +161 -0
  144. package/lib/utils/video/parser/sink.d.ts +9 -0
  145. package/lib/utils/video/parser/sink.d.ts.map +1 -0
  146. package/lib/utils/video/parser/sink.js +22 -0
  147. package/lib/utils/video/parser/utils.d.ts +10 -0
  148. package/lib/utils/video/parser/utils.d.ts.map +1 -0
  149. package/lib/utils/video/parser/utils.js +22 -0
  150. package/package.json +5 -5
  151. package/src/lib/components/Media.ts +6 -0
  152. package/src/lib/components/Video.ts +7 -1
  153. package/src/lib/utils/video/mp4-parser-manager.ts +24 -5
  154. package/src/lib/utils/video/parser/index.ts +1 -0
  155. package/src/lib/utils/video/parser/parser.ts +256 -0
  156. package/src/lib/utils/video/parser/sampler.ts +72 -0
  157. package/src/lib/utils/video/parser/segment.ts +211 -0
  158. package/src/lib/utils/video/parser/sink.ts +29 -0
  159. package/src/lib/utils/video/parser/utils.ts +31 -0
  160. package/lib/components/HlsVideo.d.ts +0 -62
  161. package/lib/components/HlsVideo.d.ts.map +0 -1
  162. package/lib/components/HlsVideo.js +0 -169
  163. package/lib/tsconfig.tsbuildinfo +0 -1
  164. package/lib/utils/video/mp4-parser.d.ts +0 -63
  165. package/lib/utils/video/mp4-parser.d.ts.map +0 -1
  166. package/lib/utils/video/mp4-parser.js +0 -264
  167. package/src/lib/utils/video/mp4-parser.ts +0 -340
@@ -1,26 +1,19 @@
1
- import {
2
- Color,
3
- PossibleVector2,
4
- SerializedVector2,
5
- SignalValue,
6
- SimpleSignal,
7
- Vector2,
8
- } from '@revideo/core';
9
- import {DesiredLength} from '../partials';
10
- import {Rect, RectProps} from './Rect';
1
+ import { Color, PossibleVector2, SerializedVector2, SignalValue, SimpleSignal, Vector2 } from '@revideo/core';
2
+ import { DesiredLength } from '../partials';
3
+ import { Rect, RectProps } from './Rect';
11
4
  export interface ImgProps extends RectProps {
12
- /**
13
- * {@inheritDoc Img.src}
14
- */
15
- src?: SignalValue<string | null>;
16
- /**
17
- * {@inheritDoc Img.alpha}
18
- */
19
- alpha?: SignalValue<number>;
20
- /**
21
- * {@inheritDoc Img.smoothing}
22
- */
23
- smoothing?: SignalValue<boolean>;
5
+ /**
6
+ * {@inheritDoc Img.src}
7
+ */
8
+ src?: SignalValue<string | null>;
9
+ /**
10
+ * {@inheritDoc Img.alpha}
11
+ */
12
+ alpha?: SignalValue<number>;
13
+ /**
14
+ * {@inheritDoc Img.smoothing}
15
+ */
16
+ smoothing?: SignalValue<boolean>;
24
17
  }
25
18
  /**
26
19
  * A node for displaying images.
@@ -56,68 +49,68 @@ export interface ImgProps extends RectProps {
56
49
  * ```
57
50
  */
58
51
  export declare class Img extends Rect {
59
- private static pool;
60
- /**
61
- * The source of this image.
62
- *
63
- * @example
64
- * Using a local image:
65
- * ```tsx
66
- * import image from './example.png';
67
- * // ...
68
- * view.add(<Img src={image} />)
69
- * ```
70
- * Loading an image from the internet:
71
- * ```tsx
72
- * view.add(<Img src="https://example.com/image.png" />)
73
- * ```
74
- */
75
- readonly src: SimpleSignal<string, this>;
76
- /**
77
- * The alpha value of this image.
78
- *
79
- * @remarks
80
- * Unlike opacity, the alpha value affects only the image itself, leaving the
81
- * fill, stroke, and children intact.
82
- */
83
- readonly alpha: SimpleSignal<number, this>;
84
- /**
85
- * Whether the image should be smoothed.
86
- *
87
- * @remarks
88
- * When disabled, the image will be scaled using the nearest neighbor
89
- * interpolation with no smoothing. The resulting image will appear pixelated.
90
- *
91
- * @defaultValue true
92
- */
93
- readonly smoothing: SimpleSignal<boolean, this>;
94
- constructor(props: ImgProps);
95
- protected desiredSize(): SerializedVector2<DesiredLength>;
96
- protected image(): HTMLImageElement;
97
- protected imageCanvas(): CanvasRenderingContext2D;
98
- protected filledImageCanvas(): CanvasRenderingContext2D;
99
- protected draw(context: CanvasRenderingContext2D): Promise<void>;
100
- protected applyFlex(): void;
101
- /**
102
- * Get color of the image at the given position.
103
- *
104
- * @param position - The position in local space at which to sample the color.
105
- */
106
- getColorAtPoint(position: PossibleVector2): Color;
107
- /**
108
- * The natural size of this image.
109
- *
110
- * @remarks
111
- * The natural size is the size of the source image unaffected by the size
112
- * and scale properties.
113
- */
114
- naturalSize(): Vector2;
115
- /**
116
- * Get color of the image at the given pixel.
117
- *
118
- * @param position - The pixel's position.
119
- */
120
- getPixelColor(position: PossibleVector2): Color;
121
- protected collectAsyncResources(): void;
52
+ private static pool;
53
+ /**
54
+ * The source of this image.
55
+ *
56
+ * @example
57
+ * Using a local image:
58
+ * ```tsx
59
+ * import image from './example.png';
60
+ * // ...
61
+ * view.add(<Img src={image} />)
62
+ * ```
63
+ * Loading an image from the internet:
64
+ * ```tsx
65
+ * view.add(<Img src="https://example.com/image.png" />)
66
+ * ```
67
+ */
68
+ readonly src: SimpleSignal<string, this>;
69
+ /**
70
+ * The alpha value of this image.
71
+ *
72
+ * @remarks
73
+ * Unlike opacity, the alpha value affects only the image itself, leaving the
74
+ * fill, stroke, and children intact.
75
+ */
76
+ readonly alpha: SimpleSignal<number, this>;
77
+ /**
78
+ * Whether the image should be smoothed.
79
+ *
80
+ * @remarks
81
+ * When disabled, the image will be scaled using the nearest neighbor
82
+ * interpolation with no smoothing. The resulting image will appear pixelated.
83
+ *
84
+ * @defaultValue true
85
+ */
86
+ readonly smoothing: SimpleSignal<boolean, this>;
87
+ constructor(props: ImgProps);
88
+ protected desiredSize(): SerializedVector2<DesiredLength>;
89
+ protected image(): HTMLImageElement;
90
+ protected imageCanvas(): CanvasRenderingContext2D;
91
+ protected filledImageCanvas(): CanvasRenderingContext2D;
92
+ protected draw(context: CanvasRenderingContext2D): Promise<void>;
93
+ protected applyFlex(): void;
94
+ /**
95
+ * Get color of the image at the given position.
96
+ *
97
+ * @param position - The position in local space at which to sample the color.
98
+ */
99
+ getColorAtPoint(position: PossibleVector2): Color;
100
+ /**
101
+ * The natural size of this image.
102
+ *
103
+ * @remarks
104
+ * The natural size is the size of the source image unaffected by the size
105
+ * and scale properties.
106
+ */
107
+ naturalSize(): Vector2;
108
+ /**
109
+ * Get color of the image at the given pixel.
110
+ *
111
+ * @param position - The pixel's position.
112
+ */
113
+ getPixelColor(position: PossibleVector2): Color;
114
+ protected collectAsyncResources(): void;
122
115
  }
123
- //# sourceMappingURL=Img.d.ts.map
116
+ //# sourceMappingURL=Img.d.ts.map
@@ -1,108 +1,89 @@
1
- import {
2
- PossibleVector2,
3
- Signal,
4
- SignalValue,
5
- Vector2Signal,
6
- } from '@revideo/core';
7
- import {KnotInfo} from '../curves';
8
- import {Node, NodeProps} from './Node';
1
+ import { PossibleVector2, Signal, SignalValue, Vector2Signal } from '@revideo/core';
2
+ import { KnotInfo } from '../curves';
3
+ import { Node, NodeProps } from './Node';
9
4
  export interface KnotProps extends NodeProps {
10
- /**
11
- * {@inheritDoc Knot.startHandle}
12
- */
13
- startHandle?: SignalValue<PossibleVector2>;
14
- /**
15
- * {@inheritDoc Knot.endHandle}
16
- */
17
- endHandle?: SignalValue<PossibleVector2>;
18
- /**
19
- * {@inheritDoc Knot.auto}
20
- */
21
- auto?: SignalValue<PossibleKnotAuto>;
22
- startHandleAuto?: SignalValue<number>;
23
- endHandleAuto?: SignalValue<number>;
5
+ /**
6
+ * {@inheritDoc Knot.startHandle}
7
+ */
8
+ startHandle?: SignalValue<PossibleVector2>;
9
+ /**
10
+ * {@inheritDoc Knot.endHandle}
11
+ */
12
+ endHandle?: SignalValue<PossibleVector2>;
13
+ /**
14
+ * {@inheritDoc Knot.auto}
15
+ */
16
+ auto?: SignalValue<PossibleKnotAuto>;
17
+ startHandleAuto?: SignalValue<number>;
18
+ endHandleAuto?: SignalValue<number>;
24
19
  }
25
20
  export type KnotAuto = {
26
- startHandle: number;
27
- endHandle: number;
21
+ startHandle: number;
22
+ endHandle: number;
28
23
  };
29
24
  export type PossibleKnotAuto = KnotAuto | number | [number, number];
30
- export type KnotAutoSignal<TOwner> = Signal<
31
- PossibleKnotAuto,
32
- KnotAuto,
33
- TOwner
34
- > & {
35
- endHandle: Signal<number, number, TOwner>;
36
- startHandle: Signal<number, number, TOwner>;
25
+ export type KnotAutoSignal<TOwner> = Signal<PossibleKnotAuto, KnotAuto, TOwner> & {
26
+ endHandle: Signal<number, number, TOwner>;
27
+ startHandle: Signal<number, number, TOwner>;
37
28
  };
38
29
  /**
39
30
  * A node representing a knot of a {@link Spline}.
40
31
  */
41
32
  export declare class Knot extends Node {
42
- /**
43
- * The position of the knot's start handle. The position is provided relative
44
- * to the knot's position.
45
- *
46
- * @remarks
47
- * By default, the position of the start handle will be the mirrored position
48
- * of the {@link endHandle}.
49
- *
50
- * If neither an end handle nor a start handle is provided, the positions of
51
- * the handles gets calculated automatically to create smooth curve through
52
- * the knot. The smoothness of the resulting curve can be controlled via the
53
- * {@link Spline.smoothness} property.
54
- *
55
- * It is also possible to blend between a user-defined position and the
56
- * auto-calculated position by using the {@link auto} property.
57
- *
58
- * @defaultValue Mirrored position of the endHandle.
59
- */
60
- readonly startHandle: Vector2Signal<this>;
61
- /**
62
- * The position of the knot's end handle. The position is provided relative
63
- * to the knot's position.
64
- *
65
- * @remarks
66
- * By default, the position of the end handle will be the mirrored position
67
- * of the {@link startHandle}.
68
- *
69
- * If neither an end handle nor a start handle is provided, the positions of
70
- * the handles gets calculated automatically to create smooth curve through
71
- * the knot. The smoothness of the resulting curve can be controlled via the
72
- * {@link Spline.smoothness} property.
73
- *
74
- * It is also possible to blend between a user-defined position and the
75
- * auto-calculated position by using the {@link auto} property.
76
- *
77
- * @defaultValue Mirrored position of the startHandle.
78
- */
79
- readonly endHandle: Vector2Signal<this>;
80
- /**
81
- * How much to blend between the user-provided handles and the auto-calculated
82
- * handles.
83
- *
84
- * @remarks
85
- * This property has no effect if no explicit handles are provided for the
86
- * knot.
87
- *
88
- * @defaultValue 0
89
- */
90
- readonly auto: KnotAutoSignal<this>;
91
- get startHandleAuto(): Signal<
92
- number,
93
- number,
94
- this,
95
- import('@revideo/core').SignalContext<number, number, this>
96
- >;
97
- get endHandleAuto(): Signal<
98
- number,
99
- number,
100
- this,
101
- import('@revideo/core').SignalContext<number, number, this>
102
- >;
103
- constructor(props: KnotProps);
104
- points(): KnotInfo;
105
- private getDefaultEndHandle;
106
- private getDefaultStartHandle;
33
+ /**
34
+ * The position of the knot's start handle. The position is provided relative
35
+ * to the knot's position.
36
+ *
37
+ * @remarks
38
+ * By default, the position of the start handle will be the mirrored position
39
+ * of the {@link endHandle}.
40
+ *
41
+ * If neither an end handle nor a start handle is provided, the positions of
42
+ * the handles gets calculated automatically to create smooth curve through
43
+ * the knot. The smoothness of the resulting curve can be controlled via the
44
+ * {@link Spline.smoothness} property.
45
+ *
46
+ * It is also possible to blend between a user-defined position and the
47
+ * auto-calculated position by using the {@link auto} property.
48
+ *
49
+ * @defaultValue Mirrored position of the endHandle.
50
+ */
51
+ readonly startHandle: Vector2Signal<this>;
52
+ /**
53
+ * The position of the knot's end handle. The position is provided relative
54
+ * to the knot's position.
55
+ *
56
+ * @remarks
57
+ * By default, the position of the end handle will be the mirrored position
58
+ * of the {@link startHandle}.
59
+ *
60
+ * If neither an end handle nor a start handle is provided, the positions of
61
+ * the handles gets calculated automatically to create smooth curve through
62
+ * the knot. The smoothness of the resulting curve can be controlled via the
63
+ * {@link Spline.smoothness} property.
64
+ *
65
+ * It is also possible to blend between a user-defined position and the
66
+ * auto-calculated position by using the {@link auto} property.
67
+ *
68
+ * @defaultValue Mirrored position of the startHandle.
69
+ */
70
+ readonly endHandle: Vector2Signal<this>;
71
+ /**
72
+ * How much to blend between the user-provided handles and the auto-calculated
73
+ * handles.
74
+ *
75
+ * @remarks
76
+ * This property has no effect if no explicit handles are provided for the
77
+ * knot.
78
+ *
79
+ * @defaultValue 0
80
+ */
81
+ readonly auto: KnotAutoSignal<this>;
82
+ get startHandleAuto(): Signal<number, number, this, import("@revideo/core").SignalContext<number, number, this>>;
83
+ get endHandleAuto(): Signal<number, number, this, import("@revideo/core").SignalContext<number, number, this>>;
84
+ constructor(props: KnotProps);
85
+ points(): KnotInfo;
86
+ private getDefaultEndHandle;
87
+ private getDefaultStartHandle;
107
88
  }
108
- //# sourceMappingURL=Knot.d.ts.map
89
+ //# sourceMappingURL=Knot.d.ts.map
@@ -1,9 +1,9 @@
1
- import {SignalValue, SimpleSignal} from '@revideo/core';
2
- import {OptionList} from 'mathjax-full/js/util/Options';
3
- import {Img, ImgProps} from './Img';
1
+ import { SignalValue, SimpleSignal } from '@revideo/core';
2
+ import { OptionList } from 'mathjax-full/js/util/Options';
3
+ import { Img, ImgProps } from './Img';
4
4
  export interface LatexProps extends ImgProps {
5
- tex?: SignalValue<string>;
6
- renderProps?: SignalValue<OptionList>;
5
+ tex?: SignalValue<string>;
6
+ renderProps?: SignalValue<OptionList>;
7
7
  }
8
8
  /**
9
9
  * A node for rendering equations with LaTeX.
@@ -24,11 +24,11 @@ export interface LatexProps extends ImgProps {
24
24
  * ```
25
25
  */
26
26
  export declare class Latex extends Img {
27
- private static svgContentsPool;
28
- private readonly imageElement;
29
- readonly options: SimpleSignal<OptionList, this>;
30
- readonly tex: SimpleSignal<string, this>;
31
- constructor(props: LatexProps);
32
- protected image(): HTMLImageElement;
27
+ private static svgContentsPool;
28
+ private readonly imageElement;
29
+ readonly options: SimpleSignal<OptionList, this>;
30
+ readonly tex: SimpleSignal<string, this>;
31
+ constructor(props: LatexProps);
32
+ protected image(): HTMLImageElement;
33
33
  }
34
- //# sourceMappingURL=Latex.d.ts.map
34
+ //# sourceMappingURL=Latex.d.ts.map