remotion 3.3.52 → 3.3.54

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.
package/dist/config.d.ts CHANGED
@@ -3,26 +3,74 @@
3
3
  * For the moment the type definitions are going to stay here
4
4
  */
5
5
  declare type Concurrency = number | null;
6
+ import type { Configuration } from 'webpack';
7
+ declare type WebpackConfiguration = Configuration;
8
+ declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
6
9
  declare type BrowserExecutable = string | null;
7
10
  declare type FrameRange = number | [number, number];
8
11
  declare type FfmpegExecutable = string | null;
9
12
  declare type Loop = number | null;
10
13
  declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
11
14
  declare type Crf = number | undefined;
12
- declare type FlatConfig = RemotionConfigObject['Bundling'] & RemotionConfigObject['Log'] & RemotionConfigObject['Preview'] & RemotionConfigObject['Puppeteer'] & RemotionConfigObject['Output'] & RemotionConfigObject['Rendering'] & {
15
+ declare type FlatConfig = ObjectConfig['Bundling'] & ObjectConfig['Log'] & ObjectConfig['Preview'] & ObjectConfig['Puppeteer'] & ObjectConfig['Output'] & ObjectConfig['Rendering'] & {
13
16
  /**
14
17
  * Set the audio codec to use for the output video.
15
18
  * See the Encoding guide in the docs for defaults and available options.
16
19
  */
17
20
  setAudioCodec: (codec: 'pcm-16' | 'aac' | 'mp3' | 'opus') => void;
18
21
  };
19
- declare global {
20
- interface RemotionBundlingOptions {
22
+ declare type ObjectConfig = {
23
+ /**
24
+ * @deprecated New flat config format: You can now replace `Config.Preview.` with `Config.`
25
+ */
26
+ readonly Preview: {
27
+ /**
28
+ * Change the maximum amount of tracks that are shown in the timeline.
29
+ * @param maxTracks The maximum amount of timeline tracks that you would like to show.
30
+ * @default 15
31
+ */
32
+ readonly setMaxTimelineTracks: (maxTracks: number) => void;
33
+ /**
34
+ * Enable Keyboard shortcuts in the Remotion Preview.
35
+ * @param enabled Boolean whether to enable the keyboard shortcuts
36
+ * @default true
37
+ */
38
+ readonly setKeyboardShortcutsEnabled: (enableShortcuts: boolean) => void;
39
+ /**
40
+ * Set number of shared audio tags. https://www.remotion.dev/docs/player/autoplay#use-the-numberofsharedaudiotags-property
41
+ * @param numberOfAudioTags
42
+ * @default 0
43
+ */
44
+ readonly setNumberOfSharedAudioTags: (numberOfAudioTags: number) => void;
45
+ /**
46
+ * Enable Webpack polling instead of file system listeners for hot reloading in the preview.
47
+ * This is useful if you are using a remote directory or a virtual machine.
48
+ * @param interval
49
+ * @default null
50
+ */
51
+ readonly setWebpackPollingInMilliseconds: (interval: number | null) => void;
52
+ /**
53
+ * Whether Remotion should open a browser when starting the Preview.
54
+ * @param should
55
+ * @default true
56
+ */
57
+ readonly setShouldOpenBrowser: (should: boolean) => void;
58
+ };
59
+ /**
60
+ * @deprecated New flat config format: You can now replace `Config.Bundling.` with `Config.`
61
+ */
62
+ readonly Bundling: {
21
63
  /**
22
64
  * Specify the entry point so you don't have to specify it in the
23
65
  * CLI command
24
66
  */
25
67
  readonly setEntryPoint: (src: string) => void;
68
+ /**
69
+ * Pass in a function which takes the current Webpack config
70
+ * and return a modified Webpack configuration.
71
+ * Docs: http://remotion.dev/docs/webpack
72
+ */
73
+ readonly overrideWebpackConfig: (fn: WebpackOverrideFn) => void;
26
74
  /**
27
75
  * Whether Webpack bundles should be cached to make
28
76
  * subsequent renders faster. Default: true
@@ -40,246 +88,204 @@ declare global {
40
88
  * You can set an absolute path or a relative path that will be resolved from the closest package.json location.
41
89
  */
42
90
  readonly setPublicDir: (publicDir: string | null) => void;
43
- }
44
- interface RemotionConfigObject {
45
- /**
46
- * @deprecated New flat config format: You can now replace `Config.Preview.` with `Config.`
47
- */
48
- readonly Preview: {
49
- /**
50
- * Change the maximum amount of tracks that are shown in the timeline.
51
- * @param maxTracks The maximum amount of timeline tracks that you would like to show.
52
- * @default 15
53
- */
54
- readonly setMaxTimelineTracks: (maxTracks: number) => void;
55
- /**
56
- * Enable Keyboard shortcuts in the Remotion Preview.
57
- * @param enabled Boolean whether to enable the keyboard shortcuts
58
- * @default true
59
- */
60
- readonly setKeyboardShortcutsEnabled: (enableShortcuts: boolean) => void;
61
- /**
62
- * Set number of shared audio tags. https://www.remotion.dev/docs/player/autoplay#use-the-numberofsharedaudiotags-property
63
- * @param numberOfAudioTags
64
- * @default 0
65
- */
66
- readonly setNumberOfSharedAudioTags: (numberOfAudioTags: number) => void;
67
- /**
68
- * Enable Webpack polling instead of file system listeners for hot reloading in the preview.
69
- * This is useful if you are using a remote directory or a virtual machine.
70
- * @param interval
71
- * @default null
72
- */
73
- readonly setWebpackPollingInMilliseconds: (interval: number | null) => void;
74
- /**
75
- * Whether Remotion should open a browser when starting the Preview.
76
- * @param should
77
- * @default true
78
- */
79
- readonly setShouldOpenBrowser: (should: boolean) => void;
80
- };
81
- /**
82
- * @deprecated New flat config format: You can now replace `Config.Bundling.` with `Config.`
83
- */
84
- readonly Bundling: RemotionBundlingOptions;
85
- /**
86
- * @deprecated New flat config format: You can now replace `Config.Log.` with `Config.`
87
- */
88
- readonly Log: {
89
- /**
90
- * Set the log level.
91
- * Acceptable values: 'error' | 'warning' | 'info' | 'verbose'
92
- * Default value: 'info'
93
- *
94
- * Set this to 'verbose' to get browser logs and other IO.
95
- */
96
- readonly setLevel: (newLogLevel: 'verbose' | 'info' | 'warn' | 'error') => void;
97
- };
98
- /**
99
- * @deprecated New flat config format: You can now replace `Config.Puppeteer.` with `Config.`
100
- */
101
- readonly Puppeteer: {
102
- /**
103
- * Specify executable path for the browser to use.
104
- * Default: null, which will make Remotion find or download a version of said browser.
105
- */
106
- readonly setBrowserExecutable: (newBrowserExecutablePath: BrowserExecutable) => void;
107
- /**
108
- * Set how many milliseconds a frame may take to render before it times out.
109
- * Default: `30000`
110
- */
111
- readonly setDelayRenderTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
112
- /**
113
- * @deprecated Renamed to `setDelayRenderTimeoutInMilliseconds`.
114
- * Set how many milliseconds a frame may take to render before it times out.
115
- * Default: `30000`
116
- */
117
- readonly setTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
118
- /**
119
- * Setting deciding whether to disable CORS and other Chrome security features.
120
- * Default: false
121
- */
122
- readonly setChromiumDisableWebSecurity: (should: boolean) => void;
123
- /**
124
- * Setting whether to ignore any invalid SSL certificates, such as self-signed ones.
125
- * Default: false
126
- */
127
- readonly setChromiumIgnoreCertificateErrors: (should: boolean) => void;
128
- /**
129
- * If false, will open an actual browser during rendering to observe progress.
130
- * Default: true
131
- */
132
- readonly setChromiumHeadlessMode: (should: boolean) => void;
133
- /**
134
- * Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle', 'swiftshader' and 'swangle'.
135
- * Default: 'swangle' in Lambda, null elsewhere.
136
- */
137
- readonly setChromiumOpenGlRenderer: (renderer: 'swangle' | 'angle' | 'egl' | 'swiftshader') => void;
138
- };
139
- /**
140
- * @deprecated New flat config format: You can now replace `Config.Rendering.` with `Config.`
141
- */
142
- readonly Rendering: {
143
- /**
144
- * Set a custom location for a .env file.
145
- * Default: `.env`
146
- */
147
- readonly setDotEnvLocation: (file: string) => void;
148
- /**
149
- * Sets how many Puppeteer instances will work on rendering your video in parallel.
150
- * Default: `null`, meaning half of the threads available on your CPU.
151
- */
152
- readonly setConcurrency: (newConcurrency: Concurrency) => void;
153
- /**
154
- * Set the JPEG quality for the frames.
155
- * Must be between 0 and 100.
156
- * Must be between 0 and 100.
157
- * Default: 80
158
- */
159
- readonly setQuality: (q: number | undefined) => void;
160
- /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
161
- * PNG is slower, but supports transparency.
162
- */
163
- readonly setImageFormat: (format: 'png' | 'jpeg' | 'none') => void;
164
- /**
165
- * Render only a subset of a video.
166
- * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
167
- * Pass in a single number `20` to only render a single frame as an image.
168
- * The frame count starts at 0.
169
- */
170
- readonly setFrameRange: (newFrameRange: FrameRange | null) => void;
171
- /**
172
- * Specify local ffmpeg executable.
173
- * Default: null, which will use ffmpeg available in PATH.
174
- */
175
- readonly setFfmpegExecutable: (ffmpegPath: FfmpegExecutable) => void;
176
- /**
177
- * Specify local ffprobe executable.
178
- * Default: null, which will use ffprobe available in PATH.
179
- */
180
- readonly setFfprobeExecutable: (ffprobePath: FfmpegExecutable) => void;
181
- /**
182
- * Scales the output dimensions by a factor.
183
- * Default: 1.
184
- */
185
- readonly setScale: (newScale: number) => void;
186
- /**
187
- * Specify which frames should be picked for rendering a GIF
188
- * Default: 1, which means every frame
189
- * https://remotion.dev/docs/render-as-gif
190
- */
191
- readonly setEveryNthFrame: (frame: number) => void;
192
- /**
193
- * Specify the number of Loop a GIF should have.
194
- * Default: null (means GIF will loop infinite)
195
- */
196
- readonly setNumberOfGifLoops: (newLoop: Loop) => void;
197
- /**
198
- * Disable audio output.
199
- * Default: false
200
- */
201
- readonly setMuted: (muted: boolean) => void;
202
- /**
203
- * Don't render an audio track if it would be silent.
204
- * Default: true
205
- */
206
- readonly setEnforceAudioTrack: (enforceAudioTrack: boolean) => void;
207
- };
208
- /**
209
- * @deprecated New flat config format: You can now replace `Config.Output.` with `Config.`
210
- */
211
- readonly Output: {
212
- /**
213
- * Set the output file location string. Default: `out/{composition}.{codec}`
214
- */
215
- readonly setOutputLocation: (newOutputLocation: string) => void;
216
- /**
217
- * If the video file already exists, should Remotion overwrite
218
- * the output? Default: true
219
- */
220
- readonly setOverwriteOutput: (newOverwrite: boolean) => void;
221
- /**
222
- * Sets the pixel format in FFMPEG.
223
- * See https://trac.ffmpeg.org/wiki/Chroma%20Subsampling for an explanation.
224
- * You can override this using the `--pixel-format` Cli flag.
225
- */
226
- readonly setPixelFormat: (format: 'yuv420p' | 'yuva420p' | 'yuv422p' | 'yuv444p' | 'yuv420p10le' | 'yuv422p10le' | 'yuv444p10le' | 'yuva444p10le') => void;
227
- /**
228
- * @deprecated Use setCodec() and setImageSequence() instead.
229
- * Specify what kind of output you, either `mp4` or `png-sequence`.
230
- */
231
- readonly setOutputFormat: (newLegacyFormat: 'mp4' | 'png-sequence') => void;
232
- /**
233
- * Specify the codec for stitching the frames into a video.
234
- * Can be `h264` (default), `h265`, `vp8` or `vp9`
235
- */
236
- readonly setCodec: (newCodec: CodecOrUndefined) => void;
237
- /**
238
- * Set the Constant Rate Factor to pass to FFMPEG.
239
- * Lower values mean better quality, but be aware that the ranges of
240
- * possible values greatly differs between codecs.
241
- */
242
- readonly setCrf: (newCrf: Crf) => void;
243
- /**
244
- * Set to true if don't want a video but an image sequence as the output.
245
- */
246
- readonly setImageSequence: (newImageSequence: boolean) => void;
247
- /**
248
- * Overrides the height of a composition
249
- */
250
- readonly overrideHeight: (newHeight: number) => void;
251
- /**
252
- * Overrides the width of a composition
253
- */
254
- readonly overrideWidth: (newWidth: number) => void;
255
- /**
256
- * Set the ProRes profile.
257
- * This method is only valid if the codec has been set to 'prores'.
258
- * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
259
- * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
260
- */
261
- readonly setProResProfile: (profile: '4444-xq' | '4444' | 'hq' | 'standard' | 'light' | 'proxy' | undefined) => void;
262
- /**
263
- * Override the arguments that Remotion passes to FFMPEG.
264
- * Consult https://remotion.dev/docs/renderer/render-media#ffmpegoverride before using this feature.
265
- */
266
- readonly overrideFfmpegCommand: (command: (info: {
267
- type: 'pre-stitcher' | 'stitcher';
268
- args: string[];
269
- }) => string[]) => void;
270
- /**
271
- * Set a target audio bitrate to be passed to FFMPEG.
272
- */
273
- readonly setAudioBitrate: (bitrate: string | null) => void;
274
- /**
275
- * Set a target video bitrate to be passed to FFMPEG.
276
- * Mutually exclusive with setCrf().
277
- */
278
- readonly setVideoBitrate: (bitrate: string | null) => void;
279
- };
280
- }
281
- }
282
- export declare type ConfigType = RemotionConfigObject & FlatConfig;
283
- export type { Concurrency };
91
+ };
92
+ /**
93
+ * @deprecated New flat config format: You can now replace `Config.Log.` with `Config.`
94
+ */
95
+ readonly Log: {
96
+ /**
97
+ * Set the log level.
98
+ * Acceptable values: 'error' | 'warning' | 'info' | 'verbose'
99
+ * Default value: 'info'
100
+ *
101
+ * Set this to 'verbose' to get browser logs and other IO.
102
+ */
103
+ readonly setLevel: (newLogLevel: 'verbose' | 'info' | 'warn' | 'error') => void;
104
+ };
105
+ /**
106
+ * @deprecated New flat config format: You can now replace `Config.Puppeteer.` with `Config.`
107
+ */
108
+ readonly Puppeteer: {
109
+ /**
110
+ * Specify executable path for the browser to use.
111
+ * Default: null, which will make Remotion find or download a version of said browser.
112
+ */
113
+ readonly setBrowserExecutable: (newBrowserExecutablePath: BrowserExecutable) => void;
114
+ /**
115
+ * Set how many milliseconds a frame may take to render before it times out.
116
+ * Default: `30000`
117
+ */
118
+ readonly setDelayRenderTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
119
+ /**
120
+ * @deprecated Renamed to `setDelayRenderTimeoutInMilliseconds`.
121
+ * Set how many milliseconds a frame may take to render before it times out.
122
+ * Default: `30000`
123
+ */
124
+ readonly setTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
125
+ /**
126
+ * Setting deciding whether to disable CORS and other Chrome security features.
127
+ * Default: false
128
+ */
129
+ readonly setChromiumDisableWebSecurity: (should: boolean) => void;
130
+ /**
131
+ * Setting whether to ignore any invalid SSL certificates, such as self-signed ones.
132
+ * Default: false
133
+ */
134
+ readonly setChromiumIgnoreCertificateErrors: (should: boolean) => void;
135
+ /**
136
+ * If false, will open an actual browser during rendering to observe progress.
137
+ * Default: true
138
+ */
139
+ readonly setChromiumHeadlessMode: (should: boolean) => void;
140
+ /**
141
+ * Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle', 'swiftshader' and 'swangle'.
142
+ * Default: 'swangle' in Lambda, null elsewhere.
143
+ */
144
+ readonly setChromiumOpenGlRenderer: (renderer: 'swangle' | 'angle' | 'egl' | 'swiftshader') => void;
145
+ };
146
+ /**
147
+ * @deprecated New flat config format: You can now replace `Config.Rendering.` with `Config.`
148
+ */
149
+ readonly Rendering: {
150
+ /**
151
+ * Set a custom location for a .env file.
152
+ * Default: `.env`
153
+ */
154
+ readonly setDotEnvLocation: (file: string) => void;
155
+ /**
156
+ * Sets how many Puppeteer instances will work on rendering your video in parallel.
157
+ * Default: `null`, meaning half of the threads available on your CPU.
158
+ */
159
+ readonly setConcurrency: (newConcurrency: Concurrency) => void;
160
+ /**
161
+ * Set the JPEG quality for the frames.
162
+ * Must be between 0 and 100.
163
+ * Must be between 0 and 100.
164
+ * Default: 80
165
+ */
166
+ readonly setQuality: (q: number | undefined) => void;
167
+ /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
168
+ * PNG is slower, but supports transparency.
169
+ */
170
+ readonly setImageFormat: (format: 'png' | 'jpeg' | 'none') => void;
171
+ /**
172
+ * Render only a subset of a video.
173
+ * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
174
+ * Pass in a single number `20` to only render a single frame as an image.
175
+ * The frame count starts at 0.
176
+ */
177
+ readonly setFrameRange: (newFrameRange: FrameRange | null) => void;
178
+ /**
179
+ * Specify local ffmpeg executable.
180
+ * Default: null, which will use ffmpeg available in PATH.
181
+ */
182
+ readonly setFfmpegExecutable: (ffmpegPath: FfmpegExecutable) => void;
183
+ /**
184
+ * Specify local ffprobe executable.
185
+ * Default: null, which will use ffprobe available in PATH.
186
+ */
187
+ readonly setFfprobeExecutable: (ffprobePath: FfmpegExecutable) => void;
188
+ /**
189
+ * Scales the output dimensions by a factor.
190
+ * Default: 1.
191
+ */
192
+ readonly setScale: (newScale: number) => void;
193
+ /**
194
+ * Specify which frames should be picked for rendering a GIF
195
+ * Default: 1, which means every frame
196
+ * https://remotion.dev/docs/render-as-gif
197
+ */
198
+ readonly setEveryNthFrame: (frame: number) => void;
199
+ /**
200
+ * Specify the number of Loop a GIF should have.
201
+ * Default: null (means GIF will loop infinite)
202
+ */
203
+ readonly setNumberOfGifLoops: (newLoop: Loop) => void;
204
+ /**
205
+ * Disable audio output.
206
+ * Default: false
207
+ */
208
+ readonly setMuted: (muted: boolean) => void;
209
+ /**
210
+ * Don't render an audio track if it would be silent.
211
+ * Default: true
212
+ */
213
+ readonly setEnforceAudioTrack: (enforceAudioTrack: boolean) => void;
214
+ };
215
+ /**
216
+ * @deprecated New flat config format: You can now replace `Config.Output.` with `Config.`
217
+ */
218
+ readonly Output: {
219
+ /**
220
+ * Set the output file location string. Default: `out/{composition}.{codec}`
221
+ */
222
+ readonly setOutputLocation: (newOutputLocation: string) => void;
223
+ /**
224
+ * If the video file already exists, should Remotion overwrite
225
+ * the output? Default: true
226
+ */
227
+ readonly setOverwriteOutput: (newOverwrite: boolean) => void;
228
+ /**
229
+ * Sets the pixel format in FFMPEG.
230
+ * See https://trac.ffmpeg.org/wiki/Chroma%20Subsampling for an explanation.
231
+ * You can override this using the `--pixel-format` Cli flag.
232
+ */
233
+ readonly setPixelFormat: (format: 'yuv420p' | 'yuva420p' | 'yuv422p' | 'yuv444p' | 'yuv420p10le' | 'yuv422p10le' | 'yuv444p10le' | 'yuva444p10le') => void;
234
+ /**
235
+ * @deprecated Use setCodec() and setImageSequence() instead.
236
+ * Specify what kind of output you, either `mp4` or `png-sequence`.
237
+ */
238
+ readonly setOutputFormat: (newLegacyFormat: 'mp4' | 'png-sequence') => void;
239
+ /**
240
+ * Specify the codec for stitching the frames into a video.
241
+ * Can be `h264` (default), `h265`, `vp8` or `vp9`
242
+ */
243
+ readonly setCodec: (newCodec: CodecOrUndefined) => void;
244
+ /**
245
+ * Set the Constant Rate Factor to pass to FFMPEG.
246
+ * Lower values mean better quality, but be aware that the ranges of
247
+ * possible values greatly differs between codecs.
248
+ */
249
+ readonly setCrf: (newCrf: Crf) => void;
250
+ /**
251
+ * Set to true if don't want a video but an image sequence as the output.
252
+ */
253
+ readonly setImageSequence: (newImageSequence: boolean) => void;
254
+ /**
255
+ * Overrides the height of a composition
256
+ */
257
+ readonly overrideHeight: (newHeight: number) => void;
258
+ /**
259
+ * Overrides the width of a composition
260
+ */
261
+ readonly overrideWidth: (newWidth: number) => void;
262
+ /**
263
+ * Set the ProRes profile.
264
+ * This method is only valid if the codec has been set to 'prores'.
265
+ * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
266
+ * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
267
+ */
268
+ readonly setProResProfile: (profile: '4444-xq' | '4444' | 'hq' | 'standard' | 'light' | 'proxy' | undefined) => void;
269
+ /**
270
+ * Override the arguments that Remotion passes to FFMPEG.
271
+ * Consult https://remotion.dev/docs/renderer/render-media#ffmpegoverride before using this feature.
272
+ */
273
+ readonly overrideFfmpegCommand: (command: (info: {
274
+ type: 'pre-stitcher' | 'stitcher';
275
+ args: string[];
276
+ }) => string[]) => void;
277
+ /**
278
+ * Set a target audio bitrate to be passed to FFMPEG.
279
+ */
280
+ readonly setAudioBitrate: (bitrate: string | null) => void;
281
+ /**
282
+ * Set a target video bitrate to be passed to FFMPEG.
283
+ * Mutually exclusive with setCrf().
284
+ */
285
+ readonly setVideoBitrate: (bitrate: string | null) => void;
286
+ };
287
+ };
288
+ export declare type ConfigType = ObjectConfig & FlatConfig;
289
+ export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
284
290
  export declare const Config: ConfigType;
285
291
  export declare const enableLegacyRemotionConfig: () => void;
@@ -1 +1 @@
1
- export declare const VERSION = "3.3.52";
1
+ export declare const VERSION = "3.3.54";
@@ -1,2 +1,2 @@
1
1
  // Automatically generated on publish
2
- export const VERSION = '3.3.52';
2
+ export const VERSION = '3.3.54';
package/dist/index.d.ts CHANGED
@@ -5,7 +5,6 @@ import type { ClipRegion } from './NativeLayers';
5
5
  declare global {
6
6
  interface Window {
7
7
  ready: boolean;
8
- remotion_cancelledError: string | undefined;
9
8
  getStaticCompositions: () => TCompMetadata[];
10
9
  setBundleMode: (bundleMode: BundleState) => void;
11
10
  remotion_staticBase: string;
@@ -48,12 +47,11 @@ export declare type BundleState = {
48
47
  };
49
48
  export * from './AbsoluteFill';
50
49
  export * from './audio';
51
- export { cancelRender } from './cancel-render';
52
50
  export * from './Composition';
53
51
  export { SmallTCompMetadata, TAsset, TCompMetadata } from './CompositionManager';
54
52
  export { Config, ConfigType } from './config';
55
53
  export { getInputProps } from './config/input-props';
56
- export { continueRender, delayRender } from './delay-render';
54
+ export * from './delay-render';
57
55
  export * from './easing';
58
56
  export * from './Folder';
59
57
  export * from './freeze';
@@ -89,4 +87,3 @@ export declare const Experimental: {
89
87
  Null: import("react").FC<{}>;
90
88
  useIsPlayer: () => boolean;
91
89
  };
92
- export declare type WebpackOverrideFn = "The 'WebpackOverrideFn' has been moved to '@remotion/bundler'. Update your imports and install '@remotion/bundler' if necessary.";
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Experimental = exports.useCurrentFrame = exports.staticFile = exports.Series = exports.Sequence = exports.registerRoot = exports.random = exports.prefetch = exports.Loop = exports.interpolateColors = exports.getStaticFiles = exports.delayRender = exports.continueRender = exports.getInputProps = exports.Config = exports.cancelRender = void 0;
17
+ exports.Experimental = exports.useCurrentFrame = exports.staticFile = exports.Series = exports.Sequence = exports.registerRoot = exports.random = exports.prefetch = exports.Loop = exports.interpolateColors = exports.getStaticFiles = exports.getInputProps = exports.Config = void 0;
18
18
  require("./asset-types");
19
19
  const Clipper_1 = require("./Clipper");
20
20
  const is_player_1 = require("./is-player");
@@ -23,16 +23,12 @@ const Null_1 = require("./Null");
23
23
  (0, multiple_versions_warning_1.checkMultipleRemotionVersions)();
24
24
  __exportStar(require("./AbsoluteFill"), exports);
25
25
  __exportStar(require("./audio"), exports);
26
- var cancel_render_1 = require("./cancel-render");
27
- Object.defineProperty(exports, "cancelRender", { enumerable: true, get: function () { return cancel_render_1.cancelRender; } });
28
26
  __exportStar(require("./Composition"), exports);
29
27
  var config_1 = require("./config");
30
28
  Object.defineProperty(exports, "Config", { enumerable: true, get: function () { return config_1.Config; } });
31
29
  var input_props_1 = require("./config/input-props");
32
30
  Object.defineProperty(exports, "getInputProps", { enumerable: true, get: function () { return input_props_1.getInputProps; } });
33
- var delay_render_1 = require("./delay-render");
34
- Object.defineProperty(exports, "continueRender", { enumerable: true, get: function () { return delay_render_1.continueRender; } });
35
- Object.defineProperty(exports, "delayRender", { enumerable: true, get: function () { return delay_render_1.delayRender; } });
31
+ __exportStar(require("./delay-render"), exports);
36
32
  __exportStar(require("./easing"), exports);
37
33
  __exportStar(require("./Folder"), exports);
38
34
  __exportStar(require("./freeze"), exports);
@@ -1,3 +1,4 @@
1
+ import type { Configuration } from 'webpack';
1
2
  import type { CompProps } from './Composition';
2
3
  import type { CompositionManagerContext, TAsset, TCompMetadata, TComposition, TSequence } from './CompositionManager';
3
4
  import * as CSSUtils from './default-css';
@@ -94,4 +95,6 @@ export declare const Internals: {
94
95
  useIsPlayer: () => boolean;
95
96
  useRemotionEnvironment: () => RemotionEnvironment;
96
97
  };
97
- export type { TComposition, Timeline, TCompMetadata, TSequence, TAsset, TimelineContextValue, SetTimelineContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, RemotionEnvironment, };
98
+ declare type WebpackConfiguration = Configuration;
99
+ declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
100
+ export type { TComposition, Timeline, TCompMetadata, TSequence, WebpackOverrideFn, WebpackConfiguration, TAsset, TimelineContextValue, SetTimelineContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, RemotionEnvironment, };