@remotion/renderer 4.0.357 → 4.0.360

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 (654) hide show
  1. package/dist/render-frames.js +1 -1
  2. package/dist/test/actual-concurrency.test.d.ts +1 -0
  3. package/dist/test/artifacts.test.d.ts +1 -0
  4. package/dist/test/asset-calculation.test.d.ts +1 -0
  5. package/dist/test/asset-compression.test.d.ts +1 -0
  6. package/dist/test/avoid-ffmpeg-stackoverflow.test.d.ts +1 -0
  7. package/dist/test/browser-log-message.test.d.ts +1 -0
  8. package/dist/test/calculate-atempo.test.d.ts +1 -0
  9. package/dist/test/compositor-rust.test.d.ts +1 -0
  10. package/dist/test/crf.test.d.ts +1 -0
  11. package/dist/test/derive-codec-from-file-extension.test.d.ts +1 -0
  12. package/dist/test/dont-skip-assets.test.d.ts +1 -0
  13. package/dist/test/download-file.test.d.ts +1 -0
  14. package/dist/test/even-dimensions.test.d.ts +1 -0
  15. package/dist/test/extra-frames-to-capture.test.d.ts +1 -0
  16. package/dist/test/extract-audio.test.d.ts +1 -0
  17. package/dist/test/extract-frame-rust.test.d.ts +1 -0
  18. package/dist/test/ffmpeg-filters.test.d.ts +1 -0
  19. package/dist/test/ffmpeg-merge-filter.test.d.ts +1 -0
  20. package/dist/test/ffmpeg-volume-expression.test.d.ts +1 -0
  21. package/dist/test/file-extension.test.d.ts +1 -0
  22. package/dist/test/find-closest-package-json.test.d.ts +1 -0
  23. package/dist/test/flatten-volume-array.test.d.ts +1 -0
  24. package/dist/test/format-logs.test.d.ts +1 -0
  25. package/dist/test/frame-padded-index.test.d.ts +1 -0
  26. package/dist/test/frame.test.d.ts +1 -0
  27. package/dist/test/get-assets-for-markup.d.ts +8 -0
  28. package/dist/test/get-audio-channels.test.d.ts +1 -0
  29. package/dist/test/get-bundle-url-from-serve-url.test.d.ts +1 -0
  30. package/dist/test/get-silent-parts.test.d.ts +1 -0
  31. package/dist/test/guess-extension-for-media.test.d.ts +1 -0
  32. package/dist/test/handle-weird-file-names.test.d.ts +1 -0
  33. package/dist/test/log-level.test.d.ts +1 -0
  34. package/dist/test/mime-types.test.d.ts +1 -0
  35. package/dist/test/offthread-extract-url.test.d.ts +1 -0
  36. package/dist/test/parse-ffmpeg-progress.test.d.ts +1 -0
  37. package/dist/test/partitions.test.d.ts +1 -0
  38. package/dist/test/pixel-format.test.d.ts +1 -0
  39. package/dist/test/port-config.test.d.ts +1 -0
  40. package/dist/test/port-selection.test.d.ts +1 -0
  41. package/dist/test/prores-profile.test.d.ts +1 -0
  42. package/dist/test/render-still.test.d.ts +1 -0
  43. package/dist/test/rust-errors.test.d.ts +1 -0
  44. package/dist/test/rust-get-video-metadata.test.d.ts +1 -0
  45. package/dist/test/rust-memory-usage.test.d.ts +1 -0
  46. package/dist/test/sanitize-file-path.test.d.ts +1 -0
  47. package/dist/test/serve-url.test.d.ts +1 -0
  48. package/dist/test/symbolicate-remote-stack.test.d.ts +1 -0
  49. package/dist/test/validate-concurrency.test.d.ts +1 -0
  50. package/dist/test/validate-config-stitcher.test.d.ts +1 -0
  51. package/dist/test/validate-config.test.d.ts +1 -0
  52. package/dist/test/validate-even-dimensions-with-codec.test.d.ts +1 -0
  53. package/dist/test/validate-image-format.test.d.ts +1 -0
  54. package/dist/test/webpack-to-serve-url.test.d.ts +1 -0
  55. package/ensure-browser.mjs +18 -18
  56. package/package/dist/assets/apply-tone-frequency.d.ts +11 -0
  57. package/package/dist/assets/apply-tone-frequency.js +34 -0
  58. package/package/dist/assets/calculate-asset-positions.d.ts +3 -0
  59. package/package/dist/assets/calculate-asset-positions.js +72 -0
  60. package/package/dist/assets/calculate-atempo.d.ts +1 -0
  61. package/package/dist/assets/calculate-atempo.js +16 -0
  62. package/package/dist/assets/convert-assets-to-file-urls.d.ts +13 -0
  63. package/package/dist/assets/convert-assets-to-file-urls.js +36 -0
  64. package/package/dist/assets/download-and-map-assets-to-file.d.ts +37 -0
  65. package/package/dist/assets/download-and-map-assets-to-file.js +312 -0
  66. package/package/dist/assets/download-file.d.ts +18 -0
  67. package/package/dist/assets/download-file.js +135 -0
  68. package/package/dist/assets/download-map.d.ts +55 -0
  69. package/package/dist/assets/download-map.js +63 -0
  70. package/package/dist/assets/ffmpeg-volume-expression.d.ts +12 -0
  71. package/package/dist/assets/ffmpeg-volume-expression.js +96 -0
  72. package/package/dist/assets/flatten-volume-array.d.ts +3 -0
  73. package/package/dist/assets/flatten-volume-array.js +26 -0
  74. package/package/dist/assets/get-audio-channels.d.ts +20 -0
  75. package/package/dist/assets/get-audio-channels.js +78 -0
  76. package/package/dist/assets/inline-audio-mixing.d.ts +22 -0
  77. package/package/dist/assets/inline-audio-mixing.js +189 -0
  78. package/package/dist/assets/read-file.d.ts +7 -0
  79. package/package/dist/assets/read-file.js +97 -0
  80. package/package/dist/assets/round-volume-to-avoid-stack-overflow.d.ts +1 -0
  81. package/package/dist/assets/round-volume-to-avoid-stack-overflow.js +17 -0
  82. package/package/dist/assets/sanitize-filename.d.ts +1 -0
  83. package/package/dist/assets/sanitize-filename.js +58 -0
  84. package/package/dist/assets/sanitize-filepath.d.ts +1 -0
  85. package/package/dist/assets/sanitize-filepath.js +16 -0
  86. package/package/dist/assets/truncate-utf8-bytes.d.ts +1 -0
  87. package/package/dist/assets/truncate-utf8-bytes.js +36 -0
  88. package/package/dist/assets/types.d.ts +18 -0
  89. package/package/dist/assets/types.js +21 -0
  90. package/package/dist/browser/Browser.d.ts +97 -0
  91. package/package/dist/browser/Browser.js +246 -0
  92. package/package/dist/browser/BrowserFetcher.d.ts +33 -0
  93. package/package/dist/browser/BrowserFetcher.js +215 -0
  94. package/package/dist/browser/BrowserPage.d.ts +104 -0
  95. package/package/dist/browser/BrowserPage.js +436 -0
  96. package/package/dist/browser/BrowserRunner.d.ts +33 -0
  97. package/package/dist/browser/BrowserRunner.js +303 -0
  98. package/package/dist/browser/Connection.d.ts +49 -0
  99. package/package/dist/browser/Connection.js +258 -0
  100. package/package/dist/browser/ConsoleMessage.d.ts +42 -0
  101. package/package/dist/browser/ConsoleMessage.js +47 -0
  102. package/package/dist/browser/DOMWorld.d.ts +56 -0
  103. package/package/dist/browser/DOMWorld.js +272 -0
  104. package/package/dist/browser/Errors.d.ts +25 -0
  105. package/package/dist/browser/Errors.js +35 -0
  106. package/package/dist/browser/EvalTypes.d.ts +27 -0
  107. package/package/dist/browser/EvalTypes.js +17 -0
  108. package/package/dist/browser/EventEmitter.d.ts +23 -0
  109. package/package/dist/browser/EventEmitter.js +53 -0
  110. package/package/dist/browser/ExecutionContext.d.ts +34 -0
  111. package/package/dist/browser/ExecutionContext.js +174 -0
  112. package/package/dist/browser/FrameManager.d.ts +89 -0
  113. package/package/dist/browser/FrameManager.js +487 -0
  114. package/package/dist/browser/HTTPRequest.d.ts +29 -0
  115. package/package/dist/browser/HTTPRequest.js +39 -0
  116. package/package/dist/browser/HTTPResponse.d.ts +21 -0
  117. package/package/dist/browser/HTTPResponse.js +41 -0
  118. package/package/dist/browser/JSHandle.d.ts +35 -0
  119. package/package/dist/browser/JSHandle.js +90 -0
  120. package/package/dist/browser/LaunchOptions.d.ts +26 -0
  121. package/package/dist/browser/LaunchOptions.js +17 -0
  122. package/package/dist/browser/Launcher.d.ts +18 -0
  123. package/package/dist/browser/Launcher.js +41 -0
  124. package/package/dist/browser/LifecycleWatcher.d.ts +29 -0
  125. package/package/dist/browser/LifecycleWatcher.js +180 -0
  126. package/package/dist/browser/NetworkEventManager.d.ts +34 -0
  127. package/package/dist/browser/NetworkEventManager.js +85 -0
  128. package/package/dist/browser/NetworkManager.d.ts +37 -0
  129. package/package/dist/browser/NetworkManager.js +246 -0
  130. package/package/dist/browser/NodeWebSocketTransport.d.ts +19 -0
  131. package/package/dist/browser/NodeWebSocketTransport.js +81 -0
  132. package/package/dist/browser/PuppeteerViewport.d.ts +5 -0
  133. package/package/dist/browser/PuppeteerViewport.js +2 -0
  134. package/package/dist/browser/ScreenshotOptions.d.ts +0 -0
  135. package/package/dist/browser/ScreenshotOptions.js +1 -0
  136. package/package/dist/browser/Target.d.ts +72 -0
  137. package/package/dist/browser/Target.js +161 -0
  138. package/package/dist/browser/TaskQueue.d.ts +20 -0
  139. package/package/dist/browser/TaskQueue.js +47 -0
  140. package/package/dist/browser/TimeoutSettings.d.ts +24 -0
  141. package/package/dist/browser/TimeoutSettings.js +62 -0
  142. package/package/dist/browser/assert.d.ts +1 -0
  143. package/package/dist/browser/assert.js +9 -0
  144. package/package/dist/browser/browser-download-progress-bar.d.ts +7 -0
  145. package/package/dist/browser/browser-download-progress-bar.js +31 -0
  146. package/package/dist/browser/devtools-commands.d.ts +274 -0
  147. package/package/dist/browser/devtools-commands.js +2 -0
  148. package/package/dist/browser/devtools-types.d.ts +1263 -0
  149. package/package/dist/browser/devtools-types.js +2 -0
  150. package/package/dist/browser/flaky-errors.d.ts +2 -0
  151. package/package/dist/browser/flaky-errors.js +20 -0
  152. package/package/dist/browser/get-download-destination.d.ts +1 -0
  153. package/package/dist/browser/get-download-destination.js +38 -0
  154. package/package/dist/browser/handle-failed-resource.d.ts +10 -0
  155. package/package/dist/browser/handle-failed-resource.js +21 -0
  156. package/package/dist/browser/mitt/index.d.ts +22 -0
  157. package/package/dist/browser/mitt/index.js +49 -0
  158. package/package/dist/browser/should-log-message.d.ts +24 -0
  159. package/package/dist/browser/should-log-message.js +104 -0
  160. package/package/dist/browser/source-map-getter.d.ts +2 -0
  161. package/package/dist/browser/source-map-getter.js +2 -0
  162. package/package/dist/browser/util.d.ts +37 -0
  163. package/package/dist/browser/util.js +169 -0
  164. package/package/dist/browser-executable.d.ts +1 -0
  165. package/package/dist/browser-executable.js +2 -0
  166. package/package/dist/browser-log.d.ts +6 -0
  167. package/package/dist/browser-log.js +2 -0
  168. package/package/dist/browser.d.ts +2 -0
  169. package/package/dist/browser.js +4 -0
  170. package/package/dist/call-ffmpeg.d.ts +22 -0
  171. package/package/dist/call-ffmpeg.js +53 -0
  172. package/package/dist/can-concat-seamlessly.d.ts +4 -0
  173. package/package/dist/can-concat-seamlessly.js +17 -0
  174. package/package/dist/can-use-parallel-encoding.d.ts +3 -0
  175. package/package/dist/can-use-parallel-encoding.js +19 -0
  176. package/package/dist/chalk/index.d.ts +55 -0
  177. package/package/dist/chalk/index.js +130 -0
  178. package/package/dist/chalk/is-color-supported.d.ts +1 -0
  179. package/package/dist/chalk/is-color-supported.js +55 -0
  180. package/package/dist/check-version-requirements.d.ts +3 -0
  181. package/package/dist/check-version-requirements.js +82 -0
  182. package/package/dist/chunk.d.ts +1 -0
  183. package/package/dist/chunk.js +11 -0
  184. package/package/dist/client.d.ts +3016 -0
  185. package/package/dist/client.js +57 -0
  186. package/package/dist/codec-supports-media.d.ts +9 -0
  187. package/package/dist/codec-supports-media.js +76 -0
  188. package/package/dist/codec.d.ts +4 -0
  189. package/package/dist/codec.js +17 -0
  190. package/package/dist/collect-assets.d.ts +7 -0
  191. package/package/dist/collect-assets.js +38 -0
  192. package/package/dist/combine-audio.d.ts +21 -0
  193. package/package/dist/combine-audio.js +183 -0
  194. package/package/dist/combine-chunks.d.ts +39 -0
  195. package/package/dist/combine-chunks.js +171 -0
  196. package/package/dist/combine-video-streams-seamlessly.d.ts +3 -0
  197. package/package/dist/combine-video-streams-seamlessly.js +8 -0
  198. package/package/dist/combine-video-streams.d.ts +17 -0
  199. package/package/dist/combine-video-streams.js +75 -0
  200. package/package/dist/compositor/compositor.d.ts +22 -0
  201. package/package/dist/compositor/compositor.js +182 -0
  202. package/package/dist/compositor/get-executable-path.d.ts +12 -0
  203. package/package/dist/compositor/get-executable-path.js +95 -0
  204. package/package/dist/compositor/get-explicit-env.d.ts +3 -0
  205. package/package/dist/compositor/get-explicit-env.js +13 -0
  206. package/package/dist/compositor/make-file-executable.d.ts +1 -0
  207. package/package/dist/compositor/make-file-executable.js +44 -0
  208. package/package/dist/compositor/make-nonce.d.ts +1 -0
  209. package/package/dist/compositor/make-nonce.js +8 -0
  210. package/package/dist/compositor/payloads.d.ts +73 -0
  211. package/package/dist/compositor/payloads.js +2 -0
  212. package/package/dist/compositor/serialize-command.d.ts +2 -0
  213. package/package/dist/compositor/serialize-command.js +14 -0
  214. package/package/dist/compress-assets.d.ts +7 -0
  215. package/package/dist/compress-assets.js +25 -0
  216. package/package/dist/compress-audio.d.ts +16 -0
  217. package/package/dist/compress-audio.js +44 -0
  218. package/package/dist/convert-number-of-gif-loops-to-ffmpeg.d.ts +1 -0
  219. package/package/dist/convert-number-of-gif-loops-to-ffmpeg.js +17 -0
  220. package/package/dist/convert-to-positive-frame-index.d.ts +4 -0
  221. package/package/dist/convert-to-positive-frame-index.js +8 -0
  222. package/package/dist/create-audio.d.ts +29 -0
  223. package/package/dist/create-audio.js +127 -0
  224. package/package/dist/create-ffmpeg-complex-filter.d.ts +10 -0
  225. package/package/dist/create-ffmpeg-complex-filter.js +24 -0
  226. package/package/dist/create-ffmpeg-merge-filter.d.ts +5 -0
  227. package/package/dist/create-ffmpeg-merge-filter.js +25 -0
  228. package/package/dist/create-silent-audio.d.ts +10 -0
  229. package/package/dist/create-silent-audio.js +28 -0
  230. package/package/dist/crf.d.ts +13 -0
  231. package/package/dist/crf.js +103 -0
  232. package/package/dist/cycle-browser-tabs.d.ts +10 -0
  233. package/package/dist/cycle-browser-tabs.js +50 -0
  234. package/package/dist/default-on-log.d.ts +2 -0
  235. package/package/dist/default-on-log.js +8 -0
  236. package/package/dist/delay-render-embedded-stack.d.ts +2 -0
  237. package/package/dist/delay-render-embedded-stack.js +17 -0
  238. package/package/dist/delete-directory.d.ts +1 -0
  239. package/package/dist/delete-directory.js +68 -0
  240. package/package/dist/ensure-browser.d.ts +24 -0
  241. package/package/dist/ensure-browser.js +58 -0
  242. package/package/dist/ensure-frames-in-order.d.ts +5 -0
  243. package/package/dist/ensure-frames-in-order.js +39 -0
  244. package/package/dist/ensure-output-directory.d.ts +1 -0
  245. package/package/dist/ensure-output-directory.js +17 -0
  246. package/package/dist/error-handling/handle-javascript-exception.d.ts +23 -0
  247. package/package/dist/error-handling/handle-javascript-exception.js +86 -0
  248. package/package/dist/error-handling/symbolicate-error.d.ts +3 -0
  249. package/package/dist/error-handling/symbolicate-error.js +26 -0
  250. package/package/dist/error-handling/symbolicateable-error.d.ts +18 -0
  251. package/package/dist/error-handling/symbolicateable-error.js +19 -0
  252. package/package/dist/error-handling.d.ts +1 -0
  253. package/package/dist/error-handling.js +5 -0
  254. package/package/dist/esm/client.mjs +3270 -0
  255. package/package/dist/esm/error-handling.mjs +363 -0
  256. package/package/dist/esm/index.mjs +23201 -0
  257. package/package/dist/esm/pure.mjs +526 -0
  258. package/package/dist/extract-audio.d.ts +7 -0
  259. package/package/dist/extract-audio.js +25 -0
  260. package/package/dist/ffmpeg-args.d.ts +21 -0
  261. package/package/dist/ffmpeg-args.js +96 -0
  262. package/package/dist/ffmpeg-filter-file.d.ts +13 -0
  263. package/package/dist/ffmpeg-filter-file.js +70 -0
  264. package/package/dist/ffmpeg-override.d.ts +4 -0
  265. package/package/dist/ffmpeg-override.js +2 -0
  266. package/package/dist/file-extensions.d.ts +14 -0
  267. package/package/dist/file-extensions.js +85 -0
  268. package/package/dist/filter-asset-types.d.ts +8 -0
  269. package/package/dist/filter-asset-types.js +44 -0
  270. package/package/dist/find-closest-package-json.d.ts +2 -0
  271. package/package/dist/find-closest-package-json.js +31 -0
  272. package/package/dist/format-logs.d.ts +3 -0
  273. package/package/dist/format-logs.js +214 -0
  274. package/package/dist/frame-range.d.ts +2 -0
  275. package/package/dist/frame-range.js +49 -0
  276. package/package/dist/get-browser-instance.d.ts +24 -0
  277. package/package/dist/get-browser-instance.js +63 -0
  278. package/package/dist/get-bundle-url-from-serve-url.d.ts +2 -0
  279. package/package/dist/get-bundle-url-from-serve-url.js +30 -0
  280. package/package/dist/get-codec-name.d.ts +21 -0
  281. package/package/dist/get-codec-name.js +87 -0
  282. package/package/dist/get-compositions.d.ts +34 -0
  283. package/package/dist/get-compositions.js +196 -0
  284. package/package/dist/get-concurrency.d.ts +1 -0
  285. package/package/dist/get-concurrency.js +27 -0
  286. package/package/dist/get-cpu-count.d.ts +2 -0
  287. package/package/dist/get-cpu-count.js +33 -0
  288. package/package/dist/get-duration-from-frame-range.d.ts +1 -0
  289. package/package/dist/get-duration-from-frame-range.js +17 -0
  290. package/package/dist/get-extension-from-codec.d.ts +6 -0
  291. package/package/dist/get-extension-from-codec.js +61 -0
  292. package/package/dist/get-extension-of-filename.d.ts +1 -0
  293. package/package/dist/get-extension-of-filename.js +15 -0
  294. package/package/dist/get-extra-frames-to-capture.d.ts +14 -0
  295. package/package/dist/get-extra-frames-to-capture.js +62 -0
  296. package/package/dist/get-frame-padded-index.d.ts +21 -0
  297. package/package/dist/get-frame-padded-index.js +43 -0
  298. package/package/dist/get-frame-to-render.d.ts +2 -0
  299. package/package/dist/get-frame-to-render.js +19 -0
  300. package/package/dist/get-local-browser-executable.d.ts +9 -0
  301. package/package/dist/get-local-browser-executable.js +36 -0
  302. package/package/dist/get-port.d.ts +15 -0
  303. package/package/dist/get-port.js +86 -0
  304. package/package/dist/get-prores-profile-name.d.ts +3 -0
  305. package/package/dist/get-prores-profile-name.js +25 -0
  306. package/package/dist/get-silent-parts.d.ts +10 -0
  307. package/package/dist/get-silent-parts.js +66 -0
  308. package/package/dist/get-video-metadata.d.ts +10 -0
  309. package/package/dist/get-video-metadata.js +25 -0
  310. package/package/dist/get-video-threads-flag.d.ts +2 -0
  311. package/package/dist/get-video-threads-flag.js +16 -0
  312. package/package/dist/goto-page-or-throw.d.ts +3 -0
  313. package/package/dist/goto-page-or-throw.js +16 -0
  314. package/package/dist/guess-extension-for-media.d.ts +9 -0
  315. package/package/dist/guess-extension-for-media.js +31 -0
  316. package/package/dist/image-format.d.ts +13 -0
  317. package/package/dist/image-format.js +37 -0
  318. package/package/dist/index.d.ts +1256 -0
  319. package/package/dist/index.js +227 -0
  320. package/package/dist/is-audio-codec.d.ts +2 -0
  321. package/package/dist/is-audio-codec.js +7 -0
  322. package/package/dist/is-delay-render-error-with-retry.d.ts +1 -0
  323. package/package/dist/is-delay-render-error-with-retry.js +28 -0
  324. package/package/dist/is-serve-url.d.ts +1 -0
  325. package/package/dist/is-serve-url.js +15 -0
  326. package/package/dist/jpeg-quality.d.ts +2 -0
  327. package/package/dist/jpeg-quality.js +22 -0
  328. package/package/dist/locks.d.ts +7 -0
  329. package/package/dist/locks.js +47 -0
  330. package/package/dist/log-level.d.ts +4 -0
  331. package/package/dist/log-level.js +15 -0
  332. package/package/dist/logger.d.ts +20 -0
  333. package/package/dist/logger.js +89 -0
  334. package/package/dist/make-cancel-signal.d.ts +14 -0
  335. package/package/dist/make-cancel-signal.js +48 -0
  336. package/package/dist/make-metadata-args.d.ts +2 -0
  337. package/package/dist/make-metadata-args.js +22 -0
  338. package/package/dist/make-page.d.ts +30 -0
  339. package/package/dist/make-page.js +70 -0
  340. package/package/dist/memory/from-docker-cgroup.d.ts +1 -0
  341. package/package/dist/memory/from-docker-cgroup.js +66 -0
  342. package/package/dist/memory/from-lambda-env.d.ts +1 -0
  343. package/package/dist/memory/from-lambda-env.js +10 -0
  344. package/package/dist/memory/from-proc-meminfo.d.ts +2 -0
  345. package/package/dist/memory/from-proc-meminfo.js +44 -0
  346. package/package/dist/memory/get-available-memory.d.ts +2 -0
  347. package/package/dist/memory/get-available-memory.js +44 -0
  348. package/package/dist/merge-audio-track.d.ts +19 -0
  349. package/package/dist/merge-audio-track.js +133 -0
  350. package/package/dist/mime-db.d.ts +6 -0
  351. package/package/dist/mime-db.js +8636 -0
  352. package/package/dist/mime-types.d.ts +3 -0
  353. package/package/dist/mime-types.js +94 -0
  354. package/package/dist/mux-video-and-audio.d.ts +15 -0
  355. package/package/dist/mux-video-and-audio.js +54 -0
  356. package/package/dist/next-frame-to-render.d.ts +11 -0
  357. package/package/dist/next-frame-to-render.js +41 -0
  358. package/package/dist/normalize-serve-url.d.ts +1 -0
  359. package/package/dist/normalize-serve-url.js +19 -0
  360. package/package/dist/offthread-video-server.d.ts +51 -0
  361. package/package/dist/offthread-video-server.js +217 -0
  362. package/package/dist/open-browser.d.ts +47 -0
  363. package/package/dist/open-browser.js +200 -0
  364. package/package/dist/options/api-key.d.ts +15 -0
  365. package/package/dist/options/api-key.js +29 -0
  366. package/package/dist/options/audio-bitrate.d.ts +18 -0
  367. package/package/dist/options/audio-bitrate.js +35 -0
  368. package/package/dist/options/audio-codec.d.ts +55 -0
  369. package/package/dist/options/audio-codec.js +188 -0
  370. package/package/dist/options/beep-on-finish.d.ts +15 -0
  371. package/package/dist/options/beep-on-finish.js +35 -0
  372. package/package/dist/options/binaries-directory.d.ts +15 -0
  373. package/package/dist/options/binaries-directory.js +35 -0
  374. package/package/dist/options/chrome-mode.d.ts +17 -0
  375. package/package/dist/options/chrome-mode.js +46 -0
  376. package/package/dist/options/color-space.d.ts +23 -0
  377. package/package/dist/options/color-space.js +49 -0
  378. package/package/dist/options/crf.d.ts +17 -0
  379. package/package/dist/options/crf.js +43 -0
  380. package/package/dist/options/cross-site-isolation.d.ts +15 -0
  381. package/package/dist/options/cross-site-isolation.js +29 -0
  382. package/package/dist/options/delete-after.d.ts +19 -0
  383. package/package/dist/options/delete-after.js +37 -0
  384. package/package/dist/options/disable-git-source.d.ts +15 -0
  385. package/package/dist/options/disable-git-source.js +28 -0
  386. package/package/dist/options/disallow-parallel-encoding.d.ts +15 -0
  387. package/package/dist/options/disallow-parallel-encoding.js +35 -0
  388. package/package/dist/options/enable-lambda-insights.d.ts +15 -0
  389. package/package/dist/options/enable-lambda-insights.js +35 -0
  390. package/package/dist/options/enable-multiprocess-on-linux.d.ts +15 -0
  391. package/package/dist/options/enable-multiprocess-on-linux.js +36 -0
  392. package/package/dist/options/encoding-buffer-size.d.ts +18 -0
  393. package/package/dist/options/encoding-buffer-size.js +39 -0
  394. package/package/dist/options/encoding-max-rate.d.ts +18 -0
  395. package/package/dist/options/encoding-max-rate.js +35 -0
  396. package/package/dist/options/enforce-audio.d.ts +18 -0
  397. package/package/dist/options/enforce-audio.js +36 -0
  398. package/package/dist/options/folder-expiry.d.ts +15 -0
  399. package/package/dist/options/folder-expiry.js +37 -0
  400. package/package/dist/options/for-seamless-aac-concatenation.d.ts +19 -0
  401. package/package/dist/options/for-seamless-aac-concatenation.js +40 -0
  402. package/package/dist/options/gl.d.ts +24 -0
  403. package/package/dist/options/gl.js +68 -0
  404. package/package/dist/options/hardware-acceleration.d.ts +18 -0
  405. package/package/dist/options/hardware-acceleration.js +56 -0
  406. package/package/dist/options/headless.d.ts +15 -0
  407. package/package/dist/options/headless.js +36 -0
  408. package/package/dist/options/image-sequence-pattern.d.ts +15 -0
  409. package/package/dist/options/image-sequence-pattern.js +30 -0
  410. package/package/dist/options/index.d.ts +747 -0
  411. package/package/dist/options/index.js +97 -0
  412. package/package/dist/options/jpeg-quality.d.ts +17 -0
  413. package/package/dist/options/jpeg-quality.js +47 -0
  414. package/package/dist/options/latency-hint.d.ts +18 -0
  415. package/package/dist/options/latency-hint.js +27 -0
  416. package/package/dist/options/log-level.d.ts +16 -0
  417. package/package/dist/options/log-level.js +32 -0
  418. package/package/dist/options/metadata.d.ts +18 -0
  419. package/package/dist/options/metadata.js +47 -0
  420. package/package/dist/options/mute.d.ts +15 -0
  421. package/package/dist/options/mute.js +37 -0
  422. package/package/dist/options/number-of-gif-loops.d.ts +19 -0
  423. package/package/dist/options/number-of-gif-loops.js +44 -0
  424. package/package/dist/options/offthreadvideo-cache-size.d.ts +20 -0
  425. package/package/dist/options/offthreadvideo-cache-size.js +60 -0
  426. package/package/dist/options/offthreadvideo-threads.d.ts +20 -0
  427. package/package/dist/options/offthreadvideo-threads.js +40 -0
  428. package/package/dist/options/on-browser-download.d.ts +22 -0
  429. package/package/dist/options/on-browser-download.js +19 -0
  430. package/package/dist/options/option.d.ts +20 -0
  431. package/package/dist/options/option.js +2 -0
  432. package/package/dist/options/options-map.d.ts +2040 -0
  433. package/package/dist/options/options-map.js +192 -0
  434. package/package/dist/options/overwrite.d.ts +15 -0
  435. package/package/dist/options/overwrite.js +42 -0
  436. package/package/dist/options/prefer-lossless.d.ts +18 -0
  437. package/package/dist/options/prefer-lossless.js +26 -0
  438. package/package/dist/options/public-dir.d.ts +18 -0
  439. package/package/dist/options/public-dir.js +37 -0
  440. package/package/dist/options/public-path.d.ts +18 -0
  441. package/package/dist/options/public-path.js +37 -0
  442. package/package/dist/options/repro.d.ts +15 -0
  443. package/package/dist/options/repro.js +36 -0
  444. package/package/dist/options/scale.d.ts +15 -0
  445. package/package/dist/options/scale.js +41 -0
  446. package/package/dist/options/separate-audio.d.ts +18 -0
  447. package/package/dist/options/separate-audio.js +28 -0
  448. package/package/dist/options/throw-if-site-exists.d.ts +15 -0
  449. package/package/dist/options/throw-if-site-exists.js +28 -0
  450. package/package/dist/options/timeout.d.ts +15 -0
  451. package/package/dist/options/timeout.js +44 -0
  452. package/package/dist/options/video-bitrate.d.ts +15 -0
  453. package/package/dist/options/video-bitrate.js +35 -0
  454. package/package/dist/options/video-cache-size.d.ts +19 -0
  455. package/package/dist/options/video-cache-size.js +39 -0
  456. package/package/dist/options/video-codec.d.ts +23 -0
  457. package/package/dist/options/video-codec.js +104 -0
  458. package/package/dist/options/webhook-custom-data.d.ts +10 -0
  459. package/package/dist/options/webhook-custom-data.js +21 -0
  460. package/package/dist/options/x264-preset.d.ts +25 -0
  461. package/package/dist/options/x264-preset.js +55 -0
  462. package/package/dist/overwrite.d.ts +1 -0
  463. package/package/dist/overwrite.js +4 -0
  464. package/package/dist/p-limit.d.ts +1 -0
  465. package/package/dist/p-limit.js +57 -0
  466. package/package/dist/parse-browser-error-stack.d.ts +7 -0
  467. package/package/dist/parse-browser-error-stack.js +87 -0
  468. package/package/dist/parse-ffmpeg-progress.d.ts +1 -0
  469. package/package/dist/parse-ffmpeg-progress.js +18 -0
  470. package/package/dist/path-normalize.d.ts +1 -0
  471. package/package/dist/path-normalize.js +132 -0
  472. package/package/dist/perf.d.ts +5 -0
  473. package/package/dist/perf.js +37 -0
  474. package/package/dist/pixel-format.d.ts +6 -0
  475. package/package/dist/pixel-format.js +37 -0
  476. package/package/dist/pool.d.ts +8 -0
  477. package/package/dist/pool.js +30 -0
  478. package/package/dist/port-config.d.ts +14 -0
  479. package/package/dist/port-config.js +79 -0
  480. package/package/dist/prepare-server.d.ts +32 -0
  481. package/package/dist/prepare-server.js +123 -0
  482. package/package/dist/preprocess-audio-track.d.ts +27 -0
  483. package/package/dist/preprocess-audio-track.js +82 -0
  484. package/package/dist/prespawn-ffmpeg.d.ts +49 -0
  485. package/package/dist/prespawn-ffmpeg.js +112 -0
  486. package/package/dist/prestitcher-memory-usage.d.ts +10 -0
  487. package/package/dist/prestitcher-memory-usage.js +26 -0
  488. package/package/dist/print-useful-error-message.d.ts +2 -0
  489. package/package/dist/print-useful-error-message.js +110 -0
  490. package/package/dist/prores-profile.d.ts +7 -0
  491. package/package/dist/prores-profile.js +23 -0
  492. package/package/dist/puppeteer-evaluate.d.ts +17 -0
  493. package/package/dist/puppeteer-evaluate.js +162 -0
  494. package/package/dist/puppeteer-screenshot.d.ts +12 -0
  495. package/package/dist/puppeteer-screenshot.js +58 -0
  496. package/package/dist/pure.d.ts +17 -0
  497. package/package/dist/pure.js +17 -0
  498. package/package/dist/redirect-status-codes.d.ts +1 -0
  499. package/package/dist/redirect-status-codes.js +6 -0
  500. package/package/dist/render-frame-and-retry-target-close.d.ts +54 -0
  501. package/package/dist/render-frame-and-retry-target-close.js +179 -0
  502. package/package/dist/render-frame-with-option-to-reject.d.ts +48 -0
  503. package/package/dist/render-frame-with-option-to-reject.js +156 -0
  504. package/package/dist/render-frame.d.ts +47 -0
  505. package/package/dist/render-frame.js +51 -0
  506. package/package/dist/render-frames.d.ts +97 -0
  507. package/package/dist/render-frames.js +413 -0
  508. package/package/dist/render-has-audio.d.ts +8 -0
  509. package/package/dist/render-has-audio.js +20 -0
  510. package/package/dist/render-media.d.ts +135 -0
  511. package/package/dist/render-media.js +621 -0
  512. package/package/dist/render-partitions.d.ts +7 -0
  513. package/package/dist/render-partitions.js +50 -0
  514. package/package/dist/render-still.d.ts +74 -0
  515. package/package/dist/render-still.js +356 -0
  516. package/package/dist/replace-browser.d.ts +7 -0
  517. package/package/dist/replace-browser.js +48 -0
  518. package/package/dist/repro.d.ts +25 -0
  519. package/package/dist/repro.js +184 -0
  520. package/package/dist/resolve-asset-src.d.ts +1 -0
  521. package/package/dist/resolve-asset-src.js +17 -0
  522. package/package/dist/sample-rate.d.ts +1 -0
  523. package/package/dist/sample-rate.js +4 -0
  524. package/package/dist/screenshot-task.d.ts +12 -0
  525. package/package/dist/screenshot-task.js +86 -0
  526. package/package/dist/seamless-aac-trim.d.ts +12 -0
  527. package/package/dist/seamless-aac-trim.js +24 -0
  528. package/package/dist/seek-to-frame.d.ts +18 -0
  529. package/package/dist/seek-to-frame.js +148 -0
  530. package/package/dist/select-composition.d.ts +45 -0
  531. package/package/dist/select-composition.js +219 -0
  532. package/package/dist/serialize-artifact.d.ts +7 -0
  533. package/package/dist/serialize-artifact.js +2 -0
  534. package/package/dist/serve-handler/index.d.ts +4 -0
  535. package/package/dist/serve-handler/index.js +208 -0
  536. package/package/dist/serve-handler/is-path-inside.d.ts +1 -0
  537. package/package/dist/serve-handler/is-path-inside.js +27 -0
  538. package/package/dist/serve-handler/range-parser.d.ts +13 -0
  539. package/package/dist/serve-handler/range-parser.js +57 -0
  540. package/package/dist/serve-static.d.ts +18 -0
  541. package/package/dist/serve-static.js +141 -0
  542. package/package/dist/set-props-and-env.d.ts +22 -0
  543. package/package/dist/set-props-and-env.js +219 -0
  544. package/package/dist/stitch-frames-to-video.d.ts +77 -0
  545. package/package/dist/stitch-frames-to-video.js +350 -0
  546. package/package/dist/stringify-ffmpeg-filter.d.ts +24 -0
  547. package/package/dist/stringify-ffmpeg-filter.js +140 -0
  548. package/package/dist/succeed-or-cancel.d.ts +6 -0
  549. package/package/dist/succeed-or-cancel.js +23 -0
  550. package/package/dist/symbolicate-stacktrace.d.ts +29 -0
  551. package/package/dist/symbolicate-stacktrace.js +155 -0
  552. package/package/dist/take-frame.d.ts +13 -0
  553. package/package/dist/take-frame.js +47 -0
  554. package/package/dist/test/actual-concurrency.test.d.ts +1 -0
  555. package/package/dist/test/artifacts.test.d.ts +1 -0
  556. package/package/dist/test/asset-calculation.test.d.ts +1 -0
  557. package/package/dist/test/asset-compression.test.d.ts +1 -0
  558. package/package/dist/test/avoid-ffmpeg-stackoverflow.test.d.ts +1 -0
  559. package/package/dist/test/browser-log-message.test.d.ts +1 -0
  560. package/package/dist/test/calculate-atempo.test.d.ts +1 -0
  561. package/package/dist/test/compositor-rust.test.d.ts +1 -0
  562. package/package/dist/test/crf.test.d.ts +1 -0
  563. package/package/dist/test/derive-codec-from-file-extension.test.d.ts +1 -0
  564. package/package/dist/test/dont-skip-assets.test.d.ts +1 -0
  565. package/package/dist/test/download-file.test.d.ts +1 -0
  566. package/package/dist/test/even-dimensions.test.d.ts +1 -0
  567. package/package/dist/test/extra-frames-to-capture.test.d.ts +1 -0
  568. package/package/dist/test/extract-audio.test.d.ts +1 -0
  569. package/package/dist/test/extract-frame-rust.test.d.ts +1 -0
  570. package/package/dist/test/ffmpeg-filters.test.d.ts +1 -0
  571. package/package/dist/test/ffmpeg-merge-filter.test.d.ts +1 -0
  572. package/package/dist/test/ffmpeg-volume-expression.test.d.ts +1 -0
  573. package/package/dist/test/file-extension.test.d.ts +1 -0
  574. package/package/dist/test/find-closest-package-json.test.d.ts +1 -0
  575. package/package/dist/test/flatten-volume-array.test.d.ts +1 -0
  576. package/package/dist/test/format-logs.test.d.ts +1 -0
  577. package/package/dist/test/frame-padded-index.test.d.ts +1 -0
  578. package/package/dist/test/frame.test.d.ts +1 -0
  579. package/package/dist/test/get-assets-for-markup.d.ts +8 -0
  580. package/package/dist/test/get-audio-channels.test.d.ts +1 -0
  581. package/package/dist/test/get-bundle-url-from-serve-url.test.d.ts +1 -0
  582. package/package/dist/test/get-silent-parts.test.d.ts +1 -0
  583. package/package/dist/test/guess-extension-for-media.test.d.ts +1 -0
  584. package/package/dist/test/handle-weird-file-names.test.d.ts +1 -0
  585. package/package/dist/test/log-level.test.d.ts +1 -0
  586. package/package/dist/test/mime-types.test.d.ts +1 -0
  587. package/package/dist/test/offthread-extract-url.test.d.ts +1 -0
  588. package/package/dist/test/parse-ffmpeg-progress.test.d.ts +1 -0
  589. package/package/dist/test/partitions.test.d.ts +1 -0
  590. package/package/dist/test/pixel-format.test.d.ts +1 -0
  591. package/package/dist/test/port-config.test.d.ts +1 -0
  592. package/package/dist/test/port-selection.test.d.ts +1 -0
  593. package/package/dist/test/prores-profile.test.d.ts +1 -0
  594. package/package/dist/test/render-still.test.d.ts +1 -0
  595. package/package/dist/test/rust-errors.test.d.ts +1 -0
  596. package/package/dist/test/rust-get-video-metadata.test.d.ts +1 -0
  597. package/package/dist/test/rust-memory-usage.test.d.ts +1 -0
  598. package/package/dist/test/sanitize-file-path.test.d.ts +1 -0
  599. package/package/dist/test/serve-url.test.d.ts +1 -0
  600. package/package/dist/test/symbolicate-remote-stack.test.d.ts +1 -0
  601. package/package/dist/test/validate-concurrency.test.d.ts +1 -0
  602. package/package/dist/test/validate-config-stitcher.test.d.ts +1 -0
  603. package/package/dist/test/validate-config.test.d.ts +1 -0
  604. package/package/dist/test/validate-even-dimensions-with-codec.test.d.ts +1 -0
  605. package/package/dist/test/validate-image-format.test.d.ts +1 -0
  606. package/package/dist/test/webpack-to-serve-url.test.d.ts +1 -0
  607. package/package/dist/test-gpu.d.ts +21 -0
  608. package/package/dist/test-gpu.js +45 -0
  609. package/package/dist/tmp-dir.d.ts +1 -0
  610. package/package/dist/tmp-dir.js +63 -0
  611. package/package/dist/to-megabytes.d.ts +1 -0
  612. package/package/dist/to-megabytes.js +7 -0
  613. package/package/dist/truthy.d.ts +3 -0
  614. package/package/dist/truthy.js +6 -0
  615. package/package/dist/types.d.ts +10 -0
  616. package/package/dist/types.js +2 -0
  617. package/package/dist/v5-required-input-props.d.ts +6 -0
  618. package/package/dist/v5-required-input-props.js +2 -0
  619. package/package/dist/validate-concurrency.d.ts +7 -0
  620. package/package/dist/validate-concurrency.js +38 -0
  621. package/package/dist/validate-even-dimensions-with-codec.d.ts +14 -0
  622. package/package/dist/validate-even-dimensions-with-codec.js +40 -0
  623. package/package/dist/validate-every-nth-frame.d.ts +1 -0
  624. package/package/dist/validate-every-nth-frame.js +24 -0
  625. package/package/dist/validate-ffmpeg-override.d.ts +2 -0
  626. package/package/dist/validate-ffmpeg-override.js +12 -0
  627. package/package/dist/validate-number-of-gif-loops.d.ts +2 -0
  628. package/package/dist/validate-number-of-gif-loops.js +24 -0
  629. package/package/dist/validate-output-filename.d.ts +9 -0
  630. package/package/dist/validate-output-filename.js +32 -0
  631. package/package/dist/validate-puppeteer-timeout.d.ts +1 -0
  632. package/package/dist/validate-puppeteer-timeout.js +25 -0
  633. package/package/dist/validate-scale.d.ts +1 -0
  634. package/package/dist/validate-scale.js +26 -0
  635. package/package/dist/validate-videobitrate.d.ts +1 -0
  636. package/package/dist/validate-videobitrate.js +20 -0
  637. package/package/dist/validate.d.ts +4 -0
  638. package/package/dist/validate.js +8 -0
  639. package/package/dist/wait-for-symbolication-error-to-be-done.d.ts +3 -0
  640. package/package/dist/wait-for-symbolication-error-to-be-done.js +8 -0
  641. package/package/dist/wrap-with-error-handling.d.ts +8 -0
  642. package/package/dist/wrap-with-error-handling.js +18 -0
  643. package/package/dist/ws/ws-types.d.ts +15 -0
  644. package/package/dist/ws/ws-types.js +8 -0
  645. package/package/ensure-browser.mjs +3337 -0
  646. package/package.json +105 -104
  647. package/LICENSE.md +0 -49
  648. package/bunfig.toml +0 -2
  649. package/dist/assets/change-tempo.d.ts +0 -34
  650. package/dist/assets/change-tempo.js +0 -287
  651. package/dist/assets/change-tonefrequency.d.ts +0 -2
  652. package/dist/assets/change-tonefrequency.js +0 -28
  653. package/dist/assets/resample-audiodata.d.ts +0 -6
  654. package/dist/assets/resample-audiodata.js +0 -54
