remotion 3.1.5 → 3.1.8

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 (256) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/dist/Composition.js +1 -1
  3. package/dist/CompositionManager.d.ts +0 -6
  4. package/dist/Still.d.ts +1 -0
  5. package/dist/audio/Audio.d.ts +2 -2
  6. package/dist/audio/AudioForDevelopment.d.ts +2 -2
  7. package/dist/audio/AudioForRendering.d.ts +1 -1
  8. package/dist/audio/is-in-strict-mode.d.ts +1 -0
  9. package/dist/audio/is-in-strict-mode.js +12 -0
  10. package/dist/config/index.d.ts +6 -2
  11. package/dist/config/index.js +5 -0
  12. package/dist/config/log.d.ts +1 -1
  13. package/dist/config/loop.d.ts +3 -2
  14. package/dist/config/loop.js +10 -7
  15. package/dist/config/skip-n-frames.d.ts +2 -0
  16. package/dist/config/skip-n-frames.js +12 -0
  17. package/dist/config.d.ts +188 -0
  18. package/dist/config.js +21 -0
  19. package/dist/delay-render.js +4 -4
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.js +3 -2
  22. package/dist/internals.d.ts +10 -93
  23. package/dist/internals.js +3 -93
  24. package/dist/preload.d.ts +7 -0
  25. package/dist/preload.js +39 -0
  26. package/dist/spring/measure-spring.js +1 -1
  27. package/dist/validation/validate-fps.d.ts +1 -2
  28. package/dist/validation/validate-fps.js +3 -3
  29. package/dist/video/Video.d.ts +2 -2
  30. package/dist/video/VideoForDevelopment.d.ts +2 -2
  31. package/dist/video/VideoForRendering.d.ts +1 -1
  32. package/package.json +2 -2
  33. package/dist/AbsoluteFill.d.ts.map +0 -1
  34. package/dist/AbsoluteFill.js.map +0 -1
  35. package/dist/AssetRoot.d.ts +0 -11
  36. package/dist/AssetRoot.js +0 -38
  37. package/dist/Composition.d.ts.map +0 -1
  38. package/dist/Composition.js.map +0 -1
  39. package/dist/CompositionManager.d.ts.map +0 -1
  40. package/dist/CompositionManager.js.map +0 -1
  41. package/dist/IFrame.d.ts.map +0 -1
  42. package/dist/IFrame.js.map +0 -1
  43. package/dist/Img.d.ts.map +0 -1
  44. package/dist/Img.js.map +0 -1
  45. package/dist/RemotionRoot.d.ts.map +0 -1
  46. package/dist/RemotionRoot.js.map +0 -1
  47. package/dist/Still.d.ts.map +0 -1
  48. package/dist/Still.js.map +0 -1
  49. package/dist/TimelineRoot.d.ts +0 -5
  50. package/dist/TimelineRoot.js +0 -51
  51. package/dist/absolute-src.d.ts.map +0 -1
  52. package/dist/absolute-src.js.map +0 -1
  53. package/dist/asset-types.d.ts.map +0 -1
  54. package/dist/asset-types.js.map +0 -1
  55. package/dist/audio/Audio.d.ts.map +0 -1
  56. package/dist/audio/Audio.js.map +0 -1
  57. package/dist/audio/AudioForDevelopment.d.ts.map +0 -1
  58. package/dist/audio/AudioForDevelopment.js.map +0 -1
  59. package/dist/audio/AudioForRendering.d.ts.map +0 -1
  60. package/dist/audio/AudioForRendering.js.map +0 -1
  61. package/dist/audio/index.d.ts.map +0 -1
  62. package/dist/audio/index.js.map +0 -1
  63. package/dist/audio/props.d.ts.map +0 -1
  64. package/dist/audio/props.js.map +0 -1
  65. package/dist/audio/shared-audio-tags.d.ts.map +0 -1
  66. package/dist/audio/shared-audio-tags.js.map +0 -1
  67. package/dist/audio/use-audio-frame.d.ts.map +0 -1
  68. package/dist/audio/use-audio-frame.js.map +0 -1
  69. package/dist/bezier.d.ts.map +0 -1
  70. package/dist/bezier.js.map +0 -1
  71. package/dist/compress-assets.d.ts.map +0 -1
  72. package/dist/compress-assets.js.map +0 -1
  73. package/dist/config/browser-executable.d.ts.map +0 -1
  74. package/dist/config/browser-executable.js.map +0 -1
  75. package/dist/config/browser.d.ts.map +0 -1
  76. package/dist/config/browser.js.map +0 -1
  77. package/dist/config/chromium-flags.d.ts.map +0 -1
  78. package/dist/config/chromium-flags.js.map +0 -1
  79. package/dist/config/codec.d.ts.map +0 -1
  80. package/dist/config/codec.js.map +0 -1
  81. package/dist/config/concurrency.d.ts.map +0 -1
  82. package/dist/config/concurrency.js.map +0 -1
  83. package/dist/config/crf.d.ts.map +0 -1
  84. package/dist/config/crf.js.map +0 -1
  85. package/dist/config/env-file.d.ts.map +0 -1
  86. package/dist/config/env-file.js.map +0 -1
  87. package/dist/config/ffmpeg-executable.d.ts.map +0 -1
  88. package/dist/config/ffmpeg-executable.js.map +0 -1
  89. package/dist/config/frame-range.d.ts.map +0 -1
  90. package/dist/config/frame-range.js.map +0 -1
  91. package/dist/config/image-format.d.ts.map +0 -1
  92. package/dist/config/image-format.js.map +0 -1
  93. package/dist/config/image-sequence.d.ts.map +0 -1
  94. package/dist/config/image-sequence.js.map +0 -1
  95. package/dist/config/index.d.ts.map +0 -1
  96. package/dist/config/index.js.map +0 -1
  97. package/dist/config/input-props.d.ts.map +0 -1
  98. package/dist/config/input-props.js.map +0 -1
  99. package/dist/config/log.d.ts.map +0 -1
  100. package/dist/config/log.js.map +0 -1
  101. package/dist/config/max-timeline-tracks.d.ts.map +0 -1
  102. package/dist/config/max-timeline-tracks.js.map +0 -1
  103. package/dist/config/override-webpack.d.ts.map +0 -1
  104. package/dist/config/override-webpack.js.map +0 -1
  105. package/dist/config/overwrite.d.ts.map +0 -1
  106. package/dist/config/overwrite.js.map +0 -1
  107. package/dist/config/pixel-format.d.ts.map +0 -1
  108. package/dist/config/pixel-format.js.map +0 -1
  109. package/dist/config/preview-server.d.ts.map +0 -1
  110. package/dist/config/preview-server.js.map +0 -1
  111. package/dist/config/prores-profile.d.ts.map +0 -1
  112. package/dist/config/prores-profile.js.map +0 -1
  113. package/dist/config/quality.d.ts.map +0 -1
  114. package/dist/config/quality.js.map +0 -1
  115. package/dist/config/scale.d.ts.map +0 -1
  116. package/dist/config/scale.js.map +0 -1
  117. package/dist/config/still-frame.d.ts.map +0 -1
  118. package/dist/config/still-frame.js.map +0 -1
  119. package/dist/config/timeout.d.ts.map +0 -1
  120. package/dist/config/timeout.js.map +0 -1
  121. package/dist/config/webpack-caching.d.ts.map +0 -1
  122. package/dist/config/webpack-caching.js.map +0 -1
  123. package/dist/default-css.d.ts.map +0 -1
  124. package/dist/default-css.js.map +0 -1
  125. package/dist/delay-render.d.ts.map +0 -1
  126. package/dist/delay-render.js.map +0 -1
  127. package/dist/easing.d.ts.map +0 -1
  128. package/dist/easing.js.map +0 -1
  129. package/dist/feature-flags.d.ts.map +0 -1
  130. package/dist/feature-flags.js.map +0 -1
  131. package/dist/freeze.d.ts.map +0 -1
  132. package/dist/freeze.js.map +0 -1
  133. package/dist/get-asset-file-name.d.ts.map +0 -1
  134. package/dist/get-asset-file-name.js.map +0 -1
  135. package/dist/get-environment.d.ts.map +0 -1
  136. package/dist/get-environment.js.map +0 -1
  137. package/dist/get-preview-dom-element.d.ts.map +0 -1
  138. package/dist/get-preview-dom-element.js.map +0 -1
  139. package/dist/get-timeline-clip-name.d.ts.map +0 -1
  140. package/dist/get-timeline-clip-name.js.map +0 -1
  141. package/dist/index.d.ts.map +0 -1
  142. package/dist/index.js.map +0 -1
  143. package/dist/initial-frame.d.ts.map +0 -1
  144. package/dist/initial-frame.js.map +0 -1
  145. package/dist/internals.d.ts.map +0 -1
  146. package/dist/internals.js.map +0 -1
  147. package/dist/interpolate.d.ts.map +0 -1
  148. package/dist/interpolate.js.map +0 -1
  149. package/dist/interpolateColors.d.ts.map +0 -1
  150. package/dist/interpolateColors.js.map +0 -1
  151. package/dist/is-approximately-the-same.d.ts.map +0 -1
  152. package/dist/is-approximately-the-same.js.map +0 -1
  153. package/dist/is-audio-codec.d.ts.map +0 -1
  154. package/dist/is-audio-codec.js.map +0 -1
  155. package/dist/loop/index.d.ts.map +0 -1
  156. package/dist/loop/index.js.map +0 -1
  157. package/dist/multiple-versions-warning.d.ts.map +0 -1
  158. package/dist/multiple-versions-warning.js.map +0 -1
  159. package/dist/nonce.d.ts.map +0 -1
  160. package/dist/nonce.js.map +0 -1
  161. package/dist/perf/index.d.ts.map +0 -1
  162. package/dist/perf/index.js.map +0 -1
  163. package/dist/play-and-handle-not-allowed-error.d.ts.map +0 -1
  164. package/dist/play-and-handle-not-allowed-error.js.map +0 -1
  165. package/dist/random.d.ts.map +0 -1
  166. package/dist/random.js.map +0 -1
  167. package/dist/register-root.d.ts.map +0 -1
  168. package/dist/register-root.js.map +0 -1
  169. package/dist/sequencing/index.d.ts.map +0 -1
  170. package/dist/sequencing/index.js.map +0 -1
  171. package/dist/series/flatten-children.d.ts.map +0 -1
  172. package/dist/series/flatten-children.js.map +0 -1
  173. package/dist/series/index.d.ts.map +0 -1
  174. package/dist/series/index.js.map +0 -1
  175. package/dist/setup-env-variables.d.ts.map +0 -1
  176. package/dist/setup-env-variables.js.map +0 -1
  177. package/dist/spring/index.d.ts.map +0 -1
  178. package/dist/spring/index.js.map +0 -1
  179. package/dist/spring/measure-spring.d.ts.map +0 -1
  180. package/dist/spring/measure-spring.js.map +0 -1
  181. package/dist/spring/spring-utils.d.ts.map +0 -1
  182. package/dist/spring/spring-utils.js.map +0 -1
  183. package/dist/static-file.d.ts.map +0 -1
  184. package/dist/static-file.js.map +0 -1
  185. package/dist/timeline-inout-position-state.d.ts.map +0 -1
  186. package/dist/timeline-inout-position-state.js.map +0 -1
  187. package/dist/timeline-position-state.d.ts.map +0 -1
  188. package/dist/timeline-position-state.js.map +0 -1
  189. package/dist/timeout.d.ts.map +0 -1
  190. package/dist/timeout.js.map +0 -1
  191. package/dist/truthy.d.ts.map +0 -1
  192. package/dist/truthy.js.map +0 -1
  193. package/dist/use-frame.d.ts.map +0 -1
  194. package/dist/use-frame.js.map +0 -1
  195. package/dist/use-lazy-component.d.ts.map +0 -1
  196. package/dist/use-lazy-component.js.map +0 -1
  197. package/dist/use-media-in-timeline.d.ts.map +0 -1
  198. package/dist/use-media-in-timeline.js.map +0 -1
  199. package/dist/use-media-playback.d.ts.map +0 -1
  200. package/dist/use-media-playback.js.map +0 -1
  201. package/dist/use-media-tag-volume.d.ts.map +0 -1
  202. package/dist/use-media-tag-volume.js.map +0 -1
  203. package/dist/use-sync-volume-with-media-tag.d.ts.map +0 -1
  204. package/dist/use-sync-volume-with-media-tag.js.map +0 -1
  205. package/dist/use-unsafe-video-config.d.ts.map +0 -1
  206. package/dist/use-unsafe-video-config.js.map +0 -1
  207. package/dist/use-video-config.d.ts.map +0 -1
  208. package/dist/use-video-config.js.map +0 -1
  209. package/dist/use-video.d.ts.map +0 -1
  210. package/dist/use-video.js.map +0 -1
  211. package/dist/validate-media-props.d.ts.map +0 -1
  212. package/dist/validate-media-props.js.map +0 -1
  213. package/dist/validate-start-from-props.d.ts.map +0 -1
  214. package/dist/validate-start-from-props.js.map +0 -1
  215. package/dist/validation/validate-composition-id.d.ts.map +0 -1
  216. package/dist/validation/validate-composition-id.js.map +0 -1
  217. package/dist/validation/validate-concurrency.d.ts +0 -1
  218. package/dist/validation/validate-concurrency.js +0 -21
  219. package/dist/validation/validate-dimensions.d.ts.map +0 -1
  220. package/dist/validation/validate-dimensions.js.map +0 -1
  221. package/dist/validation/validate-duration-in-frames.d.ts.map +0 -1
  222. package/dist/validation/validate-duration-in-frames.js.map +0 -1
  223. package/dist/validation/validate-folder-name.d.ts.map +0 -1
  224. package/dist/validation/validate-folder-name.js.map +0 -1
  225. package/dist/validation/validate-fps.d.ts.map +0 -1
  226. package/dist/validation/validate-fps.js.map +0 -1
  227. package/dist/validation/validate-frame.d.ts.map +0 -1
  228. package/dist/validation/validate-frame.js.map +0 -1
  229. package/dist/validation/validate-image-format.d.ts.map +0 -1
  230. package/dist/validation/validate-image-format.js.map +0 -1
  231. package/dist/validation/validate-opengl-renderer.d.ts.map +0 -1
  232. package/dist/validation/validate-opengl-renderer.js.map +0 -1
  233. package/dist/validation/validate-quality.d.ts.map +0 -1
  234. package/dist/validation/validate-quality.js.map +0 -1
  235. package/dist/video/Video.d.ts.map +0 -1
  236. package/dist/video/Video.js.map +0 -1
  237. package/dist/video/VideoForDevelopment.d.ts.map +0 -1
  238. package/dist/video/VideoForDevelopment.js.map +0 -1
  239. package/dist/video/VideoForRendering.d.ts.map +0 -1
  240. package/dist/video/VideoForRendering.js.map +0 -1
  241. package/dist/video/get-current-time.d.ts.map +0 -1
  242. package/dist/video/get-current-time.js.map +0 -1
  243. package/dist/video/index.d.ts.map +0 -1
  244. package/dist/video/index.js.map +0 -1
  245. package/dist/video/props.d.ts.map +0 -1
  246. package/dist/video/props.js.map +0 -1
  247. package/dist/video-config.d.ts.map +0 -1
  248. package/dist/video-config.js.map +0 -1
  249. package/dist/volume-position-state.d.ts.map +0 -1
  250. package/dist/volume-position-state.js.map +0 -1
  251. package/dist/volume-prop.d.ts.map +0 -1
  252. package/dist/volume-prop.js.map +0 -1
  253. package/dist/warn-about-non-seekable-media.d.ts.map +0 -1
  254. package/dist/warn-about-non-seekable-media.js.map +0 -1
  255. package/dist/wrap-remotion-context.d.ts.map +0 -1
  256. package/dist/wrap-remotion-context.js.map +0 -1
@@ -1,5 +1,5 @@
1
- remotion:build: cache hit, replaying output f4a8add76c4ff7cc
2
- remotion:build: 
3
- remotion:build: > remotion@3.1.4 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output b86d125ecf8c75ad
2
+ remotion:build: 
3
+ remotion:build: > remotion@3.1.7 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -49,7 +49,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, .
49
49
  (0, validate_dimensions_1.validateDimension)(width, 'width', 'of the <Composition/> component');
50
50
  (0, validate_dimensions_1.validateDimension)(height, 'height', 'of the <Composition/> component');
51
51
  (0, validate_duration_in_frames_1.validateDurationInFrames)(durationInFrames, 'of the <Composition/> component');
52
- (0, validate_fps_1.validateFps)(fps, 'as a prop of the <Composition/> component', null);
52
+ (0, validate_fps_1.validateFps)(fps, 'as a prop of the <Composition/> component', false);
53
53
  registerComposition({
54
54
  durationInFrames,
55
55
  fps,
@@ -50,12 +50,6 @@ export declare type TAsset = {
50
50
  mediaFrame: number;
51
51
  playbackRate: number;
52
52
  };
53
- export declare type RenderAssetInfo = {
54
- assets: TAsset[][];
55
- imageSequenceName: string;
56
- downloadDir: string;
57
- firstFrameIndex: number;
58
- };
59
53
  export declare type CompositionManagerContext = {
60
54
  compositions: TComposition[];
61
55
  registerComposition: <T>(comp: TComposition<T>) => void;
package/dist/Still.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import type { StillProps } from './Composition';
2
3
  export declare const Still: <T>(props: StillProps<T>) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { RemotionMainAudioProps } from './props';
3
- export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
3
+ export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
6
+ } & RemotionMainAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "property" | "key" | "is" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "autoPlay" | "controls" | "loop"> & {
2
+ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
3
3
  volume?: import("../volume-prop").VolumeProp | undefined;
4
4
  playbackRate?: number | undefined;
5
5
  } & {
6
6
  shouldPreMountAudioTags: boolean;
7
- }, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
7
+ }, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "property" | "key" | "is" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { RemotionAudioProps } from './props';
3
- export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key"> & React.RefAttributes<HTMLAudioElement>>;
3
+ export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "property" | "key" | "is" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLAudioElement>>;
@@ -0,0 +1 @@
1
+ export declare const useIsInStrictMode: () => void;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useIsInStrictMode = void 0;
4
+ const react_1 = require("react");
5
+ const useIsInStrictMode = () => {
6
+ const state = (0, react_1.useRef)(1);
7
+ (0, react_1.useState)(() => {
8
+ state.current++;
9
+ });
10
+ console.log(state);
11
+ };
12
+ exports.useIsInStrictMode = useIsInStrictMode;
@@ -99,7 +99,7 @@ export declare const Config: {
99
99
  /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
100
100
  * PNG is slower, but supports transparency.
101
101
  */
102
- readonly setImageFormat: (format: "none" | "png" | "jpeg") => void;
102
+ readonly setImageFormat: (format: "png" | "jpeg" | "none") => void;
103
103
  /**
104
104
  * Render only a subset of a video.
105
105
  * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
@@ -135,6 +135,10 @@ export declare const Config: {
135
135
  readonly setNumberOfGifLoops: (newLoop: import("./number-of-gif-loops").Loop) => void;
136
136
  };
137
137
  readonly Output: {
138
+ /**
139
+ * Set the output file location string. Default: `out/video.mp4`
140
+ */
141
+ readonly setOutputLocation: (newOutputLocation: string) => void;
138
142
  /**
139
143
  * If the video file already exists, should Remotion overwrite
140
144
  * the output? Default: true
@@ -172,7 +176,7 @@ export declare const Config: {
172
176
  * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
173
177
  * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
174
178
  */
175
- readonly setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
179
+ readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
176
180
  };
177
181
  };