@@ -0,0 +1,3016 @@
1
+ export { AvailableOptions, TypeOfOption } from './options';
2
+ export { HardwareAccelerationOption } from './options/hardware-acceleration';
3
+ export declare const BrowserSafeApis: {
4
+ getFileExtensionFromCodec: <T extends import("./codec").Codec>(codec: T, audioCodec: import("./options/audio-codec").AudioCodec | null) => import("./file-extensions").FileExtension;
5
+ validCodecs: readonly ["h264", "h265", "vp8", "vp9", "mp3", "aac", "wav", "prores", "h264-mkv", "h264-ts", "gif"];
6
+ validAudioCodecs: readonly ["pcm-16", "aac", "mp3", "opus"];
7
+ getDefaultCrfForCodec: (codec: import("./codec").Codec) => number | null;
8
+ getValidCrfRanges: (codec: import("./codec").Codec) => [number, number];
9
+ proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"];
10
+ x264PresetOptions: readonly ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"];
11
+ hardwareAccelerationOptions: readonly ["disable", "if-possible", "required"];
12
+ validPixelFormats: readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"];
13
+ validOpenGlRenderers: readonly ["swangle", "angle", "egl", "swiftshader", "vulkan", "angle-egl"];
14
+ validPixelFormatsForCodec: (codec: import("./codec").Codec) => readonly ["yuv420p", "yuva420p", "yuv422p", "yuv444p", "yuv420p10le", "yuv422p10le", "yuv444p10le", "yuva444p10le"] | ("yuv420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le")[];
15
+ validVideoImageFormats: readonly ["png", "jpeg", "none"];
16
+ validStillImageFormats: readonly ["png", "jpeg", "pdf", "webp"];
17
+ DEFAULT_PIXEL_FORMAT: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
18
+ DEFAULT_TIMEOUT: number;
19
+ DEFAULT_JPEG_QUALITY: number;
20
+ DEFAULT_COLOR_SPACE: "default";
21
+ supportedAudioCodecs: {
22
+ readonly h264: readonly ["aac", "pcm-16", "mp3"];
23
+ readonly 'h264-mkv': readonly ["pcm-16", "mp3"];
24
+ readonly 'h264-ts': readonly ["pcm-16", "aac"];
25
+ readonly aac: readonly ["aac", "pcm-16"];
26
+ readonly avi: readonly [];
27
+ readonly gif: readonly [];
28
+ readonly h265: readonly ["aac", "pcm-16"];
29
+ readonly mp3: readonly ["mp3", "pcm-16"];
30
+ readonly prores: readonly ["aac", "pcm-16"];
31
+ readonly vp8: readonly ["opus", "pcm-16"];
32
+ readonly vp9: readonly ["opus", "pcm-16"];
33
+ readonly wav: readonly ["pcm-16"];
34
+ };
35
+ defaultFileExtensionMap: {
36
+ h264: {
37
+ default: import("./file-extensions").FileExtension;
38
+ forAudioCodec: {
39
+ mp3: {
40
+ possible: import("./file-extensions").FileExtension[];
41
+ default: import("./file-extensions").FileExtension;
42
+ };
43
+ aac: {
44
+ possible: import("./file-extensions").FileExtension[];
45
+ default: import("./file-extensions").FileExtension;
46
+ };
47
+ "pcm-16": {
48
+ possible: import("./file-extensions").FileExtension[];
49
+ default: import("./file-extensions").FileExtension;
50
+ };
51
+ };
52
+ };
53
+ h265: {
54
+ default: import("./file-extensions").FileExtension;
55
+ forAudioCodec: {
56
+ aac: {
57
+ possible: import("./file-extensions").FileExtension[];
58
+ default: import("./file-extensions").FileExtension;
59
+ };
60
+ "pcm-16": {
61
+ possible: import("./file-extensions").FileExtension[];
62
+ default: import("./file-extensions").FileExtension;
63
+ };
64
+ };
65
+ };
66
+ vp8: {
67
+ default: import("./file-extensions").FileExtension;
68
+ forAudioCodec: {
69
+ "pcm-16": {
70
+ possible: import("./file-extensions").FileExtension[];
71
+ default: import("./file-extensions").FileExtension;
72
+ };
73
+ opus: {
74
+ possible: import("./file-extensions").FileExtension[];
75
+ default: import("./file-extensions").FileExtension;
76
+ };
77
+ };
78
+ };
79
+ vp9: {
80
+ default: import("./file-extensions").FileExtension;
81
+ forAudioCodec: {
82
+ "pcm-16": {
83
+ possible: import("./file-extensions").FileExtension[];
84
+ default: import("./file-extensions").FileExtension;
85
+ };
86
+ opus: {
87
+ possible: import("./file-extensions").FileExtension[];
88
+ default: import("./file-extensions").FileExtension;
89
+ };
90
+ };
91
+ };
92
+ mp3: {
93
+ default: import("./file-extensions").FileExtension;
94
+ forAudioCodec: {
95
+ mp3: {
96
+ possible: import("./file-extensions").FileExtension[];
97
+ default: import("./file-extensions").FileExtension;
98
+ };
99
+ "pcm-16": {
100
+ possible: import("./file-extensions").FileExtension[];
101
+ default: import("./file-extensions").FileExtension;
102
+ };
103
+ };
104
+ };
105
+ aac: {
106
+ default: import("./file-extensions").FileExtension;
107
+ forAudioCodec: {
108
+ aac: {
109
+ possible: import("./file-extensions").FileExtension[];
110
+ default: import("./file-extensions").FileExtension;
111
+ };
112
+ "pcm-16": {
113
+ possible: import("./file-extensions").FileExtension[];
114
+ default: import("./file-extensions").FileExtension;
115
+ };
116
+ };
117
+ };
118
+ wav: {
119
+ default: import("./file-extensions").FileExtension;
120
+ forAudioCodec: {
121
+ "pcm-16": {
122
+ possible: import("./file-extensions").FileExtension[];
123
+ default: import("./file-extensions").FileExtension;
124
+ };
125
+ };
126
+ };
127
+ prores: {
128
+ default: import("./file-extensions").FileExtension;
129
+ forAudioCodec: {
130
+ aac: {
131
+ possible: import("./file-extensions").FileExtension[];
132
+ default: import("./file-extensions").FileExtension;
133
+ };
134
+ "pcm-16": {
135
+ possible: import("./file-extensions").FileExtension[];
136
+ default: import("./file-extensions").FileExtension;
137
+ };
138
+ };
139
+ };
140
+ "h264-mkv": {
141
+ default: import("./file-extensions").FileExtension;
142
+ forAudioCodec: {
143
+ mp3: {
144
+ possible: import("./file-extensions").FileExtension[];
145
+ default: import("./file-extensions").FileExtension;
146
+ };
147
+ "pcm-16": {
148
+ possible: import("./file-extensions").FileExtension[];
149
+ default: import("./file-extensions").FileExtension;
150
+ };
151
+ };
152
+ };
153
+ "h264-ts": {
154
+ default: import("./file-extensions").FileExtension;
155
+ forAudioCodec: {
156
+ aac: {
157
+ possible: import("./file-extensions").FileExtension[];
158
+ default: import("./file-extensions").FileExtension;
159
+ };
160
+ "pcm-16": {
161
+ possible: import("./file-extensions").FileExtension[];
162
+ default: import("./file-extensions").FileExtension;
163
+ };
164
+ };
165
+ };
166
+ gif: {
167
+ default: import("./file-extensions").FileExtension;
168
+ forAudioCodec: {};
169
+ };
170
+ };
171
+ defaultAudioCodecs: {
172
+ h264: {
173
+ compressed: "mp3" | "aac" | "pcm-16" | null;
174
+ lossless: "mp3" | "aac" | "pcm-16" | null;
175
+ };
176
+ h265: {
177
+ compressed: "aac" | "pcm-16" | null;
178
+ lossless: "aac" | "pcm-16" | null;
179
+ };
180
+ vp8: {
181
+ compressed: "pcm-16" | "opus" | null;
182
+ lossless: "pcm-16" | "opus" | null;
183
+ };
184
+ vp9: {
185
+ compressed: "pcm-16" | "opus" | null;
186
+ lossless: "pcm-16" | "opus" | null;
187
+ };
188
+ mp3: {
189
+ compressed: "mp3" | "pcm-16" | null;
190
+ lossless: "mp3" | "pcm-16" | null;
191
+ };
192
+ aac: {
193
+ compressed: "aac" | "pcm-16" | null;
194
+ lossless: "aac" | "pcm-16" | null;
195
+ };
196
+ wav: {
197
+ compressed: "pcm-16" | null;
198
+ lossless: "pcm-16" | null;
199
+ };
200
+ prores: {
201
+ compressed: "aac" | "pcm-16" | null;
202
+ lossless: "aac" | "pcm-16" | null;
203
+ };
204
+ "h264-mkv": {
205
+ compressed: "mp3" | "pcm-16" | null;
206
+ lossless: "mp3" | "pcm-16" | null;
207
+ };
208
+ "h264-ts": {
209
+ compressed: "aac" | "pcm-16" | null;
210
+ lossless: "aac" | "pcm-16" | null;
211
+ };
212
+ gif: {
213
+ compressed: null;
214
+ lossless: null;
215
+ };
216
+ };
217
+ defaultCodecsForFileExtension: Record<import("./file-extensions").FileExtension, "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv" | "h264-ts" | "gif">;
218
+ validateOutputFilename: <T extends import("./codec").Codec>({ codec, audioCodecSetting, extension, preferLossless, separateAudioTo, }: {
219
+ codec: T;
220
+ audioCodecSetting: import("./options/audio-codec").AudioCodec | null;
221
+ extension: string;
222
+ preferLossless: boolean;
223
+ separateAudioTo: string | null;
224
+ }) => void;
225
+ options: {
226
+ audioCodecOption: {
227
+ cliFlag: "audio-codec";
228
+ setConfig: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => void;
229
+ getValue: ({ commandLine }: {
230
+ commandLine: Record<string, unknown>;
231
+ }) => {
232
+ source: string;
233
+ value: import("./options/audio-codec").AudioCodec;
234
+ } | {
235
+ source: string;
236
+ value: null;
237
+ };
238
+ description: () => string;
239
+ docLink: string;
240
+ name: string;
241
+ ssrName: "audioCodec";
242
+ type: import("./options/audio-codec").AudioCodec;
243
+ };
244
+ scaleOption: {
245
+ name: string;
246
+ cliFlag: "scale";
247
+ description: () => import("react/jsx-runtime").JSX.Element;
248
+ ssrName: string;
249
+ docLink: string;
250
+ type: number;
251
+ getValue: ({ commandLine }: {
252
+ commandLine: Record<string, unknown>;
253
+ }) => {
254
+ source: string;
255
+ value: number;
256
+ };
257
+ setConfig: (scale: number) => void;
258
+ };
259
+ crfOption: {
260
+ name: string;
261
+ cliFlag: "crf";
262
+ description: () => import("react/jsx-runtime").JSX.Element;
263
+ ssrName: string;
264
+ docLink: string;
265
+ type: number;
266
+ getValue: ({ commandLine }: {
267
+ commandLine: Record<string, unknown>;
268
+ }) => {
269
+ source: string;
270
+ value: import("./crf").Crf;
271
+ };
272
+ setConfig: (crf: import("./crf").Crf) => void;
273
+ };
274
+ jpegQualityOption: {
275
+ name: string;
276
+ cliFlag: "jpeg-quality";
277
+ description: () => import("react/jsx-runtime").JSX.Element;
278
+ ssrName: string;
279
+ docLink: string;
280
+ type: number;
281
+ setConfig: (q: number | undefined) => void;
282
+ getValue: ({ commandLine }: {
283
+ commandLine: Record<string, unknown>;
284
+ }) => {
285
+ source: string;
286
+ value: number;
287
+ };
288
+ };
289
+ videoBitrateOption: {
290
+ name: string;
291
+ cliFlag: "video-bitrate";
292
+ description: () => import("react/jsx-runtime").JSX.Element;
293
+ ssrName: string;
294
+ docLink: string;
295
+ type: string | null;
296
+ getValue: ({ commandLine }: {
297
+ commandLine: Record<string, unknown>;
298
+ }) => {
299
+ source: string;
300
+ value: string | null;
301
+ };
302
+ setConfig: (bitrate: string | null) => void;
303
+ };
304
+ audioBitrateOption: {
305
+ name: string;
306
+ cliFlag: "audio-bitrate";
307
+ description: () => import("react/jsx-runtime").JSX.Element;
308
+ ssrName: string;
309
+ docLink: string;
310
+ type: string;
311
+ getValue: ({ commandLine }: {
312
+ commandLine: Record<string, unknown>;
313
+ }) => {
314
+ value: string;
315
+ source: string;
316
+ } | {
317
+ value: null;
318
+ source: string;
319
+ };
320
+ setConfig: (value: string | null) => void;
321
+ };
322
+ enforceAudioOption: {
323
+ name: string;
324
+ cliFlag: "enforce-audio-track";
325
+ description: () => import("react/jsx-runtime").JSX.Element;
326
+ ssrName: string;
327
+ docLink: string;
328
+ type: boolean;
329
+ getValue: ({ commandLine }: {
330
+ commandLine: Record<string, unknown>;
331
+ }) => {
332
+ source: string;
333
+ value: true;
334
+ } | {
335
+ source: string;
336
+ value: false;
337
+ };
338
+ setConfig: (value: boolean) => void;
339
+ };
340
+ mutedOption: {
341
+ name: string;
342
+ cliFlag: "muted";
343
+ description: () => import("react/jsx-runtime").JSX.Element;
344
+ ssrName: string;
345
+ docLink: string;
346
+ type: boolean;
347
+ getValue: ({ commandLine }: {
348
+ commandLine: Record<string, unknown>;
349
+ }) => {
350
+ source: string;
351
+ value: boolean;
352
+ };
353
+ setConfig: () => void;
354
+ };
355
+ videoCodecOption: {
356
+ name: string;
357
+ cliFlag: "codec";
358
+ description: () => import("react/jsx-runtime").JSX.Element;
359
+ ssrName: string;
360
+ docLink: string;
361
+ type: import("./codec").Codec;
362
+ getValue: ({ commandLine }: {
363
+ commandLine: Record<string, unknown>;
364
+ }, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
365
+ outName: string | null;
366
+ downloadName: string | null;
367
+ configFile: import("./codec").Codec | null;
368
+ uiCodec: import("./codec").Codec | null;
369
+ compositionCodec: import("./codec").Codec | null;
370
+ }) => {
371
+ value: import("./codec").Codec;
372
+ source: string;
373
+ };
374
+ setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
375
+ };
376
+ offthreadVideoCacheSizeInBytesOption: {
377
+ name: string;
378
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
379
+ description: () => import("react/jsx-runtime").JSX.Element;
380
+ ssrName: "offthreadVideoCacheSizeInBytes";
381
+ docLink: string;
382
+ type: number | null;
383
+ getValue: ({ commandLine }: {
384
+ commandLine: Record<string, unknown>;
385
+ }) => {
386
+ source: string;
387
+ value: number;
388
+ } | {
389
+ source: string;
390
+ value: null;
391
+ };
392
+ setConfig: (size: number | null) => void;
393
+ };
394
+ offthreadVideoThreadsOption: {
395
+ name: string;
396
+ cliFlag: "offthreadvideo-video-threads";
397
+ description: () => import("react/jsx-runtime").JSX.Element;
398
+ ssrName: "offthreadVideoThreads";
399
+ docLink: string;
400
+ type: number | null;
401
+ getValue: ({ commandLine }: {
402
+ commandLine: Record<string, unknown>;
403
+ }) => {
404
+ source: string;
405
+ value: number;
406
+ } | {
407
+ source: string;
408
+ value: null;
409
+ };
410
+ setConfig: (size: number | null) => void;
411
+ };
412
+ webhookCustomDataOption: {
413
+ name: string;
414
+ cliFlag: "webhook-custom-data";
415
+ description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
416
+ ssrName: "customData";
417
+ docLink: string;
418
+ type: Record<string, unknown> | null;
419
+ getValue: () => never;
420
+ setConfig: () => never;
421
+ };
422
+ colorSpaceOption: {
423
+ name: string;
424
+ cliFlag: "color-space";
425
+ description: () => import("react/jsx-runtime").JSX.Element;
426
+ docLink: string;
427
+ ssrName: string;
428
+ type: import("./options/color-space").ColorSpace | null;
429
+ getValue: ({ commandLine }: {
430
+ commandLine: Record<string, unknown>;
431
+ }) => {
432
+ source: string;
433
+ value: import("./options/color-space").ColorSpace;
434
+ };
435
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
436
+ };
437
+ deleteAfterOption: {
438
+ name: string;
439
+ cliFlag: "delete-after";
440
+ description: () => import("react/jsx-runtime").JSX.Element;
441
+ ssrName: "deleteAfter";
442
+ docLink: string;
443
+ type: import(".").DeleteAfter | null;
444
+ getValue: ({ commandLine }: {
445
+ commandLine: Record<string, unknown>;
446
+ }) => {
447
+ source: string;
448
+ value: import(".").DeleteAfter;
449
+ } | {
450
+ source: string;
451
+ value: null;
452
+ };
453
+ setConfig: (value: import(".").DeleteAfter | null) => void;
454
+ };
455
+ disallowParallelEncodingOption: {
456
+ name: string;
457
+ cliFlag: "disallow-parallel-encoding";
458
+ description: () => import("react/jsx-runtime").JSX.Element;
459
+ ssrName: string;
460
+ docLink: string;
461
+ type: boolean;
462
+ getValue: ({ commandLine }: {
463
+ commandLine: Record<string, unknown>;
464
+ }) => {
465
+ value: boolean;
466
+ source: string;
467
+ };
468
+ setConfig(value: boolean): void;
469
+ };
470
+ folderExpiryOption: {
471
+ name: string;
472
+ cliFlag: "enable-folder-expiry";
473
+ description: () => import("react/jsx-runtime").JSX.Element;
474
+ ssrName: "enableFolderExpiry";
475
+ docLink: string;
476
+ type: boolean | null;
477
+ getValue: ({ commandLine }: {
478
+ commandLine: Record<string, unknown>;
479
+ }) => {
480
+ source: string;
481
+ value: boolean | null;
482
+ };
483
+ setConfig: (value: boolean | null) => void;
484
+ };
485
+ enableMultiprocessOnLinuxOption: {
486
+ name: string;
487
+ cliFlag: "enable-multiprocess-on-linux";
488
+ description: () => import("react/jsx-runtime").JSX.Element;
489
+ ssrName: string;
490
+ docLink: string;
491
+ type: boolean;
492
+ getValue: ({ commandLine }: {
493
+ commandLine: Record<string, unknown>;
494
+ }) => {
495
+ source: string;
496
+ value: boolean;
497
+ };
498
+ setConfig: (value: boolean) => void;
499
+ };
500
+ glOption: {
501
+ cliFlag: "gl";
502
+ docLink: string;
503
+ name: string;
504
+ type: import("./options/gl").OpenGlRenderer | null;
505
+ ssrName: string;
506
+ description: () => import("react/jsx-runtime").JSX.Element;
507
+ getValue: ({ commandLine }: {
508
+ commandLine: Record<string, unknown>;
509
+ }) => {
510
+ value: import("./options/gl").OpenGlRenderer;
511
+ source: string;
512
+ } | {
513
+ value: null;
514
+ source: string;
515
+ };
516
+ setConfig: (value: import("./options/gl").OpenGlRenderer | null) => void;
517
+ };
518
+ enableLambdaInsights: {
519
+ name: string;
520
+ cliFlag: "enable-lambda-insights";
521
+ description: () => import("react/jsx-runtime").JSX.Element;
522
+ ssrName: string;
523
+ docLink: string;
524
+ type: boolean;
525
+ setConfig: (value: boolean) => void;
526
+ getValue: ({ commandLine }: {
527
+ commandLine: Record<string, unknown>;
528
+ }) => {
529
+ value: boolean;
530
+ source: string;
531
+ };
532
+ };
533
+ encodingMaxRateOption: {
534
+ name: string;
535
+ cliFlag: "max-rate";
536
+ description: () => import("react/jsx-runtime").JSX.Element;
537
+ ssrName: "encodingMaxRate";
538
+ docLink: string;
539
+ type: string | null;
540
+ getValue: ({ commandLine }: {
541
+ commandLine: Record<string, unknown>;
542
+ }) => {
543
+ value: string;
544
+ source: string;
545
+ } | {
546
+ value: null;
547
+ source: string;
548
+ };
549
+ setConfig: (newMaxRate: string | null) => void;
550
+ };
551
+ encodingBufferSizeOption: {
552
+ name: string;
553
+ cliFlag: "buffer-size";
554
+ description: () => import("react/jsx-runtime").JSX.Element;
555
+ ssrName: "encodingBufferSize";
556
+ docLink: string;
557
+ type: string | null;
558
+ getValue: ({ commandLine }: {
559
+ commandLine: Record<string, unknown>;
560
+ }) => {
561
+ value: string;
562
+ source: string;
563
+ } | {
564
+ value: null;
565
+ source: string;
566
+ };
567
+ setConfig: (bitrate: string | null) => void;
568
+ };
569
+ beepOnFinishOption: {
570
+ name: string;
571
+ cliFlag: "beep-on-finish";
572
+ description: () => import("react/jsx-runtime").JSX.Element;
573
+ ssrName: null;
574
+ docLink: string;
575
+ type: boolean;
576
+ getValue: ({ commandLine }: {
577
+ commandLine: Record<string, unknown>;
578
+ }) => {
579
+ value: boolean;
580
+ source: string;
581
+ };
582
+ setConfig(value: boolean): void;
583
+ };
584
+ numberOfGifLoopsOption: {
585
+ name: string;
586
+ cliFlag: "number-of-gif-loops";
587
+ description: () => import("react/jsx-runtime").JSX.Element;
588
+ ssrName: "numberOfGifLoops";
589
+ docLink: string;
590
+ type: number | null;
591
+ getValue: ({ commandLine }: {
592
+ commandLine: Record<string, unknown>;
593
+ }) => {
594
+ value: number;
595
+ source: string;
596
+ } | {
597
+ value: null;
598
+ source: string;
599
+ };
600
+ setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
601
+ };
602
+ reproOption: {
603
+ name: string;
604
+ cliFlag: "repro";
605
+ description: () => import("react/jsx-runtime").JSX.Element;
606
+ ssrName: string;
607
+ docLink: string;
608
+ type: boolean;
609
+ getValue: ({ commandLine }: {
610
+ commandLine: Record<string, unknown>;
611
+ }) => {
612
+ value: boolean;
613
+ source: string;
614
+ };
615
+ setConfig: (should: boolean) => void;
616
+ };
617
+ preferLosslessOption: {
618
+ name: string;
619
+ cliFlag: "prefer-lossless";
620
+ description: () => import("react/jsx-runtime").JSX.Element;
621
+ docLink: string;
622
+ type: boolean;
623
+ ssrName: "preferLossless";
624
+ getValue: ({ commandLine }: {
625
+ commandLine: Record<string, unknown>;
626
+ }) => {
627
+ value: true;
628
+ source: string;
629
+ } | {
630
+ value: false;
631
+ source: string;
632
+ };
633
+ setConfig: (val: boolean) => void;
634
+ };
635
+ x264Option: {
636
+ name: string;
637
+ cliFlag: "x264-preset";
638
+ description: () => import("react/jsx-runtime").JSX.Element;
639
+ ssrName: "x264Preset";
640
+ docLink: string;
641
+ type: import("./options/x264-preset").X264Preset | null;
642
+ getValue: ({ commandLine }: {
643
+ commandLine: Record<string, unknown>;
644
+ }) => {
645
+ value: import("./options/x264-preset").X264Preset;
646
+ source: string;
647
+ } | {
648
+ value: null;
649
+ source: string;
650
+ };
651
+ setConfig: (profile: import("./options/x264-preset").X264Preset | null) => void;
652
+ };
653
+ logLevelOption: {
654
+ cliFlag: "log";
655
+ name: string;
656
+ ssrName: string;
657
+ description: () => import("react/jsx-runtime").JSX.Element;
658
+ docLink: string;
659
+ getValue: ({ commandLine }: {
660
+ commandLine: Record<string, unknown>;
661
+ }) => {
662
+ value: import("./log-level").LogLevel;
663
+ source: string;
664
+ };
665
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
666
+ type: import("./log-level").LogLevel;
667
+ };
668
+ delayRenderTimeoutInMillisecondsOption: {
669
+ name: string;
670
+ cliFlag: "timeout";
671
+ description: () => import("react/jsx-runtime").JSX.Element;
672
+ ssrName: "timeoutInMilliseconds";
673
+ docLink: string;
674
+ type: number;
675
+ getValue: ({ commandLine }: {
676
+ commandLine: Record<string, unknown>;
677
+ }) => {
678
+ source: string;
679
+ value: number;
680
+ };
681
+ setConfig: (value: number) => void;
682
+ };
683
+ headlessOption: {
684
+ name: string;
685
+ cliFlag: "disable-headless";
686
+ description: () => import("react/jsx-runtime").JSX.Element;
687
+ ssrName: string;
688
+ docLink: string;
689
+ type: boolean;
690
+ getValue: ({ commandLine }: {
691
+ commandLine: Record<string, unknown>;
692
+ }) => {
693
+ source: string;
694
+ value: boolean;
695
+ };
696
+ setConfig: (value: boolean) => void;
697
+ };
698
+ overwriteOption: {
699
+ name: string;
700
+ cliFlag: "overwrite";
701
+ description: () => import("react/jsx-runtime").JSX.Element;
702
+ ssrName: string;
703
+ docLink: string;
704
+ type: boolean;
705
+ getValue: ({ commandLine }: {
706
+ commandLine: Record<string, unknown>;
707
+ }, defaultValue: boolean) => {
708
+ source: string;
709
+ value: boolean;
710
+ };
711
+ setConfig: (value: boolean) => void;
712
+ };
713
+ binariesDirectoryOption: {
714
+ name: string;
715
+ cliFlag: "binaries-directory";
716
+ description: () => import("react/jsx-runtime").JSX.Element;
717
+ ssrName: "binariesDirectory";
718
+ docLink: string;
719
+ type: string | null;
720
+ getValue: ({ commandLine }: {
721
+ commandLine: Record<string, unknown>;
722
+ }) => {
723
+ source: string;
724
+ value: string | null;
725
+ };
726
+ setConfig: (value: string | null) => void;
727
+ };
728
+ forSeamlessAacConcatenationOption: {
729
+ name: string;
730
+ cliFlag: "for-seamless-aac-concatenation";
731
+ description: () => import("react/jsx-runtime").JSX.Element;
732
+ docLink: string;
733
+ getValue: ({ commandLine }: {
734
+ commandLine: Record<string, unknown>;
735
+ }) => {
736
+ source: string;
737
+ value: true;
738
+ } | {
739
+ source: string;
740
+ value: false;
741
+ };
742
+ setConfig: (value: boolean) => void;
743
+ ssrName: string;
744
+ type: boolean;
745
+ };
746
+ separateAudioOption: {
747
+ cliFlag: string;
748
+ description: () => string;
749
+ docLink: string;
750
+ getValue: ({ commandLine }: {
751
+ commandLine: Record<string, unknown>;
752
+ }) => {
753
+ source: string;
754
+ value: string;
755
+ } | {
756
+ source: string;
757
+ value: null;
758
+ };
759
+ name: string;
760
+ setConfig: () => never;
761
+ ssrName: string;
762
+ type: string | null;
763
+ };
764
+ publicPathOption: {
765
+ name: string;
766
+ cliFlag: "public-path";
767
+ description: () => import("react/jsx-runtime").JSX.Element;
768
+ ssrName: "publicPath";
769
+ docLink: string;
770
+ getValue: ({ commandLine }: {
771
+ commandLine: Record<string, unknown>;
772
+ }) => {
773
+ source: string;
774
+ value: string;
775
+ } | {
776
+ source: string;
777
+ value: null;
778
+ };
779
+ setConfig: (value: string | null) => void;
780
+ type: string | null;
781
+ };
782
+ publicDirOption: {
783
+ name: string;
784
+ cliFlag: "public-dir";
785
+ description: () => import("react/jsx-runtime").JSX.Element;
786
+ ssrName: "publicDir";
787
+ docLink: string;
788
+ getValue: ({ commandLine }: {
789
+ commandLine: Record<string, unknown>;
790
+ }) => {
791
+ source: string;
792
+ value: string;
793
+ } | {
794
+ source: string;
795
+ value: null;
796
+ };
797
+ setConfig: (value: string | null) => void;
798
+ type: string | null;
799
+ };
800
+ onBrowserDownloadOption: {
801
+ name: string;
802
+ cliFlag: "on-browser-download";
803
+ description: () => import("react/jsx-runtime").JSX.Element;
804
+ ssrName: "onBrowserDownload";
805
+ docLink: string;
806
+ type: import(".").OnBrowserDownload;
807
+ getValue: () => never;
808
+ setConfig: () => never;
809
+ };
810
+ throwIfSiteExistsOption: {
811
+ cliFlag: string;
812
+ description: () => string;
813
+ docLink: string;
814
+ getValue: ({ commandLine }: {
815
+ commandLine: Record<string, unknown>;
816
+ }) => {
817
+ source: string;
818
+ value: boolean;
819
+ };
820
+ name: string;
821
+ setConfig: () => never;
822
+ ssrName: string;
823
+ type: boolean;
824
+ };
825
+ disableGitSourceOption: {
826
+ cliFlag: string;
827
+ description: () => string;
828
+ docLink: string;
829
+ getValue: ({ commandLine }: {
830
+ commandLine: Record<string, unknown>;
831
+ }) => {
832
+ source: string;
833
+ value: boolean;
834
+ };
835
+ name: string;
836
+ setConfig: () => never;
837
+ ssrName: string;
838
+ type: boolean;
839
+ };
840
+ metadataOption: {
841
+ name: string;
842
+ cliFlag: "metadata";
843
+ description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
844
+ docLink: string;
845
+ type: import("./options/metadata").Metadata;
846
+ getValue: ({ commandLine }: {
847
+ commandLine: Record<string, unknown>;
848
+ }) => {
849
+ source: string;
850
+ value: {
851
+ [k: string]: string;
852
+ };
853
+ };
854
+ setConfig: (newMetadata: import("./options/metadata").Metadata) => void;
855
+ ssrName: string;
856
+ };
857
+ hardwareAccelerationOption: {
858
+ name: string;
859
+ cliFlag: "hardware-acceleration";
860
+ description: () => string;
861
+ ssrName: string;
862
+ docLink: string;
863
+ type: import("./options/hardware-acceleration").HardwareAccelerationOption;
864
+ getValue: ({ commandLine }: {
865
+ commandLine: Record<string, unknown>;
866
+ }) => {
867
+ source: string;
868
+ value: "disable" | "if-possible" | "required";
869
+ };
870
+ setConfig: (value: import("./options/hardware-acceleration").HardwareAccelerationOption) => void;
871
+ };
872
+ chromeModeOption: {
873
+ cliFlag: "chrome-mode";
874
+ name: string;
875
+ ssrName: string;
876
+ description: () => import("react/jsx-runtime").JSX.Element;
877
+ docLink: string;
878
+ getValue: ({ commandLine }: {
879
+ commandLine: Record<string, unknown>;
880
+ }) => {
881
+ value: import("./options/chrome-mode").ChromeMode;
882
+ source: string;
883
+ };
884
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
885
+ type: import("./options/chrome-mode").ChromeMode;
886
+ };
887
+ apiKeyOption: {
888
+ name: string;
889
+ cliFlag: "api-key";
890
+ description: () => import("react/jsx-runtime").JSX.Element;
891
+ ssrName: "apiKey";
892
+ docLink: string;
893
+ type: string | null;
894
+ getValue: ({ commandLine }: {
895
+ commandLine: Record<string, unknown>;
896
+ }) => {
897
+ source: string;
898
+ value: string | null;
899
+ };
900
+ setConfig: (value: string | null) => void;
901
+ };
902
+ audioLatencyHintOption: {
903
+ name: string;
904
+ cliFlag: "audio-latency-hint";
905
+ description: () => import("react/jsx-runtime").JSX.Element;
906
+ ssrName: "audioLatencyHint";
907
+ docLink: string;
908
+ type: AudioContextLatencyCategory;
909
+ getValue: ({ commandLine }: {
910
+ commandLine: Record<string, unknown>;
911
+ }) => {
912
+ value: AudioContextLatencyCategory;
913
+ source: string;
914
+ } | {
915
+ value: null;
916
+ source: string;
917
+ };
918
+ setConfig: (profile: AudioContextLatencyCategory | null) => void;
919
+ };
920
+ enableCrossSiteIsolationOption: {
921
+ name: string;
922
+ cliFlag: "cross-site-isolation";
923
+ description: () => import("react/jsx-runtime").JSX.Element;
924
+ ssrName: null;
925
+ docLink: string;
926
+ type: boolean;
927
+ getValue: ({ commandLine }: {
928
+ commandLine: Record<string, unknown>;
929
+ }) => {
930
+ value: boolean;
931
+ source: string;
932
+ };
933
+ setConfig(value: boolean): void;
934
+ };
935
+ imageSequencePatternOption: {
936
+ name: string;
937
+ cliFlag: "image-sequence-pattern";
938
+ ssrName: string;
939
+ description: () => import("react/jsx-runtime").JSX.Element;
940
+ docLink: null;
941
+ type: string | null;
942
+ getValue: ({ commandLine }: {
943
+ commandLine: Record<string, unknown>;
944
+ }) => {
945
+ value: string;
946
+ source: string;
947
+ };
948
+ setConfig: (pattern: string | null) => void;
949
+ };
950
+ mediaCacheSizeInBytesOption: {
951
+ name: string;
952
+ cliFlag: "media-cache-size-in-bytes";
953
+ description: () => import("react/jsx-runtime").JSX.Element;
954
+ ssrName: "mediaCacheSizeInBytes";
955
+ docLink: string;
956
+ type: number | null;
957
+ getValue: ({ commandLine }: {
958
+ commandLine: Record<string, unknown>;
959
+ }) => {
960
+ source: string;
961
+ value: number;
962
+ } | {
963
+ source: string;
964
+ value: null;
965
+ };
966
+ setConfig: (size: number | null) => void;
967
+ };
968
+ };
969
+ validColorSpaces: readonly ["default", "bt709", "bt2020-ncl"];
970
+ optionsMap: {
971
+ readonly renderMedia: {
972
+ readonly mediaCacheSizeInBytes: {
973
+ name: string;
974
+ cliFlag: "media-cache-size-in-bytes";
975
+ description: () => import("react/jsx-runtime").JSX.Element;
976
+ ssrName: "mediaCacheSizeInBytes";
977
+ docLink: string;
978
+ type: number | null;
979
+ getValue: ({ commandLine }: {
980
+ commandLine: Record<string, unknown>;
981
+ }) => {
982
+ source: string;
983
+ value: number;
984
+ } | {
985
+ source: string;
986
+ value: null;
987
+ };
988
+ setConfig: (size: number | null) => void;
989
+ };
990
+ readonly offthreadVideoCacheSizeInBytes: {
991
+ name: string;
992
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
993
+ description: () => import("react/jsx-runtime").JSX.Element;
994
+ ssrName: "offthreadVideoCacheSizeInBytes";
995
+ docLink: string;
996
+ type: number | null;
997
+ getValue: ({ commandLine }: {
998
+ commandLine: Record<string, unknown>;
999
+ }) => {
1000
+ source: string;
1001
+ value: number;
1002
+ } | {
1003
+ source: string;
1004
+ value: null;
1005
+ };
1006
+ setConfig: (size: number | null) => void;
1007
+ };
1008
+ readonly offthreadVideoThreads: {
1009
+ name: string;
1010
+ cliFlag: "offthreadvideo-video-threads";
1011
+ description: () => import("react/jsx-runtime").JSX.Element;
1012
+ ssrName: "offthreadVideoThreads";
1013
+ docLink: string;
1014
+ type: number | null;
1015
+ getValue: ({ commandLine }: {
1016
+ commandLine: Record<string, unknown>;
1017
+ }) => {
1018
+ source: string;
1019
+ value: number;
1020
+ } | {
1021
+ source: string;
1022
+ value: null;
1023
+ };
1024
+ setConfig: (size: number | null) => void;
1025
+ };
1026
+ readonly videoBitrate: {
1027
+ name: string;
1028
+ cliFlag: "video-bitrate";
1029
+ description: () => import("react/jsx-runtime").JSX.Element;
1030
+ ssrName: string;
1031
+ docLink: string;
1032
+ type: string | null;
1033
+ getValue: ({ commandLine }: {
1034
+ commandLine: Record<string, unknown>;
1035
+ }) => {
1036
+ source: string;
1037
+ value: string | null;
1038
+ };
1039
+ setConfig: (bitrate: string | null) => void;
1040
+ };
1041
+ readonly numberOfGifLoops: {
1042
+ name: string;
1043
+ cliFlag: "number-of-gif-loops";
1044
+ description: () => import("react/jsx-runtime").JSX.Element;
1045
+ ssrName: "numberOfGifLoops";
1046
+ docLink: string;
1047
+ type: number | null;
1048
+ getValue: ({ commandLine }: {
1049
+ commandLine: Record<string, unknown>;
1050
+ }) => {
1051
+ value: number;
1052
+ source: string;
1053
+ } | {
1054
+ value: null;
1055
+ source: string;
1056
+ };
1057
+ setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
1058
+ };
1059
+ readonly repro: {
1060
+ name: string;
1061
+ cliFlag: "repro";
1062
+ description: () => import("react/jsx-runtime").JSX.Element;
1063
+ ssrName: string;
1064
+ docLink: string;
1065
+ type: boolean;
1066
+ getValue: ({ commandLine }: {
1067
+ commandLine: Record<string, unknown>;
1068
+ }) => {
1069
+ value: boolean;
1070
+ source: string;
1071
+ };
1072
+ setConfig: (should: boolean) => void;
1073
+ };
1074
+ readonly x264Preset: {
1075
+ name: string;
1076
+ cliFlag: "x264-preset";
1077
+ description: () => import("react/jsx-runtime").JSX.Element;
1078
+ ssrName: "x264Preset";
1079
+ docLink: string;
1080
+ type: import("./options/x264-preset").X264Preset | null;
1081
+ getValue: ({ commandLine }: {
1082
+ commandLine: Record<string, unknown>;
1083
+ }) => {
1084
+ value: import("./options/x264-preset").X264Preset;
1085
+ source: string;
1086
+ } | {
1087
+ value: null;
1088
+ source: string;
1089
+ };
1090
+ setConfig: (profile: import("./options/x264-preset").X264Preset | null) => void;
1091
+ };
1092
+ readonly audioBitrate: {
1093
+ name: string;
1094
+ cliFlag: "audio-bitrate";
1095
+ description: () => import("react/jsx-runtime").JSX.Element;
1096
+ ssrName: string;
1097
+ docLink: string;
1098
+ type: string;
1099
+ getValue: ({ commandLine }: {
1100
+ commandLine: Record<string, unknown>;
1101
+ }) => {
1102
+ value: string;
1103
+ source: string;
1104
+ } | {
1105
+ value: null;
1106
+ source: string;
1107
+ };
1108
+ setConfig: (value: string | null) => void;
1109
+ };
1110
+ readonly colorSpace: {
1111
+ name: string;
1112
+ cliFlag: "color-space";
1113
+ description: () => import("react/jsx-runtime").JSX.Element;
1114
+ docLink: string;
1115
+ ssrName: string;
1116
+ type: import("./options/color-space").ColorSpace | null;
1117
+ getValue: ({ commandLine }: {
1118
+ commandLine: Record<string, unknown>;
1119
+ }) => {
1120
+ source: string;
1121
+ value: import("./options/color-space").ColorSpace;
1122
+ };
1123
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
1124
+ };
1125
+ readonly codec: {
1126
+ name: string;
1127
+ cliFlag: "codec";
1128
+ description: () => import("react/jsx-runtime").JSX.Element;
1129
+ ssrName: string;
1130
+ docLink: string;
1131
+ type: import("./codec").Codec;
1132
+ getValue: ({ commandLine }: {
1133
+ commandLine: Record<string, unknown>;
1134
+ }, { compositionCodec, configFile, downloadName, outName, uiCodec, }: {
1135
+ outName: string | null;
1136
+ downloadName: string | null;
1137
+ configFile: import("./codec").Codec | null;
1138
+ uiCodec: import("./codec").Codec | null;
1139
+ compositionCodec: import("./codec").Codec | null;
1140
+ }) => {
1141
+ value: import("./codec").Codec;
1142
+ source: string;
1143
+ };
1144
+ setConfig: (newCodec: import("./codec").CodecOrUndefined) => void;
1145
+ };
1146
+ readonly disallowParallelEncoding: {
1147
+ name: string;
1148
+ cliFlag: "disallow-parallel-encoding";
1149
+ description: () => import("react/jsx-runtime").JSX.Element;
1150
+ ssrName: string;
1151
+ docLink: string;
1152
+ type: boolean;
1153
+ getValue: ({ commandLine }: {
1154
+ commandLine: Record<string, unknown>;
1155
+ }) => {
1156
+ value: boolean;
1157
+ source: string;
1158
+ };
1159
+ setConfig(value: boolean): void;
1160
+ };
1161
+ readonly jpegQuality: {
1162
+ name: string;
1163
+ cliFlag: "jpeg-quality";
1164
+ description: () => import("react/jsx-runtime").JSX.Element;
1165
+ ssrName: string;
1166
+ docLink: string;
1167
+ type: number;
1168
+ setConfig: (q: number | undefined) => void;
1169
+ getValue: ({ commandLine }: {
1170
+ commandLine: Record<string, unknown>;
1171
+ }) => {
1172
+ source: string;
1173
+ value: number;
1174
+ };
1175
+ };
1176
+ readonly encodingMaxRate: {
1177
+ name: string;
1178
+ cliFlag: "max-rate";
1179
+ description: () => import("react/jsx-runtime").JSX.Element;
1180
+ ssrName: "encodingMaxRate";
1181
+ docLink: string;
1182
+ type: string | null;
1183
+ getValue: ({ commandLine }: {
1184
+ commandLine: Record<string, unknown>;
1185
+ }) => {
1186
+ value: string;
1187
+ source: string;
1188
+ } | {
1189
+ value: null;
1190
+ source: string;
1191
+ };
1192
+ setConfig: (newMaxRate: string | null) => void;
1193
+ };
1194
+ readonly encodingBufferSize: {
1195
+ name: string;
1196
+ cliFlag: "buffer-size";
1197
+ description: () => import("react/jsx-runtime").JSX.Element;
1198
+ ssrName: "encodingBufferSize";
1199
+ docLink: string;
1200
+ type: string | null;
1201
+ getValue: ({ commandLine }: {
1202
+ commandLine: Record<string, unknown>;
1203
+ }) => {
1204
+ value: string;
1205
+ source: string;
1206
+ } | {
1207
+ value: null;
1208
+ source: string;
1209
+ };
1210
+ setConfig: (bitrate: string | null) => void;
1211
+ };
1212
+ readonly muted: {
1213
+ name: string;
1214
+ cliFlag: "muted";
1215
+ description: () => import("react/jsx-runtime").JSX.Element;
1216
+ ssrName: string;
1217
+ docLink: string;
1218
+ type: boolean;
1219
+ getValue: ({ commandLine }: {
1220
+ commandLine: Record<string, unknown>;
1221
+ }) => {
1222
+ source: string;
1223
+ value: boolean;
1224
+ };
1225
+ setConfig: () => void;
1226
+ };
1227
+ readonly logLevel: {
1228
+ cliFlag: "log";
1229
+ name: string;
1230
+ ssrName: string;
1231
+ description: () => import("react/jsx-runtime").JSX.Element;
1232
+ docLink: string;
1233
+ getValue: ({ commandLine }: {
1234
+ commandLine: Record<string, unknown>;
1235
+ }) => {
1236
+ value: import("./log-level").LogLevel;
1237
+ source: string;
1238
+ };
1239
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1240
+ type: import("./log-level").LogLevel;
1241
+ };
1242
+ readonly timeoutInMilliseconds: {
1243
+ name: string;
1244
+ cliFlag: "timeout";
1245
+ description: () => import("react/jsx-runtime").JSX.Element;
1246
+ ssrName: "timeoutInMilliseconds";
1247
+ docLink: string;
1248
+ type: number;
1249
+ getValue: ({ commandLine }: {
1250
+ commandLine: Record<string, unknown>;
1251
+ }) => {
1252
+ source: string;
1253
+ value: number;
1254
+ };
1255
+ setConfig: (value: number) => void;
1256
+ };
1257
+ readonly binariesDirectory: {
1258
+ name: string;
1259
+ cliFlag: "binaries-directory";
1260
+ description: () => import("react/jsx-runtime").JSX.Element;
1261
+ ssrName: "binariesDirectory";
1262
+ docLink: string;
1263
+ type: string | null;
1264
+ getValue: ({ commandLine }: {
1265
+ commandLine: Record<string, unknown>;
1266
+ }) => {
1267
+ source: string;
1268
+ value: string | null;
1269
+ };
1270
+ setConfig: (value: string | null) => void;
1271
+ };
1272
+ readonly forSeamlessAacConcatenation: {
1273
+ name: string;
1274
+ cliFlag: "for-seamless-aac-concatenation";
1275
+ description: () => import("react/jsx-runtime").JSX.Element;
1276
+ docLink: string;
1277
+ getValue: ({ commandLine }: {
1278
+ commandLine: Record<string, unknown>;
1279
+ }) => {
1280
+ source: string;
1281
+ value: true;
1282
+ } | {
1283
+ source: string;
1284
+ value: false;
1285
+ };
1286
+ setConfig: (value: boolean) => void;
1287
+ ssrName: string;
1288
+ type: boolean;
1289
+ };
1290
+ readonly separateAudioTo: {
1291
+ cliFlag: string;
1292
+ description: () => string;
1293
+ docLink: string;
1294
+ getValue: ({ commandLine }: {
1295
+ commandLine: Record<string, unknown>;
1296
+ }) => {
1297
+ source: string;
1298
+ value: string;
1299
+ } | {
1300
+ source: string;
1301
+ value: null;
1302
+ };
1303
+ name: string;
1304
+ setConfig: () => never;
1305
+ ssrName: string;
1306
+ type: string | null;
1307
+ };
1308
+ readonly audioCodec: {
1309
+ cliFlag: "audio-codec";
1310
+ setConfig: (audioCodec: "mp3" | "aac" | "pcm-16" | "opus" | null) => void;
1311
+ getValue: ({ commandLine }: {
1312
+ commandLine: Record<string, unknown>;
1313
+ }) => {
1314
+ source: string;
1315
+ value: import("./options/audio-codec").AudioCodec;
1316
+ } | {
1317
+ source: string;
1318
+ value: null;
1319
+ };
1320
+ description: () => string;
1321
+ docLink: string;
1322
+ name: string;
1323
+ ssrName: "audioCodec";
1324
+ type: import("./options/audio-codec").AudioCodec;
1325
+ };
1326
+ readonly onBrowserDownload: {
1327
+ name: string;
1328
+ cliFlag: "on-browser-download";
1329
+ description: () => import("react/jsx-runtime").JSX.Element;
1330
+ ssrName: "onBrowserDownload";
1331
+ docLink: string;
1332
+ type: import(".").OnBrowserDownload;
1333
+ getValue: () => never;
1334
+ setConfig: () => never;
1335
+ };
1336
+ readonly hardwareAcceleration: {
1337
+ name: string;
1338
+ cliFlag: "hardware-acceleration";
1339
+ description: () => string;
1340
+ ssrName: string;
1341
+ docLink: string;
1342
+ type: import("./options/hardware-acceleration").HardwareAccelerationOption;
1343
+ getValue: ({ commandLine }: {
1344
+ commandLine: Record<string, unknown>;
1345
+ }) => {
1346
+ source: string;
1347
+ value: "disable" | "if-possible" | "required";
1348
+ };
1349
+ setConfig: (value: import("./options/hardware-acceleration").HardwareAccelerationOption) => void;
1350
+ };
1351
+ readonly chromeMode: {
1352
+ cliFlag: "chrome-mode";
1353
+ name: string;
1354
+ ssrName: string;
1355
+ description: () => import("react/jsx-runtime").JSX.Element;
1356
+ docLink: string;
1357
+ getValue: ({ commandLine }: {
1358
+ commandLine: Record<string, unknown>;
1359
+ }) => {
1360
+ value: import("./options/chrome-mode").ChromeMode;
1361
+ source: string;
1362
+ };
1363
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1364
+ type: import("./options/chrome-mode").ChromeMode;
1365
+ };
1366
+ };
1367
+ readonly stitchFramesToVideo: {
1368
+ readonly separateAudioTo: {
1369
+ cliFlag: string;
1370
+ description: () => string;
1371
+ docLink: string;
1372
+ getValue: ({ commandLine }: {
1373
+ commandLine: Record<string, unknown>;
1374
+ }) => {
1375
+ source: string;
1376
+ value: string;
1377
+ } | {
1378
+ source: string;
1379
+ value: null;
1380
+ };
1381
+ name: string;
1382
+ setConfig: () => never;
1383
+ ssrName: string;
1384
+ type: string | null;
1385
+ };
1386
+ readonly hardwareAcceleration: {
1387
+ name: string;
1388
+ cliFlag: "hardware-acceleration";
1389
+ description: () => string;
1390
+ ssrName: string;
1391
+ docLink: string;
1392
+ type: import("./options/hardware-acceleration").HardwareAccelerationOption;
1393
+ getValue: ({ commandLine }: {
1394
+ commandLine: Record<string, unknown>;
1395
+ }) => {
1396
+ source: string;
1397
+ value: "disable" | "if-possible" | "required";
1398
+ };
1399
+ setConfig: (value: import("./options/hardware-acceleration").HardwareAccelerationOption) => void;
1400
+ };
1401
+ };
1402
+ readonly renderStill: {
1403
+ readonly mediaCacheSizeInBytes: {
1404
+ name: string;
1405
+ cliFlag: "media-cache-size-in-bytes";
1406
+ description: () => import("react/jsx-runtime").JSX.Element;
1407
+ ssrName: "mediaCacheSizeInBytes";
1408
+ docLink: string;
1409
+ type: number | null;
1410
+ getValue: ({ commandLine }: {
1411
+ commandLine: Record<string, unknown>;
1412
+ }) => {
1413
+ source: string;
1414
+ value: number;
1415
+ } | {
1416
+ source: string;
1417
+ value: null;
1418
+ };
1419
+ setConfig: (size: number | null) => void;
1420
+ };
1421
+ readonly offthreadVideoCacheSizeInBytes: {
1422
+ name: string;
1423
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
1424
+ description: () => import("react/jsx-runtime").JSX.Element;
1425
+ ssrName: "offthreadVideoCacheSizeInBytes";
1426
+ docLink: string;
1427
+ type: number | null;
1428
+ getValue: ({ commandLine }: {
1429
+ commandLine: Record<string, unknown>;
1430
+ }) => {
1431
+ source: string;
1432
+ value: number;
1433
+ } | {
1434
+ source: string;
1435
+ value: null;
1436
+ };
1437
+ setConfig: (size: number | null) => void;
1438
+ };
1439
+ readonly offthreadVideoThreads: {
1440
+ name: string;
1441
+ cliFlag: "offthreadvideo-video-threads";
1442
+ description: () => import("react/jsx-runtime").JSX.Element;
1443
+ ssrName: "offthreadVideoThreads";
1444
+ docLink: string;
1445
+ type: number | null;
1446
+ getValue: ({ commandLine }: {
1447
+ commandLine: Record<string, unknown>;
1448
+ }) => {
1449
+ source: string;
1450
+ value: number;
1451
+ } | {
1452
+ source: string;
1453
+ value: null;
1454
+ };
1455
+ setConfig: (size: number | null) => void;
1456
+ };
1457
+ readonly jpegQuality: {
1458
+ name: string;
1459
+ cliFlag: "jpeg-quality";
1460
+ description: () => import("react/jsx-runtime").JSX.Element;
1461
+ ssrName: string;
1462
+ docLink: string;
1463
+ type: number;
1464
+ setConfig: (q: number | undefined) => void;
1465
+ getValue: ({ commandLine }: {
1466
+ commandLine: Record<string, unknown>;
1467
+ }) => {
1468
+ source: string;
1469
+ value: number;
1470
+ };
1471
+ };
1472
+ readonly logLevel: {
1473
+ cliFlag: "log";
1474
+ name: string;
1475
+ ssrName: string;
1476
+ description: () => import("react/jsx-runtime").JSX.Element;
1477
+ docLink: string;
1478
+ getValue: ({ commandLine }: {
1479
+ commandLine: Record<string, unknown>;
1480
+ }) => {
1481
+ value: import("./log-level").LogLevel;
1482
+ source: string;
1483
+ };
1484
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1485
+ type: import("./log-level").LogLevel;
1486
+ };
1487
+ readonly timeoutInMilliseconds: {
1488
+ name: string;
1489
+ cliFlag: "timeout";
1490
+ description: () => import("react/jsx-runtime").JSX.Element;
1491
+ ssrName: "timeoutInMilliseconds";
1492
+ docLink: string;
1493
+ type: number;
1494
+ getValue: ({ commandLine }: {
1495
+ commandLine: Record<string, unknown>;
1496
+ }) => {
1497
+ source: string;
1498
+ value: number;
1499
+ };
1500
+ setConfig: (value: number) => void;
1501
+ };
1502
+ readonly binariesDirectory: {
1503
+ name: string;
1504
+ cliFlag: "binaries-directory";
1505
+ description: () => import("react/jsx-runtime").JSX.Element;
1506
+ ssrName: "binariesDirectory";
1507
+ docLink: string;
1508
+ type: string | null;
1509
+ getValue: ({ commandLine }: {
1510
+ commandLine: Record<string, unknown>;
1511
+ }) => {
1512
+ source: string;
1513
+ value: string | null;
1514
+ };
1515
+ setConfig: (value: string | null) => void;
1516
+ };
1517
+ readonly onBrowserDownload: {
1518
+ name: string;
1519
+ cliFlag: "on-browser-download";
1520
+ description: () => import("react/jsx-runtime").JSX.Element;
1521
+ ssrName: "onBrowserDownload";
1522
+ docLink: string;
1523
+ type: import(".").OnBrowserDownload;
1524
+ getValue: () => never;
1525
+ setConfig: () => never;
1526
+ };
1527
+ readonly chromeMode: {
1528
+ cliFlag: "chrome-mode";
1529
+ name: string;
1530
+ ssrName: string;
1531
+ description: () => import("react/jsx-runtime").JSX.Element;
1532
+ docLink: string;
1533
+ getValue: ({ commandLine }: {
1534
+ commandLine: Record<string, unknown>;
1535
+ }) => {
1536
+ value: import("./options/chrome-mode").ChromeMode;
1537
+ source: string;
1538
+ };
1539
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1540
+ type: import("./options/chrome-mode").ChromeMode;
1541
+ };
1542
+ };
1543
+ readonly getCompositions: {
1544
+ readonly mediaCacheSizeInBytes: {
1545
+ name: string;
1546
+ cliFlag: "media-cache-size-in-bytes";
1547
+ description: () => import("react/jsx-runtime").JSX.Element;
1548
+ ssrName: "mediaCacheSizeInBytes";
1549
+ docLink: string;
1550
+ type: number | null;
1551
+ getValue: ({ commandLine }: {
1552
+ commandLine: Record<string, unknown>;
1553
+ }) => {
1554
+ source: string;
1555
+ value: number;
1556
+ } | {
1557
+ source: string;
1558
+ value: null;
1559
+ };
1560
+ setConfig: (size: number | null) => void;
1561
+ };
1562
+ readonly offthreadVideoCacheSizeInBytes: {
1563
+ name: string;
1564
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
1565
+ description: () => import("react/jsx-runtime").JSX.Element;
1566
+ ssrName: "offthreadVideoCacheSizeInBytes";
1567
+ docLink: string;
1568
+ type: number | null;
1569
+ getValue: ({ commandLine }: {
1570
+ commandLine: Record<string, unknown>;
1571
+ }) => {
1572
+ source: string;
1573
+ value: number;
1574
+ } | {
1575
+ source: string;
1576
+ value: null;
1577
+ };
1578
+ setConfig: (size: number | null) => void;
1579
+ };
1580
+ readonly offthreadVideoThreads: {
1581
+ name: string;
1582
+ cliFlag: "offthreadvideo-video-threads";
1583
+ description: () => import("react/jsx-runtime").JSX.Element;
1584
+ ssrName: "offthreadVideoThreads";
1585
+ docLink: string;
1586
+ type: number | null;
1587
+ getValue: ({ commandLine }: {
1588
+ commandLine: Record<string, unknown>;
1589
+ }) => {
1590
+ source: string;
1591
+ value: number;
1592
+ } | {
1593
+ source: string;
1594
+ value: null;
1595
+ };
1596
+ setConfig: (size: number | null) => void;
1597
+ };
1598
+ readonly logLevel: {
1599
+ cliFlag: "log";
1600
+ name: string;
1601
+ ssrName: string;
1602
+ description: () => import("react/jsx-runtime").JSX.Element;
1603
+ docLink: string;
1604
+ getValue: ({ commandLine }: {
1605
+ commandLine: Record<string, unknown>;
1606
+ }) => {
1607
+ value: import("./log-level").LogLevel;
1608
+ source: string;
1609
+ };
1610
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1611
+ type: import("./log-level").LogLevel;
1612
+ };
1613
+ readonly timeoutInMilliseconds: {
1614
+ name: string;
1615
+ cliFlag: "timeout";
1616
+ description: () => import("react/jsx-runtime").JSX.Element;
1617
+ ssrName: "timeoutInMilliseconds";
1618
+ docLink: string;
1619
+ type: number;
1620
+ getValue: ({ commandLine }: {
1621
+ commandLine: Record<string, unknown>;
1622
+ }) => {
1623
+ source: string;
1624
+ value: number;
1625
+ };
1626
+ setConfig: (value: number) => void;
1627
+ };
1628
+ readonly binariesDirectory: {
1629
+ name: string;
1630
+ cliFlag: "binaries-directory";
1631
+ description: () => import("react/jsx-runtime").JSX.Element;
1632
+ ssrName: "binariesDirectory";
1633
+ docLink: string;
1634
+ type: string | null;
1635
+ getValue: ({ commandLine }: {
1636
+ commandLine: Record<string, unknown>;
1637
+ }) => {
1638
+ source: string;
1639
+ value: string | null;
1640
+ };
1641
+ setConfig: (value: string | null) => void;
1642
+ };
1643
+ readonly onBrowserDownload: {
1644
+ name: string;
1645
+ cliFlag: "on-browser-download";
1646
+ description: () => import("react/jsx-runtime").JSX.Element;
1647
+ ssrName: "onBrowserDownload";
1648
+ docLink: string;
1649
+ type: import(".").OnBrowserDownload;
1650
+ getValue: () => never;
1651
+ setConfig: () => never;
1652
+ };
1653
+ readonly chromeMode: {
1654
+ cliFlag: "chrome-mode";
1655
+ name: string;
1656
+ ssrName: string;
1657
+ description: () => import("react/jsx-runtime").JSX.Element;
1658
+ docLink: string;
1659
+ getValue: ({ commandLine }: {
1660
+ commandLine: Record<string, unknown>;
1661
+ }) => {
1662
+ value: import("./options/chrome-mode").ChromeMode;
1663
+ source: string;
1664
+ };
1665
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1666
+ type: import("./options/chrome-mode").ChromeMode;
1667
+ };
1668
+ };
1669
+ readonly selectComposition: {
1670
+ readonly mediaCacheSizeInBytes: {
1671
+ name: string;
1672
+ cliFlag: "media-cache-size-in-bytes";
1673
+ description: () => import("react/jsx-runtime").JSX.Element;
1674
+ ssrName: "mediaCacheSizeInBytes";
1675
+ docLink: string;
1676
+ type: number | null;
1677
+ getValue: ({ commandLine }: {
1678
+ commandLine: Record<string, unknown>;
1679
+ }) => {
1680
+ source: string;
1681
+ value: number;
1682
+ } | {
1683
+ source: string;
1684
+ value: null;
1685
+ };
1686
+ setConfig: (size: number | null) => void;
1687
+ };
1688
+ readonly offthreadVideoCacheSizeInBytes: {
1689
+ name: string;
1690
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
1691
+ description: () => import("react/jsx-runtime").JSX.Element;
1692
+ ssrName: "offthreadVideoCacheSizeInBytes";
1693
+ docLink: string;
1694
+ type: number | null;
1695
+ getValue: ({ commandLine }: {
1696
+ commandLine: Record<string, unknown>;
1697
+ }) => {
1698
+ source: string;
1699
+ value: number;
1700
+ } | {
1701
+ source: string;
1702
+ value: null;
1703
+ };
1704
+ setConfig: (size: number | null) => void;
1705
+ };
1706
+ readonly offthreadVideoThreads: {
1707
+ name: string;
1708
+ cliFlag: "offthreadvideo-video-threads";
1709
+ description: () => import("react/jsx-runtime").JSX.Element;
1710
+ ssrName: "offthreadVideoThreads";
1711
+ docLink: string;
1712
+ type: number | null;
1713
+ getValue: ({ commandLine }: {
1714
+ commandLine: Record<string, unknown>;
1715
+ }) => {
1716
+ source: string;
1717
+ value: number;
1718
+ } | {
1719
+ source: string;
1720
+ value: null;
1721
+ };
1722
+ setConfig: (size: number | null) => void;
1723
+ };
1724
+ readonly logLevel: {
1725
+ cliFlag: "log";
1726
+ name: string;
1727
+ ssrName: string;
1728
+ description: () => import("react/jsx-runtime").JSX.Element;
1729
+ docLink: string;
1730
+ getValue: ({ commandLine }: {
1731
+ commandLine: Record<string, unknown>;
1732
+ }) => {
1733
+ value: import("./log-level").LogLevel;
1734
+ source: string;
1735
+ };
1736
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1737
+ type: import("./log-level").LogLevel;
1738
+ };
1739
+ readonly timeoutInMilliseconds: {
1740
+ name: string;
1741
+ cliFlag: "timeout";
1742
+ description: () => import("react/jsx-runtime").JSX.Element;
1743
+ ssrName: "timeoutInMilliseconds";
1744
+ docLink: string;
1745
+ type: number;
1746
+ getValue: ({ commandLine }: {
1747
+ commandLine: Record<string, unknown>;
1748
+ }) => {
1749
+ source: string;
1750
+ value: number;
1751
+ };
1752
+ setConfig: (value: number) => void;
1753
+ };
1754
+ readonly binariesDirectory: {
1755
+ name: string;
1756
+ cliFlag: "binaries-directory";
1757
+ description: () => import("react/jsx-runtime").JSX.Element;
1758
+ ssrName: "binariesDirectory";
1759
+ docLink: string;
1760
+ type: string | null;
1761
+ getValue: ({ commandLine }: {
1762
+ commandLine: Record<string, unknown>;
1763
+ }) => {
1764
+ source: string;
1765
+ value: string | null;
1766
+ };
1767
+ setConfig: (value: string | null) => void;
1768
+ };
1769
+ readonly onBrowserDownload: {
1770
+ name: string;
1771
+ cliFlag: "on-browser-download";
1772
+ description: () => import("react/jsx-runtime").JSX.Element;
1773
+ ssrName: "onBrowserDownload";
1774
+ docLink: string;
1775
+ type: import(".").OnBrowserDownload;
1776
+ getValue: () => never;
1777
+ setConfig: () => never;
1778
+ };
1779
+ readonly chromeMode: {
1780
+ cliFlag: "chrome-mode";
1781
+ name: string;
1782
+ ssrName: string;
1783
+ description: () => import("react/jsx-runtime").JSX.Element;
1784
+ docLink: string;
1785
+ getValue: ({ commandLine }: {
1786
+ commandLine: Record<string, unknown>;
1787
+ }) => {
1788
+ value: import("./options/chrome-mode").ChromeMode;
1789
+ source: string;
1790
+ };
1791
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1792
+ type: import("./options/chrome-mode").ChromeMode;
1793
+ };
1794
+ };
1795
+ readonly renderFrames: {
1796
+ readonly mediaCacheSizeInBytes: {
1797
+ name: string;
1798
+ cliFlag: "media-cache-size-in-bytes";
1799
+ description: () => import("react/jsx-runtime").JSX.Element;
1800
+ ssrName: "mediaCacheSizeInBytes";
1801
+ docLink: string;
1802
+ type: number | null;
1803
+ getValue: ({ commandLine }: {
1804
+ commandLine: Record<string, unknown>;
1805
+ }) => {
1806
+ source: string;
1807
+ value: number;
1808
+ } | {
1809
+ source: string;
1810
+ value: null;
1811
+ };
1812
+ setConfig: (size: number | null) => void;
1813
+ };
1814
+ readonly forSeamlessAacConcatenation: {
1815
+ name: string;
1816
+ cliFlag: "for-seamless-aac-concatenation";
1817
+ description: () => import("react/jsx-runtime").JSX.Element;
1818
+ docLink: string;
1819
+ getValue: ({ commandLine }: {
1820
+ commandLine: Record<string, unknown>;
1821
+ }) => {
1822
+ source: string;
1823
+ value: true;
1824
+ } | {
1825
+ source: string;
1826
+ value: false;
1827
+ };
1828
+ setConfig: (value: boolean) => void;
1829
+ ssrName: string;
1830
+ type: boolean;
1831
+ };
1832
+ readonly offthreadVideoCacheSizeInBytes: {
1833
+ name: string;
1834
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
1835
+ description: () => import("react/jsx-runtime").JSX.Element;
1836
+ ssrName: "offthreadVideoCacheSizeInBytes";
1837
+ docLink: string;
1838
+ type: number | null;
1839
+ getValue: ({ commandLine }: {
1840
+ commandLine: Record<string, unknown>;
1841
+ }) => {
1842
+ source: string;
1843
+ value: number;
1844
+ } | {
1845
+ source: string;
1846
+ value: null;
1847
+ };
1848
+ setConfig: (size: number | null) => void;
1849
+ };
1850
+ readonly offthreadVideoThreads: {
1851
+ name: string;
1852
+ cliFlag: "offthreadvideo-video-threads";
1853
+ description: () => import("react/jsx-runtime").JSX.Element;
1854
+ ssrName: "offthreadVideoThreads";
1855
+ docLink: string;
1856
+ type: number | null;
1857
+ getValue: ({ commandLine }: {
1858
+ commandLine: Record<string, unknown>;
1859
+ }) => {
1860
+ source: string;
1861
+ value: number;
1862
+ } | {
1863
+ source: string;
1864
+ value: null;
1865
+ };
1866
+ setConfig: (size: number | null) => void;
1867
+ };
1868
+ readonly jpegQuality: {
1869
+ name: string;
1870
+ cliFlag: "jpeg-quality";
1871
+ description: () => import("react/jsx-runtime").JSX.Element;
1872
+ ssrName: string;
1873
+ docLink: string;
1874
+ type: number;
1875
+ setConfig: (q: number | undefined) => void;
1876
+ getValue: ({ commandLine }: {
1877
+ commandLine: Record<string, unknown>;
1878
+ }) => {
1879
+ source: string;
1880
+ value: number;
1881
+ };
1882
+ };
1883
+ readonly logLevel: {
1884
+ cliFlag: "log";
1885
+ name: string;
1886
+ ssrName: string;
1887
+ description: () => import("react/jsx-runtime").JSX.Element;
1888
+ docLink: string;
1889
+ getValue: ({ commandLine }: {
1890
+ commandLine: Record<string, unknown>;
1891
+ }) => {
1892
+ value: import("./log-level").LogLevel;
1893
+ source: string;
1894
+ };
1895
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
1896
+ type: import("./log-level").LogLevel;
1897
+ };
1898
+ readonly timeoutInMilliseconds: {
1899
+ name: string;
1900
+ cliFlag: "timeout";
1901
+ description: () => import("react/jsx-runtime").JSX.Element;
1902
+ ssrName: "timeoutInMilliseconds";
1903
+ docLink: string;
1904
+ type: number;
1905
+ getValue: ({ commandLine }: {
1906
+ commandLine: Record<string, unknown>;
1907
+ }) => {
1908
+ source: string;
1909
+ value: number;
1910
+ };
1911
+ setConfig: (value: number) => void;
1912
+ };
1913
+ readonly binariesDirectory: {
1914
+ name: string;
1915
+ cliFlag: "binaries-directory";
1916
+ description: () => import("react/jsx-runtime").JSX.Element;
1917
+ ssrName: "binariesDirectory";
1918
+ docLink: string;
1919
+ type: string | null;
1920
+ getValue: ({ commandLine }: {
1921
+ commandLine: Record<string, unknown>;
1922
+ }) => {
1923
+ source: string;
1924
+ value: string | null;
1925
+ };
1926
+ setConfig: (value: string | null) => void;
1927
+ };
1928
+ readonly onBrowserDownload: {
1929
+ name: string;
1930
+ cliFlag: "on-browser-download";
1931
+ description: () => import("react/jsx-runtime").JSX.Element;
1932
+ ssrName: "onBrowserDownload";
1933
+ docLink: string;
1934
+ type: import(".").OnBrowserDownload;
1935
+ getValue: () => never;
1936
+ setConfig: () => never;
1937
+ };
1938
+ readonly chromeMode: {
1939
+ cliFlag: "chrome-mode";
1940
+ name: string;
1941
+ ssrName: string;
1942
+ description: () => import("react/jsx-runtime").JSX.Element;
1943
+ docLink: string;
1944
+ getValue: ({ commandLine }: {
1945
+ commandLine: Record<string, unknown>;
1946
+ }) => {
1947
+ value: import("./options/chrome-mode").ChromeMode;
1948
+ source: string;
1949
+ };
1950
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
1951
+ type: import("./options/chrome-mode").ChromeMode;
1952
+ };
1953
+ readonly imageSequencePattern: {
1954
+ name: string;
1955
+ cliFlag: "image-sequence-pattern";
1956
+ ssrName: string;
1957
+ description: () => import("react/jsx-runtime").JSX.Element;
1958
+ docLink: null;
1959
+ type: string | null;
1960
+ getValue: ({ commandLine }: {
1961
+ commandLine: Record<string, unknown>;
1962
+ }) => {
1963
+ value: string;
1964
+ source: string;
1965
+ };
1966
+ setConfig: (pattern: string | null) => void;
1967
+ };
1968
+ };
1969
+ readonly renderMediaOnLambda: {
1970
+ readonly mediaCacheSizeInBytes: {
1971
+ name: string;
1972
+ cliFlag: "media-cache-size-in-bytes";
1973
+ description: () => import("react/jsx-runtime").JSX.Element;
1974
+ ssrName: "mediaCacheSizeInBytes";
1975
+ docLink: string;
1976
+ type: number | null;
1977
+ getValue: ({ commandLine }: {
1978
+ commandLine: Record<string, unknown>;
1979
+ }) => {
1980
+ source: string;
1981
+ value: number;
1982
+ } | {
1983
+ source: string;
1984
+ value: null;
1985
+ };
1986
+ setConfig: (size: number | null) => void;
1987
+ };
1988
+ readonly offthreadVideoCacheSizeInBytes: {
1989
+ name: string;
1990
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
1991
+ description: () => import("react/jsx-runtime").JSX.Element;
1992
+ ssrName: "offthreadVideoCacheSizeInBytes";
1993
+ docLink: string;
1994
+ type: number | null;
1995
+ getValue: ({ commandLine }: {
1996
+ commandLine: Record<string, unknown>;
1997
+ }) => {
1998
+ source: string;
1999
+ value: number;
2000
+ } | {
2001
+ source: string;
2002
+ value: null;
2003
+ };
2004
+ setConfig: (size: number | null) => void;
2005
+ };
2006
+ readonly offthreadVideoThreads: {
2007
+ name: string;
2008
+ cliFlag: "offthreadvideo-video-threads";
2009
+ description: () => import("react/jsx-runtime").JSX.Element;
2010
+ ssrName: "offthreadVideoThreads";
2011
+ docLink: string;
2012
+ type: number | null;
2013
+ getValue: ({ commandLine }: {
2014
+ commandLine: Record<string, unknown>;
2015
+ }) => {
2016
+ source: string;
2017
+ value: number;
2018
+ } | {
2019
+ source: string;
2020
+ value: null;
2021
+ };
2022
+ setConfig: (size: number | null) => void;
2023
+ };
2024
+ readonly videoBitrate: {
2025
+ name: string;
2026
+ cliFlag: "video-bitrate";
2027
+ description: () => import("react/jsx-runtime").JSX.Element;
2028
+ ssrName: string;
2029
+ docLink: string;
2030
+ type: string | null;
2031
+ getValue: ({ commandLine }: {
2032
+ commandLine: Record<string, unknown>;
2033
+ }) => {
2034
+ source: string;
2035
+ value: string | null;
2036
+ };
2037
+ setConfig: (bitrate: string | null) => void;
2038
+ };
2039
+ readonly numberOfGifLoops: {
2040
+ name: string;
2041
+ cliFlag: "number-of-gif-loops";
2042
+ description: () => import("react/jsx-runtime").JSX.Element;
2043
+ ssrName: "numberOfGifLoops";
2044
+ docLink: string;
2045
+ type: number | null;
2046
+ getValue: ({ commandLine }: {
2047
+ commandLine: Record<string, unknown>;
2048
+ }) => {
2049
+ value: number;
2050
+ source: string;
2051
+ } | {
2052
+ value: null;
2053
+ source: string;
2054
+ };
2055
+ setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
2056
+ };
2057
+ readonly preferLossless: {
2058
+ name: string;
2059
+ cliFlag: "prefer-lossless";
2060
+ description: () => import("react/jsx-runtime").JSX.Element;
2061
+ docLink: string;
2062
+ type: boolean;
2063
+ ssrName: "preferLossless";
2064
+ getValue: ({ commandLine }: {
2065
+ commandLine: Record<string, unknown>;
2066
+ }) => {
2067
+ value: true;
2068
+ source: string;
2069
+ } | {
2070
+ value: false;
2071
+ source: string;
2072
+ };
2073
+ setConfig: (val: boolean) => void;
2074
+ };
2075
+ readonly audioBitrate: {
2076
+ name: string;
2077
+ cliFlag: "audio-bitrate";
2078
+ description: () => import("react/jsx-runtime").JSX.Element;
2079
+ ssrName: string;
2080
+ docLink: string;
2081
+ type: string;
2082
+ getValue: ({ commandLine }: {
2083
+ commandLine: Record<string, unknown>;
2084
+ }) => {
2085
+ value: string;
2086
+ source: string;
2087
+ } | {
2088
+ value: null;
2089
+ source: string;
2090
+ };
2091
+ setConfig: (value: string | null) => void;
2092
+ };
2093
+ readonly deleteAfter: {
2094
+ name: string;
2095
+ cliFlag: "delete-after";
2096
+ description: () => import("react/jsx-runtime").JSX.Element;
2097
+ ssrName: "deleteAfter";
2098
+ docLink: string;
2099
+ type: import(".").DeleteAfter | null;
2100
+ getValue: ({ commandLine }: {
2101
+ commandLine: Record<string, unknown>;
2102
+ }) => {
2103
+ source: string;
2104
+ value: import(".").DeleteAfter;
2105
+ } | {
2106
+ source: string;
2107
+ value: null;
2108
+ };
2109
+ setConfig: (value: import(".").DeleteAfter | null) => void;
2110
+ };
2111
+ readonly x264Preset: {
2112
+ name: string;
2113
+ cliFlag: "x264-preset";
2114
+ description: () => import("react/jsx-runtime").JSX.Element;
2115
+ ssrName: "x264Preset";
2116
+ docLink: string;
2117
+ type: import("./options/x264-preset").X264Preset | null;
2118
+ getValue: ({ commandLine }: {
2119
+ commandLine: Record<string, unknown>;
2120
+ }) => {
2121
+ value: import("./options/x264-preset").X264Preset;
2122
+ source: string;
2123
+ } | {
2124
+ value: null;
2125
+ source: string;
2126
+ };
2127
+ setConfig: (profile: import("./options/x264-preset").X264Preset | null) => void;
2128
+ };
2129
+ readonly encodingMaxRate: {
2130
+ name: string;
2131
+ cliFlag: "max-rate";
2132
+ description: () => import("react/jsx-runtime").JSX.Element;
2133
+ ssrName: "encodingMaxRate";
2134
+ docLink: string;
2135
+ type: string | null;
2136
+ getValue: ({ commandLine }: {
2137
+ commandLine: Record<string, unknown>;
2138
+ }) => {
2139
+ value: string;
2140
+ source: string;
2141
+ } | {
2142
+ value: null;
2143
+ source: string;
2144
+ };
2145
+ setConfig: (newMaxRate: string | null) => void;
2146
+ };
2147
+ readonly encodingBufferSize: {
2148
+ name: string;
2149
+ cliFlag: "buffer-size";
2150
+ description: () => import("react/jsx-runtime").JSX.Element;
2151
+ ssrName: "encodingBufferSize";
2152
+ docLink: string;
2153
+ type: string | null;
2154
+ getValue: ({ commandLine }: {
2155
+ commandLine: Record<string, unknown>;
2156
+ }) => {
2157
+ value: string;
2158
+ source: string;
2159
+ } | {
2160
+ value: null;
2161
+ source: string;
2162
+ };
2163
+ setConfig: (bitrate: string | null) => void;
2164
+ };
2165
+ readonly colorSpace: {
2166
+ name: string;
2167
+ cliFlag: "color-space";
2168
+ description: () => import("react/jsx-runtime").JSX.Element;
2169
+ docLink: string;
2170
+ ssrName: string;
2171
+ type: import("./options/color-space").ColorSpace | null;
2172
+ getValue: ({ commandLine }: {
2173
+ commandLine: Record<string, unknown>;
2174
+ }) => {
2175
+ source: string;
2176
+ value: import("./options/color-space").ColorSpace;
2177
+ };
2178
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
2179
+ };
2180
+ readonly muted: {
2181
+ name: string;
2182
+ cliFlag: "muted";
2183
+ description: () => import("react/jsx-runtime").JSX.Element;
2184
+ ssrName: string;
2185
+ docLink: string;
2186
+ type: boolean;
2187
+ getValue: ({ commandLine }: {
2188
+ commandLine: Record<string, unknown>;
2189
+ }) => {
2190
+ source: string;
2191
+ value: boolean;
2192
+ };
2193
+ setConfig: () => void;
2194
+ };
2195
+ readonly logLevel: {
2196
+ cliFlag: "log";
2197
+ name: string;
2198
+ ssrName: string;
2199
+ description: () => import("react/jsx-runtime").JSX.Element;
2200
+ docLink: string;
2201
+ getValue: ({ commandLine }: {
2202
+ commandLine: Record<string, unknown>;
2203
+ }) => {
2204
+ value: import("./log-level").LogLevel;
2205
+ source: string;
2206
+ };
2207
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2208
+ type: import("./log-level").LogLevel;
2209
+ };
2210
+ readonly timeoutInMilliseconds: {
2211
+ name: string;
2212
+ cliFlag: "timeout";
2213
+ description: () => import("react/jsx-runtime").JSX.Element;
2214
+ ssrName: "timeoutInMilliseconds";
2215
+ docLink: string;
2216
+ type: number;
2217
+ getValue: ({ commandLine }: {
2218
+ commandLine: Record<string, unknown>;
2219
+ }) => {
2220
+ source: string;
2221
+ value: number;
2222
+ };
2223
+ setConfig: (value: number) => void;
2224
+ };
2225
+ readonly apiKey: {
2226
+ name: string;
2227
+ cliFlag: "api-key";
2228
+ description: () => import("react/jsx-runtime").JSX.Element;
2229
+ ssrName: "apiKey";
2230
+ docLink: string;
2231
+ type: string | null;
2232
+ getValue: ({ commandLine }: {
2233
+ commandLine: Record<string, unknown>;
2234
+ }) => {
2235
+ source: string;
2236
+ value: string | null;
2237
+ };
2238
+ setConfig: (value: string | null) => void;
2239
+ };
2240
+ };
2241
+ readonly renderStillOnLambda: {
2242
+ readonly mediaCacheSizeInBytes: {
2243
+ name: string;
2244
+ cliFlag: "media-cache-size-in-bytes";
2245
+ description: () => import("react/jsx-runtime").JSX.Element;
2246
+ ssrName: "mediaCacheSizeInBytes";
2247
+ docLink: string;
2248
+ type: number | null;
2249
+ getValue: ({ commandLine }: {
2250
+ commandLine: Record<string, unknown>;
2251
+ }) => {
2252
+ source: string;
2253
+ value: number;
2254
+ } | {
2255
+ source: string;
2256
+ value: null;
2257
+ };
2258
+ setConfig: (size: number | null) => void;
2259
+ };
2260
+ readonly offthreadVideoCacheSizeInBytes: {
2261
+ name: string;
2262
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
2263
+ description: () => import("react/jsx-runtime").JSX.Element;
2264
+ ssrName: "offthreadVideoCacheSizeInBytes";
2265
+ docLink: string;
2266
+ type: number | null;
2267
+ getValue: ({ commandLine }: {
2268
+ commandLine: Record<string, unknown>;
2269
+ }) => {
2270
+ source: string;
2271
+ value: number;
2272
+ } | {
2273
+ source: string;
2274
+ value: null;
2275
+ };
2276
+ setConfig: (size: number | null) => void;
2277
+ };
2278
+ readonly offthreadVideoThreads: {
2279
+ name: string;
2280
+ cliFlag: "offthreadvideo-video-threads";
2281
+ description: () => import("react/jsx-runtime").JSX.Element;
2282
+ ssrName: "offthreadVideoThreads";
2283
+ docLink: string;
2284
+ type: number | null;
2285
+ getValue: ({ commandLine }: {
2286
+ commandLine: Record<string, unknown>;
2287
+ }) => {
2288
+ source: string;
2289
+ value: number;
2290
+ } | {
2291
+ source: string;
2292
+ value: null;
2293
+ };
2294
+ setConfig: (size: number | null) => void;
2295
+ };
2296
+ readonly jpegQuality: {
2297
+ name: string;
2298
+ cliFlag: "jpeg-quality";
2299
+ description: () => import("react/jsx-runtime").JSX.Element;
2300
+ ssrName: string;
2301
+ docLink: string;
2302
+ type: number;
2303
+ setConfig: (q: number | undefined) => void;
2304
+ getValue: ({ commandLine }: {
2305
+ commandLine: Record<string, unknown>;
2306
+ }) => {
2307
+ source: string;
2308
+ value: number;
2309
+ };
2310
+ };
2311
+ readonly logLevel: {
2312
+ cliFlag: "log";
2313
+ name: string;
2314
+ ssrName: string;
2315
+ description: () => import("react/jsx-runtime").JSX.Element;
2316
+ docLink: string;
2317
+ getValue: ({ commandLine }: {
2318
+ commandLine: Record<string, unknown>;
2319
+ }) => {
2320
+ value: import("./log-level").LogLevel;
2321
+ source: string;
2322
+ };
2323
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2324
+ type: import("./log-level").LogLevel;
2325
+ };
2326
+ readonly deleteAfter: {
2327
+ name: string;
2328
+ cliFlag: "delete-after";
2329
+ description: () => import("react/jsx-runtime").JSX.Element;
2330
+ ssrName: "deleteAfter";
2331
+ docLink: string;
2332
+ type: import(".").DeleteAfter | null;
2333
+ getValue: ({ commandLine }: {
2334
+ commandLine: Record<string, unknown>;
2335
+ }) => {
2336
+ source: string;
2337
+ value: import(".").DeleteAfter;
2338
+ } | {
2339
+ source: string;
2340
+ value: null;
2341
+ };
2342
+ setConfig: (value: import(".").DeleteAfter | null) => void;
2343
+ };
2344
+ readonly scale: {
2345
+ name: string;
2346
+ cliFlag: "scale";
2347
+ description: () => import("react/jsx-runtime").JSX.Element;
2348
+ ssrName: string;
2349
+ docLink: string;
2350
+ type: number;
2351
+ getValue: ({ commandLine }: {
2352
+ commandLine: Record<string, unknown>;
2353
+ }) => {
2354
+ source: string;
2355
+ value: number;
2356
+ };
2357
+ setConfig: (scale: number) => void;
2358
+ };
2359
+ readonly timeoutInMilliseconds: {
2360
+ name: string;
2361
+ cliFlag: "timeout";
2362
+ description: () => import("react/jsx-runtime").JSX.Element;
2363
+ ssrName: "timeoutInMilliseconds";
2364
+ docLink: string;
2365
+ type: number;
2366
+ getValue: ({ commandLine }: {
2367
+ commandLine: Record<string, unknown>;
2368
+ }) => {
2369
+ source: string;
2370
+ value: number;
2371
+ };
2372
+ setConfig: (value: number) => void;
2373
+ };
2374
+ readonly apiKey: {
2375
+ name: string;
2376
+ cliFlag: "api-key";
2377
+ description: () => import("react/jsx-runtime").JSX.Element;
2378
+ ssrName: "apiKey";
2379
+ docLink: string;
2380
+ type: string | null;
2381
+ getValue: ({ commandLine }: {
2382
+ commandLine: Record<string, unknown>;
2383
+ }) => {
2384
+ source: string;
2385
+ value: string | null;
2386
+ };
2387
+ setConfig: (value: string | null) => void;
2388
+ };
2389
+ };
2390
+ readonly getCompositionsOnLambda: {
2391
+ readonly mediaCacheSizeInBytes: {
2392
+ name: string;
2393
+ cliFlag: "media-cache-size-in-bytes";
2394
+ description: () => import("react/jsx-runtime").JSX.Element;
2395
+ ssrName: "mediaCacheSizeInBytes";
2396
+ docLink: string;
2397
+ type: number | null;
2398
+ getValue: ({ commandLine }: {
2399
+ commandLine: Record<string, unknown>;
2400
+ }) => {
2401
+ source: string;
2402
+ value: number;
2403
+ } | {
2404
+ source: string;
2405
+ value: null;
2406
+ };
2407
+ setConfig: (size: number | null) => void;
2408
+ };
2409
+ readonly offthreadVideoCacheSizeInBytes: {
2410
+ name: string;
2411
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
2412
+ description: () => import("react/jsx-runtime").JSX.Element;
2413
+ ssrName: "offthreadVideoCacheSizeInBytes";
2414
+ docLink: string;
2415
+ type: number | null;
2416
+ getValue: ({ commandLine }: {
2417
+ commandLine: Record<string, unknown>;
2418
+ }) => {
2419
+ source: string;
2420
+ value: number;
2421
+ } | {
2422
+ source: string;
2423
+ value: null;
2424
+ };
2425
+ setConfig: (size: number | null) => void;
2426
+ };
2427
+ readonly logLevel: {
2428
+ cliFlag: "log";
2429
+ name: string;
2430
+ ssrName: string;
2431
+ description: () => import("react/jsx-runtime").JSX.Element;
2432
+ docLink: string;
2433
+ getValue: ({ commandLine }: {
2434
+ commandLine: Record<string, unknown>;
2435
+ }) => {
2436
+ value: import("./log-level").LogLevel;
2437
+ source: string;
2438
+ };
2439
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2440
+ type: import("./log-level").LogLevel;
2441
+ };
2442
+ readonly timeoutInMilliseconds: {
2443
+ name: string;
2444
+ cliFlag: "timeout";
2445
+ description: () => import("react/jsx-runtime").JSX.Element;
2446
+ ssrName: "timeoutInMilliseconds";
2447
+ docLink: string;
2448
+ type: number;
2449
+ getValue: ({ commandLine }: {
2450
+ commandLine: Record<string, unknown>;
2451
+ }) => {
2452
+ source: string;
2453
+ value: number;
2454
+ };
2455
+ setConfig: (value: number) => void;
2456
+ };
2457
+ };
2458
+ readonly renderMediaOnCloudRun: {
2459
+ readonly mediaCacheSizeInBytes: {
2460
+ name: string;
2461
+ cliFlag: "media-cache-size-in-bytes";
2462
+ description: () => import("react/jsx-runtime").JSX.Element;
2463
+ ssrName: "mediaCacheSizeInBytes";
2464
+ docLink: string;
2465
+ type: number | null;
2466
+ getValue: ({ commandLine }: {
2467
+ commandLine: Record<string, unknown>;
2468
+ }) => {
2469
+ source: string;
2470
+ value: number;
2471
+ } | {
2472
+ source: string;
2473
+ value: null;
2474
+ };
2475
+ setConfig: (size: number | null) => void;
2476
+ };
2477
+ readonly offthreadVideoCacheSizeInBytes: {
2478
+ name: string;
2479
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
2480
+ description: () => import("react/jsx-runtime").JSX.Element;
2481
+ ssrName: "offthreadVideoCacheSizeInBytes";
2482
+ docLink: string;
2483
+ type: number | null;
2484
+ getValue: ({ commandLine }: {
2485
+ commandLine: Record<string, unknown>;
2486
+ }) => {
2487
+ source: string;
2488
+ value: number;
2489
+ } | {
2490
+ source: string;
2491
+ value: null;
2492
+ };
2493
+ setConfig: (size: number | null) => void;
2494
+ };
2495
+ readonly offthreadVideoThreads: {
2496
+ name: string;
2497
+ cliFlag: "offthreadvideo-video-threads";
2498
+ description: () => import("react/jsx-runtime").JSX.Element;
2499
+ ssrName: "offthreadVideoThreads";
2500
+ docLink: string;
2501
+ type: number | null;
2502
+ getValue: ({ commandLine }: {
2503
+ commandLine: Record<string, unknown>;
2504
+ }) => {
2505
+ source: string;
2506
+ value: number;
2507
+ } | {
2508
+ source: string;
2509
+ value: null;
2510
+ };
2511
+ setConfig: (size: number | null) => void;
2512
+ };
2513
+ readonly numberOfGifLoops: {
2514
+ name: string;
2515
+ cliFlag: "number-of-gif-loops";
2516
+ description: () => import("react/jsx-runtime").JSX.Element;
2517
+ ssrName: "numberOfGifLoops";
2518
+ docLink: string;
2519
+ type: number | null;
2520
+ getValue: ({ commandLine }: {
2521
+ commandLine: Record<string, unknown>;
2522
+ }) => {
2523
+ value: number;
2524
+ source: string;
2525
+ } | {
2526
+ value: null;
2527
+ source: string;
2528
+ };
2529
+ setConfig: (newLoop: import(".").NumberOfGifLoops) => void;
2530
+ };
2531
+ readonly preferLossless: {
2532
+ name: string;
2533
+ cliFlag: "prefer-lossless";
2534
+ description: () => import("react/jsx-runtime").JSX.Element;
2535
+ docLink: string;
2536
+ type: boolean;
2537
+ ssrName: "preferLossless";
2538
+ getValue: ({ commandLine }: {
2539
+ commandLine: Record<string, unknown>;
2540
+ }) => {
2541
+ value: true;
2542
+ source: string;
2543
+ } | {
2544
+ value: false;
2545
+ source: string;
2546
+ };
2547
+ setConfig: (val: boolean) => void;
2548
+ };
2549
+ readonly colorSpace: {
2550
+ name: string;
2551
+ cliFlag: "color-space";
2552
+ description: () => import("react/jsx-runtime").JSX.Element;
2553
+ docLink: string;
2554
+ ssrName: string;
2555
+ type: import("./options/color-space").ColorSpace | null;
2556
+ getValue: ({ commandLine }: {
2557
+ commandLine: Record<string, unknown>;
2558
+ }) => {
2559
+ source: string;
2560
+ value: import("./options/color-space").ColorSpace;
2561
+ };
2562
+ setConfig: (value: "default" | "bt709" | "bt2020-ncl" | null) => void;
2563
+ };
2564
+ readonly audioBitrate: {
2565
+ name: string;
2566
+ cliFlag: "audio-bitrate";
2567
+ description: () => import("react/jsx-runtime").JSX.Element;
2568
+ ssrName: string;
2569
+ docLink: string;
2570
+ type: string;
2571
+ getValue: ({ commandLine }: {
2572
+ commandLine: Record<string, unknown>;
2573
+ }) => {
2574
+ value: string;
2575
+ source: string;
2576
+ } | {
2577
+ value: null;
2578
+ source: string;
2579
+ };
2580
+ setConfig: (value: string | null) => void;
2581
+ };
2582
+ readonly videoBitrate: {
2583
+ name: string;
2584
+ cliFlag: "video-bitrate";
2585
+ description: () => import("react/jsx-runtime").JSX.Element;
2586
+ ssrName: string;
2587
+ docLink: string;
2588
+ type: string | null;
2589
+ getValue: ({ commandLine }: {
2590
+ commandLine: Record<string, unknown>;
2591
+ }) => {
2592
+ source: string;
2593
+ value: string | null;
2594
+ };
2595
+ setConfig: (bitrate: string | null) => void;
2596
+ };
2597
+ readonly x264Preset: {
2598
+ name: string;
2599
+ cliFlag: "x264-preset";
2600
+ description: () => import("react/jsx-runtime").JSX.Element;
2601
+ ssrName: "x264Preset";
2602
+ docLink: string;
2603
+ type: import("./options/x264-preset").X264Preset | null;
2604
+ getValue: ({ commandLine }: {
2605
+ commandLine: Record<string, unknown>;
2606
+ }) => {
2607
+ value: import("./options/x264-preset").X264Preset;
2608
+ source: string;
2609
+ } | {
2610
+ value: null;
2611
+ source: string;
2612
+ };
2613
+ setConfig: (profile: import("./options/x264-preset").X264Preset | null) => void;
2614
+ };
2615
+ readonly encodingMaxRate: {
2616
+ name: string;
2617
+ cliFlag: "max-rate";
2618
+ description: () => import("react/jsx-runtime").JSX.Element;
2619
+ ssrName: "encodingMaxRate";
2620
+ docLink: string;
2621
+ type: string | null;
2622
+ getValue: ({ commandLine }: {
2623
+ commandLine: Record<string, unknown>;
2624
+ }) => {
2625
+ value: string;
2626
+ source: string;
2627
+ } | {
2628
+ value: null;
2629
+ source: string;
2630
+ };
2631
+ setConfig: (newMaxRate: string | null) => void;
2632
+ };
2633
+ readonly encodingBufferSize: {
2634
+ name: string;
2635
+ cliFlag: "buffer-size";
2636
+ description: () => import("react/jsx-runtime").JSX.Element;
2637
+ ssrName: "encodingBufferSize";
2638
+ docLink: string;
2639
+ type: string | null;
2640
+ getValue: ({ commandLine }: {
2641
+ commandLine: Record<string, unknown>;
2642
+ }) => {
2643
+ value: string;
2644
+ source: string;
2645
+ } | {
2646
+ value: null;
2647
+ source: string;
2648
+ };
2649
+ setConfig: (bitrate: string | null) => void;
2650
+ };
2651
+ readonly muted: {
2652
+ name: string;
2653
+ cliFlag: "muted";
2654
+ description: () => import("react/jsx-runtime").JSX.Element;
2655
+ ssrName: string;
2656
+ docLink: string;
2657
+ type: boolean;
2658
+ getValue: ({ commandLine }: {
2659
+ commandLine: Record<string, unknown>;
2660
+ }) => {
2661
+ source: string;
2662
+ value: boolean;
2663
+ };
2664
+ setConfig: () => void;
2665
+ };
2666
+ readonly logLevel: {
2667
+ cliFlag: "log";
2668
+ name: string;
2669
+ ssrName: string;
2670
+ description: () => import("react/jsx-runtime").JSX.Element;
2671
+ docLink: string;
2672
+ getValue: ({ commandLine }: {
2673
+ commandLine: Record<string, unknown>;
2674
+ }) => {
2675
+ value: import("./log-level").LogLevel;
2676
+ source: string;
2677
+ };
2678
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2679
+ type: import("./log-level").LogLevel;
2680
+ };
2681
+ readonly delayRenderTimeoutInMilliseconds: {
2682
+ name: string;
2683
+ cliFlag: "timeout";
2684
+ description: () => import("react/jsx-runtime").JSX.Element;
2685
+ ssrName: "timeoutInMilliseconds";
2686
+ docLink: string;
2687
+ type: number;
2688
+ getValue: ({ commandLine }: {
2689
+ commandLine: Record<string, unknown>;
2690
+ }) => {
2691
+ source: string;
2692
+ value: number;
2693
+ };
2694
+ setConfig: (value: number) => void;
2695
+ };
2696
+ readonly enforceAudioTrack: {
2697
+ name: string;
2698
+ cliFlag: "enforce-audio-track";
2699
+ description: () => import("react/jsx-runtime").JSX.Element;
2700
+ ssrName: string;
2701
+ docLink: string;
2702
+ type: boolean;
2703
+ getValue: ({ commandLine }: {
2704
+ commandLine: Record<string, unknown>;
2705
+ }) => {
2706
+ source: string;
2707
+ value: true;
2708
+ } | {
2709
+ source: string;
2710
+ value: false;
2711
+ };
2712
+ setConfig: (value: boolean) => void;
2713
+ };
2714
+ readonly scale: {
2715
+ name: string;
2716
+ cliFlag: "scale";
2717
+ description: () => import("react/jsx-runtime").JSX.Element;
2718
+ ssrName: string;
2719
+ docLink: string;
2720
+ type: number;
2721
+ getValue: ({ commandLine }: {
2722
+ commandLine: Record<string, unknown>;
2723
+ }) => {
2724
+ source: string;
2725
+ value: number;
2726
+ };
2727
+ setConfig: (scale: number) => void;
2728
+ };
2729
+ readonly crf: {
2730
+ name: string;
2731
+ cliFlag: "crf";
2732
+ description: () => import("react/jsx-runtime").JSX.Element;
2733
+ ssrName: string;
2734
+ docLink: string;
2735
+ type: number;
2736
+ getValue: ({ commandLine }: {
2737
+ commandLine: Record<string, unknown>;
2738
+ }) => {
2739
+ source: string;
2740
+ value: import("./crf").Crf;
2741
+ };
2742
+ setConfig: (crf: import("./crf").Crf) => void;
2743
+ };
2744
+ readonly jpegQuality: {
2745
+ name: string;
2746
+ cliFlag: "jpeg-quality";
2747
+ description: () => import("react/jsx-runtime").JSX.Element;
2748
+ ssrName: string;
2749
+ docLink: string;
2750
+ type: number;
2751
+ setConfig: (q: number | undefined) => void;
2752
+ getValue: ({ commandLine }: {
2753
+ commandLine: Record<string, unknown>;
2754
+ }) => {
2755
+ source: string;
2756
+ value: number;
2757
+ };
2758
+ };
2759
+ };
2760
+ readonly renderStillOnCloudRun: {
2761
+ readonly mediaCacheSizeInBytes: {
2762
+ name: string;
2763
+ cliFlag: "media-cache-size-in-bytes";
2764
+ description: () => import("react/jsx-runtime").JSX.Element;
2765
+ ssrName: "mediaCacheSizeInBytes";
2766
+ docLink: string;
2767
+ type: number | null;
2768
+ getValue: ({ commandLine }: {
2769
+ commandLine: Record<string, unknown>;
2770
+ }) => {
2771
+ source: string;
2772
+ value: number;
2773
+ } | {
2774
+ source: string;
2775
+ value: null;
2776
+ };
2777
+ setConfig: (size: number | null) => void;
2778
+ };
2779
+ readonly offthreadVideoCacheSizeInBytes: {
2780
+ name: string;
2781
+ cliFlag: "offthreadvideo-cache-size-in-bytes";
2782
+ description: () => import("react/jsx-runtime").JSX.Element;
2783
+ ssrName: "offthreadVideoCacheSizeInBytes";
2784
+ docLink: string;
2785
+ type: number | null;
2786
+ getValue: ({ commandLine }: {
2787
+ commandLine: Record<string, unknown>;
2788
+ }) => {
2789
+ source: string;
2790
+ value: number;
2791
+ } | {
2792
+ source: string;
2793
+ value: null;
2794
+ };
2795
+ setConfig: (size: number | null) => void;
2796
+ };
2797
+ readonly offthreadVideoThreads: {
2798
+ name: string;
2799
+ cliFlag: "offthreadvideo-video-threads";
2800
+ description: () => import("react/jsx-runtime").JSX.Element;
2801
+ ssrName: "offthreadVideoThreads";
2802
+ docLink: string;
2803
+ type: number | null;
2804
+ getValue: ({ commandLine }: {
2805
+ commandLine: Record<string, unknown>;
2806
+ }) => {
2807
+ source: string;
2808
+ value: number;
2809
+ } | {
2810
+ source: string;
2811
+ value: null;
2812
+ };
2813
+ setConfig: (size: number | null) => void;
2814
+ };
2815
+ readonly logLevel: {
2816
+ cliFlag: "log";
2817
+ name: string;
2818
+ ssrName: string;
2819
+ description: () => import("react/jsx-runtime").JSX.Element;
2820
+ docLink: string;
2821
+ getValue: ({ commandLine }: {
2822
+ commandLine: Record<string, unknown>;
2823
+ }) => {
2824
+ value: import("./log-level").LogLevel;
2825
+ source: string;
2826
+ };
2827
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2828
+ type: import("./log-level").LogLevel;
2829
+ };
2830
+ readonly scale: {
2831
+ name: string;
2832
+ cliFlag: "scale";
2833
+ description: () => import("react/jsx-runtime").JSX.Element;
2834
+ ssrName: string;
2835
+ docLink: string;
2836
+ type: number;
2837
+ getValue: ({ commandLine }: {
2838
+ commandLine: Record<string, unknown>;
2839
+ }) => {
2840
+ source: string;
2841
+ value: number;
2842
+ };
2843
+ setConfig: (scale: number) => void;
2844
+ };
2845
+ readonly jpegQuality: {
2846
+ name: string;
2847
+ cliFlag: "jpeg-quality";
2848
+ description: () => import("react/jsx-runtime").JSX.Element;
2849
+ ssrName: string;
2850
+ docLink: string;
2851
+ type: number;
2852
+ setConfig: (q: number | undefined) => void;
2853
+ getValue: ({ commandLine }: {
2854
+ commandLine: Record<string, unknown>;
2855
+ }) => {
2856
+ source: string;
2857
+ value: number;
2858
+ };
2859
+ };
2860
+ readonly delayRenderTimeoutInMilliseconds: {
2861
+ name: string;
2862
+ cliFlag: "timeout";
2863
+ description: () => import("react/jsx-runtime").JSX.Element;
2864
+ ssrName: "timeoutInMilliseconds";
2865
+ docLink: string;
2866
+ type: number;
2867
+ getValue: ({ commandLine }: {
2868
+ commandLine: Record<string, unknown>;
2869
+ }) => {
2870
+ source: string;
2871
+ value: number;
2872
+ };
2873
+ setConfig: (value: number) => void;
2874
+ };
2875
+ };
2876
+ readonly ensureBrowser: {
2877
+ readonly logLevel: {
2878
+ cliFlag: "log";
2879
+ name: string;
2880
+ ssrName: string;
2881
+ description: () => import("react/jsx-runtime").JSX.Element;
2882
+ docLink: string;
2883
+ getValue: ({ commandLine }: {
2884
+ commandLine: Record<string, unknown>;
2885
+ }) => {
2886
+ value: import("./log-level").LogLevel;
2887
+ source: string;
2888
+ };
2889
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2890
+ type: import("./log-level").LogLevel;
2891
+ };
2892
+ readonly onBrowserDownload: {
2893
+ name: string;
2894
+ cliFlag: "on-browser-download";
2895
+ description: () => import("react/jsx-runtime").JSX.Element;
2896
+ ssrName: "onBrowserDownload";
2897
+ docLink: string;
2898
+ type: import(".").OnBrowserDownload;
2899
+ getValue: () => never;
2900
+ setConfig: () => never;
2901
+ };
2902
+ readonly chromeMode: {
2903
+ cliFlag: "chrome-mode";
2904
+ name: string;
2905
+ ssrName: string;
2906
+ description: () => import("react/jsx-runtime").JSX.Element;
2907
+ docLink: string;
2908
+ getValue: ({ commandLine }: {
2909
+ commandLine: Record<string, unknown>;
2910
+ }) => {
2911
+ value: import("./options/chrome-mode").ChromeMode;
2912
+ source: string;
2913
+ };
2914
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
2915
+ type: import("./options/chrome-mode").ChromeMode;
2916
+ };
2917
+ };
2918
+ readonly openBrowser: {
2919
+ readonly logLevel: {
2920
+ cliFlag: "log";
2921
+ name: string;
2922
+ ssrName: string;
2923
+ description: () => import("react/jsx-runtime").JSX.Element;
2924
+ docLink: string;
2925
+ getValue: ({ commandLine }: {
2926
+ commandLine: Record<string, unknown>;
2927
+ }) => {
2928
+ value: import("./log-level").LogLevel;
2929
+ source: string;
2930
+ };
2931
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2932
+ type: import("./log-level").LogLevel;
2933
+ };
2934
+ readonly onBrowserDownload: {
2935
+ name: string;
2936
+ cliFlag: "on-browser-download";
2937
+ description: () => import("react/jsx-runtime").JSX.Element;
2938
+ ssrName: "onBrowserDownload";
2939
+ docLink: string;
2940
+ type: import(".").OnBrowserDownload;
2941
+ getValue: () => never;
2942
+ setConfig: () => never;
2943
+ };
2944
+ readonly chromeMode: {
2945
+ cliFlag: "chrome-mode";
2946
+ name: string;
2947
+ ssrName: string;
2948
+ description: () => import("react/jsx-runtime").JSX.Element;
2949
+ docLink: string;
2950
+ getValue: ({ commandLine }: {
2951
+ commandLine: Record<string, unknown>;
2952
+ }) => {
2953
+ value: import("./options/chrome-mode").ChromeMode;
2954
+ source: string;
2955
+ };
2956
+ setConfig: (newChromeMode: import("./options/chrome-mode").ChromeMode) => void;
2957
+ type: import("./options/chrome-mode").ChromeMode;
2958
+ };
2959
+ };
2960
+ readonly deploySiteLambda: {
2961
+ readonly logLevel: {
2962
+ cliFlag: "log";
2963
+ name: string;
2964
+ ssrName: string;
2965
+ description: () => import("react/jsx-runtime").JSX.Element;
2966
+ docLink: string;
2967
+ getValue: ({ commandLine }: {
2968
+ commandLine: Record<string, unknown>;
2969
+ }) => {
2970
+ value: import("./log-level").LogLevel;
2971
+ source: string;
2972
+ };
2973
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
2974
+ type: import("./log-level").LogLevel;
2975
+ };
2976
+ readonly throwIfSiteExists: {
2977
+ cliFlag: string;
2978
+ description: () => string;
2979
+ docLink: string;
2980
+ getValue: ({ commandLine }: {
2981
+ commandLine: Record<string, unknown>;
2982
+ }) => {
2983
+ source: string;
2984
+ value: boolean;
2985
+ };
2986
+ name: string;
2987
+ setConfig: () => never;
2988
+ ssrName: string;
2989
+ type: boolean;
2990
+ };
2991
+ };
2992
+ readonly deploySiteCloudRun: {
2993
+ readonly logLevel: {
2994
+ cliFlag: "log";
2995
+ name: string;
2996
+ ssrName: string;
2997
+ description: () => import("react/jsx-runtime").JSX.Element;
2998
+ docLink: string;
2999
+ getValue: ({ commandLine }: {
3000
+ commandLine: Record<string, unknown>;
3001
+ }) => {
3002
+ value: import("./log-level").LogLevel;
3003
+ source: string;
3004
+ };
3005
+ setConfig: (newLogLevel: import("./log-level").LogLevel) => void;
3006
+ type: import("./log-level").LogLevel;
3007
+ };
3008
+ };
3009
+ };
3010
+ codecSupportsCrf: (codec: import("./codec").Codec) => boolean;
3011
+ codecSupportsVideoBitrate: (codec: import("./codec").Codec) => boolean;
3012
+ logLevels: readonly ["trace", "verbose", "info", "warn", "error"];
3013
+ getOutputCodecOrUndefined: () => import("./codec").CodecOrUndefined;
3014
+ getExtensionFromAudioCodec: (audioCodec: import("./options/audio-codec").AudioCodec) => "mp3" | "aac" | "wav" | "opus";
3015
+ validChromeModeOptions: readonly ["headless-shell", "chrome-for-testing"];
3016
+ };