178
182
  export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, StillImageFormat, };
@@ -15,6 +15,7 @@ const image_sequence_1 = require("./image-sequence");
15
15
  const log_1 = require("./log");
16
16
  const max_timeline_tracks_1 = require("./max-timeline-tracks");
17
17
  const number_of_gif_loops_1 = require("./number-of-gif-loops");
18
+ const output_location_1 = require("./output-location");
18
19
  const override_webpack_1 = require("./override-webpack");
19
20
  const overwrite_1 = require("./overwrite");
20
21
  const pixel_format_1 = require("./pixel-format");
@@ -151,6 +152,10 @@ exports.Config = {
151
152
  setNumberOfGifLoops: number_of_gif_loops_1.setNumberOfGifLoops,
152
153
  },
153
154
  Output: {
155
+ /**
156
+ * Set the output file location string. Default: `out/video.mp4`
157
+ */
158
+ setOutputLocation: output_location_1.setOutputLocation,
154
159
  /**
155
160
  * If the video file already exists, should Remotion overwrite
156
161
  * the output? Default: true
@@ -1,7 +1,7 @@
1
1
  export declare const logLevels: readonly ["verbose", "info", "warn", "error"];
2
2
  export declare type LogLevel = typeof logLevels[number];
3
3
  export declare const DEFAULT_LOG_LEVEL: LogLevel;
4
- export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
4
+ export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn";
5
5
  export declare const setLogLevel: (newLogLevel: LogLevel) => void;
6
6
  export declare const isValidLogLevel: (level: string) => boolean;
7
7
  export declare const isEqualOrBelowLogLevel: (currentLevel: LogLevel, level: LogLevel) => boolean;
@@ -1,3 +1,4 @@
1
+ import type { Codec } from './codec';
1
2
  export declare type Loop = number | null;
2
- export declare const setLoop: (newLoop: Loop) => void;
3
- export declare const getLoop: () => Loop;
3
+ export declare const setNumberOfGifLoops: (newLoop: Loop | null) => void;
4
+ export declare const getAndValidateNumberOfGifLoops: (codec: Codec) => Loop;
@@ -1,15 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getLoop = exports.setLoop = void 0;
3
+ exports.getAndValidateNumberOfGifLoops = exports.setNumberOfGifLoops = void 0;
4
4
  let currentLoop = null;
5
- const setLoop = (newLoop) => {
6
- if (typeof newLoop !== 'number') {
7
- throw new Error('--loop flag must be a number.');
5
+ const setNumberOfGifLoops = (newLoop) => {
6
+ if (newLoop !== null && typeof newLoop !== 'number') {
7
+ throw new Error('--number-of-gif-loops flag must be a number.');
8
8
  }
9
9
  currentLoop = newLoop;
10
10
  };
11
- exports.setLoop = setLoop;
12
- const getLoop = () => {
11
+ exports.setNumberOfGifLoops = setNumberOfGifLoops;
12
+ const getAndValidateNumberOfGifLoops = (codec) => {
13
+ if (codec !== 'gif') {
14
+ throw new Error(`The "numberOfGifLoops" setting can only be used for GIFs. The codec is set to ${codec}`);
15
+ }
13
16
  return currentLoop;
14
17
  };
15
- exports.getLoop = getLoop;
18
+ exports.getAndValidateNumberOfGifLoops = getAndValidateNumberOfGifLoops;
@@ -0,0 +1,2 @@
1
+ export declare const setSkipNFrames: (frame: number) => void;
2
+ export declare const getSkipNFrames: () => number;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getSkipNFrames = exports.setSkipNFrames = void 0;
4
+ const validate_frame_1 = require("../validation/validate-frame");
5
+ let skipNFrames = 0;
6
+ const setSkipNFrames = (frame) => {
7
+ (0, validate_frame_1.validateFrame)(frame, Infinity);
8
+ skipNFrames = frame;
9
+ };
10
+ exports.setSkipNFrames = setSkipNFrames;
11
+ const getSkipNFrames = () => skipNFrames;
12
+ exports.getSkipNFrames = getSkipNFrames;
@@ -0,0 +1,188 @@
1
+ /**
2
+ * The configuration has moved to @remotion/cli.
3
+ * For the moment the type definitions are going to stay here
4
+ */
5
+ declare type Concurrency = number | null;
6
+ import type { Configuration } from 'webpack';
7
+ declare type WebpackConfiguration = Configuration;
8
+ declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
9
+ declare type BrowserExecutable = string | null;
10
+ declare type FrameRange = number | [number, number];
11
+ declare type FfmpegExecutable = string | null;
12
+ declare type Loop = number | null;
13
+ declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
14
+ declare type Crf = number | undefined;
15
+ export declare type ConfigType = {
16
+ readonly Preview: {
17
+ /**
18
+ * Change the maximum amount of tracks that are shown in the timeline.
19
+ * @param maxTracks The maximum amount of timeline tracks that you would like to show.
20
+ * @default 15
21
+ */
22
+ readonly setMaxTimelineTracks: (maxTracks: number) => void;
23
+ };
24
+ readonly Bundling: {
25
+ /**
26
+ * Pass in a function which takes the current Webpack config
27
+ * and return a modified Webpack configuration.
28
+ * Docs: http://remotion.dev/docs/webpack
29
+ */
30
+ readonly overrideWebpackConfig: (fn: WebpackOverrideFn) => void;
31
+ /**
32
+ * Whether Webpack bundles should be cached to make
33
+ * subsequent renders faster. Default: true
34
+ */
35
+ readonly setCachingEnabled: (flag: boolean) => void;
36
+ /**
37
+ * Define on which port Remotion should start it's HTTP servers during preview and rendering.
38
+ * By default, Remotion will try to find a free port.
39
+ * If you specify a port, but it's not available, Remotion will throw an error.
40
+ */
41
+ readonly setPort: (port: number | undefined) => void;
42
+ };
43
+ readonly Log: {
44
+ /**
45
+ * Set the log level.
46
+ * Acceptable values: 'error' | 'warning' | 'info' | 'verbose'
47
+ * Default value: 'info'
48
+ *
49
+ * Set this to 'verbose' to get browser logs and other IO.
50
+ */
51
+ readonly setLevel: (newLogLevel: 'verbose' | 'info' | 'warn' | 'error') => void;
52
+ };
53
+ readonly Puppeteer: {
54
+ /**
55
+ * Specify executable path for the browser to use.
56
+ * Default: null, which will make Remotion find or download a version of said browser.
57
+ */
58
+ readonly setBrowserExecutable: (newBrowserExecutablePath: BrowserExecutable) => void;
59
+ /**
60
+ * Set how many milliseconds a frame may take to render before it times out.
61
+ * Default: `30000`
62
+ */
63
+ readonly setTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
64
+ /**
65
+ * Setting deciding whether to disable CORS and other Chrome security features.
66
+ * Default: false
67
+ */
68
+ readonly setChromiumDisableWebSecurity: (should: boolean) => void;
69
+ /**
70
+ * Setting whether to ignore any invalid SSL certificates, such as self-signed ones.
71
+ * Default: false
72
+ */
73
+ readonly setChromiumIgnoreCertificateErrors: (should: boolean) => void;
74
+ /**
75
+ * If false, will open an actual browser during rendering to observe progress.
76
+ * Default: true
77
+ */
78
+ readonly setChromiumHeadlessMode: (should: boolean) => void;
79
+ /**
80
+ * Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle', 'swiftshader' and 'swangle'.
81
+ * Default: 'swangle' in Lambda, null elsewhere.
82
+ */
83
+ readonly setChromiumOpenGlRenderer: (renderer: 'swangle' | 'angle' | 'egl' | 'swiftshader') => void;
84
+ };
85
+ readonly Rendering: {
86
+ /**
87
+ * Set a custom location for a .env file.
88
+ * Default: `.env`
89
+ */
90
+ readonly setDotEnvLocation: (file: string) => void;
91
+ /**
92
+ * Sets how many Puppeteer instances will work on rendering your video in parallel.
93
+ * Default: `null`, meaning half of the threads available on your CPU.
94
+ */
95
+ readonly setConcurrency: (newConcurrency: Concurrency) => void;
96
+ /**
97
+ * Set the JPEG quality for the frames.
98
+ * Must be between 0 and 100.
99
+ * Must be between 0 and 100.
100
+ * Default: 80
101
+ */
102
+ readonly setQuality: (q: number | undefined) => void;
103
+ /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
104
+ * PNG is slower, but supports transparency.
105
+ */
106
+ readonly setImageFormat: (format: 'png' | 'jpeg' | 'none') => void;
107
+ /**
108
+ * Render only a subset of a video.
109
+ * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
110
+ * Pass in a single number `20` to only render a single frame as an image.
111
+ * The frame count starts at 0.
112
+ */
113
+ readonly setFrameRange: (newFrameRange: FrameRange | null) => void;
114
+ /**
115
+ * Specify local ffmpeg executable.
116
+ * Default: null, which will use ffmpeg available in PATH.
117
+ */
118
+ readonly setFfmpegExecutable: (ffmpegPath: FfmpegExecutable) => void;
119
+ /**
120
+ * Specify local ffprobe executable.
121
+ * Default: null, which will use ffprobe available in PATH.
122
+ */
123
+ readonly setFfprobeExecutable: (ffprobePath: FfmpegExecutable) => void;
124
+ /**
125
+ * Scales the output dimensions by a factor.
126
+ * Default: 1.
127
+ */
128
+ readonly setScale: (newScale: number) => void;
129
+ /**
130
+ * Specify which frames should be picked for rendering a GIF
131
+ * Default: 1, which means every frame
132
+ * https://remotion.dev/docs/render-as-gif
133
+ */
134
+ readonly setEveryNthFrame: (frame: number) => void;
135
+ /**
136
+ * Specify the number of Loop a GIF should have.
137
+ * Default: null (means GIF will loop infinite)
138
+ */
139
+ readonly setNumberOfGifLoops: (newLoop: Loop) => void;
140
+ };
141
+ readonly Output: {
142
+ /**
143
+ * Set the output file location string. Default: `out/{composition}.{codec}`
144
+ */
145
+ readonly setOutputLocation: (newOutputLocation: string) => void;
146
+ /**
147
+ * If the video file already exists, should Remotion overwrite
148
+ * the output? Default: true
149
+ */
150
+ readonly setOverwriteOutput: (newOverwrite: boolean) => void;
151
+ /**
152
+ * Sets the pixel format in FFMPEG.
153
+ * See https://trac.ffmpeg.org/wiki/Chroma%20Subsampling for an explanation.
154
+ * You can override this using the `--pixel-format` Cli flag.
155
+ */
156
+ readonly setPixelFormat: (format: 'yuv420p' | 'yuva420p' | 'yuv422p' | 'yuv444p' | 'yuv420p10le' | 'yuv422p10le' | 'yuv444p10le' | 'yuva444p10le') => void;
157
+ /**
158
+ * @deprecated Use setCodec() and setImageSequence() instead.
159
+ * Specify what kind of output you, either `mp4` or `png-sequence`.
160
+ */
161
+ readonly setOutputFormat: (newLegacyFormat: 'mp4' | 'png-sequence') => void;
162
+ /**
163
+ * Specify the codec for stitching the frames into a video.
164
+ * Can be `h264` (default), `h265`, `vp8` or `vp9`
165
+ */
166
+ readonly setCodec: (newCodec: CodecOrUndefined) => void;
167
+ /**
168
+ * Set the Constant Rate Factor to pass to FFMPEG.
169
+ * Lower values mean better quality, but be aware that the ranges of
170
+ * possible values greatly differs between codecs.
171
+ */
172
+ readonly setCrf: (newCrf: Crf) => void;
173
+ /**
174
+ * Set to true if don't want a video but an image sequence as the output.
175
+ */
176
+ readonly setImageSequence: (newImageSequence: boolean) => void;
177
+ /**
178
+ * Set the ProRes profile.
179
+ * This method is only valid if the codec has been set to 'prores'.
180
+ * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
181
+ * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
182
+ */
183
+ readonly setProResProfile: (profile: '4444-xq' | '4444' | 'hq' | 'standard' | 'light' | 'proxy' | undefined) => void;
184
+ };
185
+ };
186
+ export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
187
+ export declare const Config: ConfigType;
188
+ export declare const enableLegacyRemotionConfig: () => void;
package/dist/config.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ /**
3
+ * The configuration has moved to @remotion/cli.
4
+ * For the moment the type definitions are going to stay here
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.enableLegacyRemotionConfig = exports.Config = void 0;
8
+ const conf = {};
9
+ let enabled = false;
10
+ exports.Config = new Proxy(conf, {
11
+ get(target, prop, receiver) {
12
+ if (!enabled) {
13
+ throw new Error('To use the Remotion config file, you need to have @remotion/cli installed.\n- Make sure that all versions of Remotion are the same.\n- Make sure that @remotion/cli is installed.\n- Make sure Config is imported from "@remotion/cli", not "remotion".');
14
+ }
15
+ return Reflect.get(target, prop, receiver);
16
+ },
17
+ });
18
+ const enableLegacyRemotionConfig = () => {
19
+ enabled = true;
20
+ };
21
+ exports.enableLegacyRemotionConfig = enableLegacyRemotionConfig;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.continueRender = exports.delayRender = exports.DELAY_RENDER_CALLSTACK_TOKEN = void 0;
4
4
  const get_environment_1 = require("./get-environment");
5
- const timeout_1 = require("./timeout");
6
5
  const truthy_1 = require("./truthy");
7
6
  if (typeof window !== 'undefined') {
8
7
  window.ready = false;
@@ -10,6 +9,7 @@ if (typeof window !== 'undefined') {
10
9
  let handles = [];
11
10
  const timeouts = {};
12
11
  exports.DELAY_RENDER_CALLSTACK_TOKEN = 'The delayRender was called:';
12
+ const defaultTimeout = 30000;
13
13
  /**
14
14
  * Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
15
15
  * @param label _optional_ A label to identify the call in case it does time out.
@@ -17,7 +17,7 @@ exports.DELAY_RENDER_CALLSTACK_TOKEN = 'The delayRender was called:';
17
17
  * @link https://www.remotion.dev/docs/delay-render
18
18
  */
19
19
  const delayRender = (label) => {
20
- var _a, _b;
20
+ var _a, _b, _c;
21
21
  if (typeof label !== 'string' && typeof label !== 'undefined') {
22
22
  throw new Error('The label parameter of delayRender() must be a string or undefined, got: ' +
23
23
  JSON.stringify(label));
@@ -27,8 +27,8 @@ const delayRender = (label) => {
27
27
  const called = (_b = (_a = Error().stack) === null || _a === void 0 ? void 0 : _a.replace(/^Error/g, '')) !== null && _b !== void 0 ? _b : '';
28
28
  if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
29
29
  const timeoutToUse = typeof window === 'undefined'
30
- ? timeout_1.DEFAULT_PUPPETEER_TIMEOUT
31
- : window.remotion_puppeteerTimeout - 2000;
30
+ ? defaultTimeout
31
+ : ((_c = window.remotion_puppeteerTimeout) !== null && _c !== void 0 ? _c : defaultTimeout) - 2000;
32
32
  timeouts[handle] = setTimeout(() => {
33
33
  const message = [
34
34
  `A delayRender()`,
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ export * from './AbsoluteFill';
35
35
  export * from './audio';
36
36
  export * from './Composition';
37
37
  export { SmallTCompMetadata, TAsset, TCompMetadata } from './CompositionManager';
38
- export * from './config';
38
+ export { Config, ConfigType } from './config';
39
39
  export { getInputProps } from './config/input-props';
40
40
  export * from './delay-render';
41
41
  export * from './easing';
package/dist/index.js CHANGED
@@ -14,14 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.useCurrentFrame = exports.staticFile = exports.Series = exports.Sequence = exports.registerRoot = exports.Loop = exports.interpolateColors = exports.getInputProps = void 0;
17
+ exports.useCurrentFrame = exports.staticFile = exports.Series = exports.Sequence = exports.registerRoot = exports.Loop = exports.interpolateColors = exports.getInputProps = exports.Config = void 0;
18
18
  require("./asset-types");
19
19
  const multiple_versions_warning_1 = require("./multiple-versions-warning");
20
20
  (0, multiple_versions_warning_1.checkMultipleRemotionVersions)();
21
21
  __exportStar(require("./AbsoluteFill"), exports);
22
22
  __exportStar(require("./audio"), exports);
23
23
  __exportStar(require("./Composition"), exports);
24
- __exportStar(require("./config"), exports);
24
+ var config_1 = require("./config");
25
+ Object.defineProperty(exports, "Config", { enumerable: true, get: function () { return config_1.Config; } });
25
26
  var input_props_1 = require("./config/input-props");
26
27
  Object.defineProperty(exports, "getInputProps", { enumerable: true, get: function () { return input_props_1.getInputProps; } });
27
28
  __exportStar(require("./delay-render"), exports);