remotion 4.0.537 → 4.0.539

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/cjs/AbsoluteFill.d.ts +62 -62
  2. package/dist/cjs/AbsoluteFill.js +3 -3
  3. package/dist/cjs/AbsoluteFillElement.d.ts +1 -1
  4. package/dist/cjs/AbsoluteFillElement.js +43 -5
  5. package/dist/cjs/CanUseRemotionHooks.js +1 -1
  6. package/dist/cjs/Composition.js +5 -11
  7. package/dist/cjs/CompositionErrorBoundary.js +5 -2
  8. package/dist/cjs/CompositionManager.d.ts +1 -0
  9. package/dist/cjs/CompositionManagerProvider.d.ts +1 -1
  10. package/dist/cjs/CompositionManagerProvider.js +1 -1
  11. package/dist/cjs/CompositionRegistryProvider.d.ts +1 -1
  12. package/dist/cjs/CompositionRegistryProvider.js +1 -1
  13. package/dist/cjs/EditorProps.d.ts +2 -2
  14. package/dist/cjs/EditorProps.js +1 -1
  15. package/dist/cjs/Folder.js +1 -1
  16. package/dist/cjs/HtmlInCanvas.d.ts +58 -67
  17. package/dist/cjs/HtmlInCanvas.js +22 -9
  18. package/dist/cjs/HtmlInCanvasFallback.d.ts +6 -0
  19. package/dist/cjs/HtmlInCanvasFallback.js +39 -0
  20. package/dist/cjs/IFrame.d.ts +2 -2
  21. package/dist/cjs/IFrame.js +1 -1
  22. package/dist/cjs/Img.d.ts +62 -62
  23. package/dist/cjs/Img.js +160 -132
  24. package/dist/cjs/Interactive.d.ts +147 -145
  25. package/dist/cjs/Interactive.js +2 -2
  26. package/dist/cjs/RemotionRoot.js +1 -1
  27. package/dist/cjs/RenderAssetManager.js +1 -1
  28. package/dist/cjs/Sequence.js +37 -27
  29. package/dist/cjs/SequenceActivityBoundary.js +1 -1
  30. package/dist/cjs/SequenceActivityBudget.js +1 -1
  31. package/dist/cjs/SequenceActivitySuspensionProvider.js +1 -1
  32. package/dist/cjs/SequenceManager.d.ts +6 -0
  33. package/dist/cjs/SequenceManager.js +71 -27
  34. package/dist/cjs/SequenceRegistryProvider.js +16 -3
  35. package/dist/cjs/TimelineContext.js +1 -1
  36. package/dist/cjs/Track.js +2 -2
  37. package/dist/cjs/animated-image/AnimatedImage.d.ts +69 -69
  38. package/dist/cjs/animated-image/AnimatedImage.js +6 -6
  39. package/dist/cjs/animated-image/canvas.d.ts +6 -5
  40. package/dist/cjs/animated-image/canvas.js +1 -1
  41. package/dist/cjs/animated-image/create-image-decoder.d.ts +1 -1
  42. package/dist/cjs/animated-image/decode-image.d.ts +1 -1
  43. package/dist/cjs/animated-image/decode-image.js +2 -0
  44. package/dist/cjs/animated-image/get-duration-in-seconds.d.ts +1 -1
  45. package/dist/cjs/animated-image/index.js +1 -1
  46. package/dist/cjs/audio/AudioForPreview.js +5 -28
  47. package/dist/cjs/audio/AudioForRendering.d.ts +5 -20
  48. package/dist/cjs/audio/AudioForRendering.js +44 -5
  49. package/dist/cjs/audio/html5-audio.d.ts +36 -36
  50. package/dist/cjs/audio/html5-audio.js +8 -10
  51. package/dist/cjs/audio/index.js +1 -1
  52. package/dist/cjs/audio/shared-audio-tags.js +10 -16
  53. package/dist/cjs/audio/shared-element-source-node.d.ts +1 -1
  54. package/dist/cjs/audio/use-audio-context.d.ts +2 -1
  55. package/dist/cjs/audio/wait-until-actually-resumed.d.ts +2 -1
  56. package/dist/cjs/buffer-until-first-frame.d.ts +4 -3
  57. package/dist/cjs/buffering.js +1 -1
  58. package/dist/cjs/cancel-render.js +3 -0
  59. package/dist/cjs/canvas-image/CanvasImage.d.ts +71 -71
  60. package/dist/cjs/canvas-image/CanvasImage.js +27 -24
  61. package/dist/cjs/canvas-image/index.js +1 -1
  62. package/dist/cjs/codec.d.ts +1 -1
  63. package/dist/cjs/committed-metadata.d.ts +4 -2
  64. package/dist/cjs/composition-registry-fallback.d.ts +4 -2
  65. package/dist/cjs/composition-registry-fallback.js +12 -10
  66. package/dist/cjs/create-element-source-proxy.js +46 -6
  67. package/dist/cjs/default-css.d.ts +1 -1
  68. package/dist/cjs/delay-render.d.ts +2 -1
  69. package/dist/cjs/delay-render.js +4 -2
  70. package/dist/cjs/easing.js +3 -1
  71. package/dist/cjs/effects/Solid.d.ts +60 -60
  72. package/dist/cjs/effects/Solid.js +2 -2
  73. package/dist/cjs/effects/canvas-pool.js +6 -9
  74. package/dist/cjs/effects/create-curve-sampler.d.ts +1 -0
  75. package/dist/cjs/effects/create-curve-sampler.js +100 -0
  76. package/dist/cjs/effects/effect-source-observer.d.ts +13 -0
  77. package/dist/cjs/effects/effect-source-observer.js +177 -0
  78. package/dist/cjs/effects/index.js +1 -1
  79. package/dist/cjs/effects/run-effect-chain.js +3 -0
  80. package/dist/cjs/effects/use-memoized-effects.d.ts +2 -1
  81. package/dist/cjs/effects/use-memoized-effects.js +29 -13
  82. package/dist/cjs/freeze.js +2 -2
  83. package/dist/cjs/get-cross-origin-value.d.ts +1 -1
  84. package/dist/cjs/get-effective-visual-mode-value.d.ts +2 -2
  85. package/dist/cjs/index.d.ts +3 -1
  86. package/dist/cjs/index.js +32 -32
  87. package/dist/cjs/interactivity-schema.d.ts +286 -286
  88. package/dist/cjs/internals.d.ts +412 -595
  89. package/dist/cjs/internals.js +11 -0
  90. package/dist/cjs/interpolate-colors.d.ts +1 -1
  91. package/dist/cjs/interpolate-colors.js +28 -23
  92. package/dist/cjs/interpolate.d.ts +2 -9
  93. package/dist/cjs/interpolate.js +37 -33
  94. package/dist/cjs/is-player.js +1 -1
  95. package/dist/cjs/loading-indicator.js +2 -6
  96. package/dist/cjs/log-level-context.d.ts +1 -1
  97. package/dist/cjs/log.d.ts +12 -7
  98. package/dist/cjs/loop/index.js +1 -1
  99. package/dist/cjs/media-resource-manager.d.ts +1 -1
  100. package/dist/cjs/media-tag-current-time-timestamp.d.ts +1 -1
  101. package/dist/cjs/no-react.d.ts +85 -91
  102. package/dist/cjs/no-react.js +2 -2
  103. package/dist/cjs/nonce.d.ts +11 -0
  104. package/dist/cjs/nonce.js +42 -0
  105. package/dist/cjs/play-and-handle-not-allowed-error.d.ts +5 -4
  106. package/dist/cjs/playback-logging.d.ts +2 -1
  107. package/dist/cjs/playback-pitch-context.d.ts +1 -0
  108. package/dist/cjs/playback-pitch-context.js +5 -0
  109. package/dist/cjs/prefetch-state.js +1 -1
  110. package/dist/cjs/prefetch.d.ts +7 -6
  111. package/dist/cjs/prefetch.js +30 -5
  112. package/dist/cjs/props-if-has-props.d.ts +2 -1
  113. package/dist/cjs/prores-profile.d.ts +1 -1
  114. package/dist/cjs/register-root.d.ts +2 -2
  115. package/dist/cjs/render-resource-manager.d.ts +1 -1
  116. package/dist/cjs/render-types.d.ts +2 -2
  117. package/dist/cjs/resolve-video-config.d.ts +8 -8
  118. package/dist/cjs/runtime-value-store.d.ts +1 -1
  119. package/dist/cjs/scale-value.d.ts +1 -1
  120. package/dist/cjs/seek.d.ts +3 -2
  121. package/dist/cjs/sequence-activity-context.js +1 -1
  122. package/dist/cjs/sequence-crop.js +1 -4
  123. package/dist/cjs/sequence-order-marker.d.ts +58 -0
  124. package/dist/cjs/sequence-order-marker.js +44 -0
  125. package/dist/cjs/series/flatten-children.d.ts +3 -1
  126. package/dist/cjs/series/index.js +4 -5
  127. package/dist/cjs/series/is-inside-series.js +2 -2
  128. package/dist/cjs/spring/index.d.ts +1 -1
  129. package/dist/cjs/spring/index.js +2 -4
  130. package/dist/cjs/spring/measure-spring.d.ts +1 -1
  131. package/dist/cjs/spring/spring-utils.d.ts +1 -1
  132. package/dist/cjs/spring/spring-utils.js +11 -5
  133. package/dist/cjs/timeline-position-state.d.ts +1 -1
  134. package/dist/cjs/timeline-position-state.js +2 -2
  135. package/dist/cjs/use-amplification.d.ts +4 -7
  136. package/dist/cjs/use-current-scale.d.ts +2 -2
  137. package/dist/cjs/use-delay-render.d.ts +2 -1
  138. package/dist/cjs/use-lazy-component.d.ts +1 -1
  139. package/dist/cjs/use-lazy-component.js +20 -9
  140. package/dist/cjs/use-media-buffering.d.ts +3 -2
  141. package/dist/cjs/use-media-duration.d.ts +4 -0
  142. package/dist/cjs/use-media-duration.js +36 -0
  143. package/dist/cjs/use-media-enabled.d.ts +1 -1
  144. package/dist/cjs/use-media-enabled.js +1 -1
  145. package/dist/cjs/use-media-in-timeline.d.ts +1 -1
  146. package/dist/cjs/use-media-playback.d.ts +3 -3
  147. package/dist/cjs/use-media-tag.d.ts +2 -2
  148. package/dist/cjs/use-pixel-density.d.ts +1 -1
  149. package/dist/cjs/use-premounting.d.ts +1 -1
  150. package/dist/cjs/use-premounting.js +6 -2
  151. package/dist/cjs/use-request-video-callback-time.d.ts +3 -3
  152. package/dist/cjs/use-schema.d.ts +4 -4
  153. package/dist/cjs/use-video.js +1 -1
  154. package/dist/cjs/validate-media-props.d.ts +1 -1
  155. package/dist/cjs/validation/validate-default-props.d.ts +1 -1
  156. package/dist/cjs/version.d.ts +1 -1
  157. package/dist/cjs/version.js +1 -1
  158. package/dist/cjs/video/MediaPlaybackError.js +0 -1
  159. package/dist/cjs/video/OffthreadVideo.js +5 -5
  160. package/dist/cjs/video/OffthreadVideoForRendering.js +9 -7
  161. package/dist/cjs/video/VideoForPreview.js +6 -28
  162. package/dist/cjs/video/VideoForRendering.d.ts +5 -3
  163. package/dist/cjs/video/VideoForRendering.js +4 -2
  164. package/dist/cjs/video/duration-state.d.ts +1 -0
  165. package/dist/cjs/video/duration-state.js +8 -2
  166. package/dist/cjs/video/emit-video-frame.d.ts +1 -1
  167. package/dist/cjs/video/html5-video.d.ts +36 -36
  168. package/dist/cjs/video/html5-video.js +8 -10
  169. package/dist/cjs/video/index.js +2 -2
  170. package/dist/cjs/video/seek-until-right.d.ts +3 -2
  171. package/dist/cjs/warn-about-non-seekable-media.d.ts +1 -1
  172. package/dist/cjs/with-interactivity-schema.d.ts +1 -1
  173. package/dist/cjs/with-interactivity-schema.js +3 -8
  174. package/dist/cjs/wrap-remotion-context.d.ts +4 -4
  175. package/dist/cjs/wrap-remotion-context.js +2 -2
  176. package/dist/esm/index.mjs +1304 -819
  177. package/dist/esm/no-react.mjs +74 -52
  178. package/dist/esm/version.mjs +1 -1
  179. package/package.json +4 -4
@@ -1,30 +1,100 @@
1
+ import { getAbsoluteSrc } from './absolute-src.js';
2
+ import { getAnimatedImageDurationInSeconds } from './animated-image/get-duration-in-seconds.js';
3
+ import { getAudioSyncAnchorTolerance } from './audio/get-audio-sync-anchor-tolerance.js';
1
4
  import type { ScheduleAudioNodeResult } from './audio/shared-audio-tags.js';
2
5
  import { type ScheduleAudioNodeOptions } from './audio/shared-audio-tags.js';
3
6
  import type { RemotionAudioContextState } from './audio/use-audio-context.js';
7
+ import { useFrameForVolumeProp, useMediaStartsAt } from './audio/use-audio-frame.js';
8
+ import { useMediaAudioState } from './audio/use-media-audio-state.js';
9
+ import { calculateMediaDuration } from './calculate-media-duration.js';
10
+ import { withCommittedMetadata } from './committed-metadata.js';
11
+ import { getSingleChildComponent, setComponentIdentityResolver } from './component-identity.js';
4
12
  import { type CompProps } from './Composition.js';
5
13
  import type { JsxComponentIdentity, TCompMetadata, TComposition, TRenderAsset, TSequence } from './CompositionManager.js';
6
14
  import type { CompositionManagerContext } from './CompositionManagerContext.js';
15
+ import { CompositionManagerProvider } from './CompositionManagerProvider.js';
16
+ import { createElementSourceProxy } from './create-element-source-proxy.js';
7
17
  import * as CSSUtils from './default-css.js';
8
- import { type OriginalSourceLocation } from './enable-sequence-stack-traces.js';
18
+ import { createCurveSampler } from './effects/create-curve-sampler.js';
19
+ import { createEffect } from './effects/create-effect.js';
20
+ import { subscribeToEffectSource } from './effects/effect-source-observer.js';
21
+ import { cleanupEffectChainState, createEffectChainState, runEffectChain } from './effects/run-effect-chain.js';
22
+ import { useEffectChainState } from './effects/use-effect-chain-state.js';
23
+ import { getEffectPropStatusesCtx, getPropStatusesCtx, useMemoizedEffectDefinitions, useMemoizedEffects } from './effects/use-memoized-effects.js';
24
+ import { createWebGL2ContextError, createWebGLContextError } from './effects/webgl2-context-error.js';
25
+ import { addSequenceStackTraces, getComponentsToAddStacksTo, getStackForControls, makeOriginalSourceStack, parseOriginalSourceStack, type OriginalSourceLocation } from './enable-sequence-stack-traces.js';
26
+ import { evaluateSourceNumericValue, evaluateSourcePropStatuses } from './evaluate-source-expressions.js';
27
+ import { findPropsToDelete } from './find-props-to-delete.js';
28
+ import { flattenActiveSchema, getFlatSchemaWithAllKeys } from './flatten-schema.js';
29
+ import { useIsInsideNonPremountFreeze } from './freeze.js';
30
+ import { getAssetDisplayName } from './get-asset-file-name.js';
31
+ import { getEffectiveVisualModeValue, resolveDragOverrideValue } from './get-effective-visual-mode-value.js';
32
+ import { getPreviewDomElement } from './get-preview-dom-element.js';
33
+ import { getRemotionEnvironment } from './get-remotion-environment.js';
34
+ import { useHtmlInCanvasUnsupportedMessage } from './HtmlInCanvas.js';
35
+ import { getInputPropsOverride, setInputPropsOverride } from './input-props-override.js';
9
36
  import type { SerializedJSONWithCustomFields } from './input-props-serialization.js';
10
37
  import { type ArrayFieldSchema, type ArrayItemFieldSchema, type AssetFieldSchema, type InteractivitySchema, type InteractivitySchemaField, type VisibleFieldSchema } from './interactivity-schema.js';
38
+ import { interpolateKeyframedStatus, prepareNumericKeyframedStatus, setInterpolatePaths } from './interpolate-keyframed-status.js';
39
+ import { useIsPlayer } from './is-player.js';
11
40
  import type { LoggingContextValue } from './log-level-context.js';
41
+ import { useLogLevel } from './log-level-context.js';
42
+ import { getMediabunnyInputResourceKey, makeMediaResourceManager } from './media-resource-manager.js';
43
+ import { usePendingSequenceDeletions } from './optimistic-sequence-deletion.js';
44
+ import { playbackLogging } from './playback-logging.js';
45
+ import { portalNode, setPortalNodeCurrentScale } from './portal-node.js';
46
+ import { usePreload } from './prefetch.js';
47
+ import { getRoot, waitForRoot } from './register-root.js';
12
48
  import type { RemotionEnvironment } from './remotion-environment-context.js';
49
+ import { makeRenderResourceManager } from './render-resource-manager.js';
50
+ import { resolveSequenceDuration } from './resolve-sequence-duration.js';
51
+ import { resolveVideoConfig, resolveVideoConfigOrCatch, resolveVideoConfigWithMetadataOrCatch } from './resolve-video-config.js';
52
+ import { useResolvedVideoConfig } from './ResolveCompositionConfig.js';
53
+ import { createRuntimeValueStore } from './runtime-value-store.js';
54
+ import { resolveSequenceCrop } from './sequence-crop.js';
13
55
  import type { OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters } from './sequence-node-path.js';
14
56
  import { OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext } from './sequence-node-path.js';
15
57
  import type { ResolvedStackLocation } from './sequence-stack-traces.js';
16
58
  import type { CannotUpdateSequenceReason } from './SequenceManager.js';
17
- import { type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type SequencePropsStatusRemapping, type SequencePropsSubscriptionKey, type VideoConfigValues } from './SequenceManager.js';
59
+ import { makeSequencePropsSubscriptionKey, useActiveFromDragOverrideKeys, useDragOverridesForNodePath, useSequenceManagerSequences, type CanUpdateEffectPropsResponse, type CanUpdateEffectPropsResponseFalse, type CanUpdateEffectPropsResponseTrue, type CanUpdateSequencePropsResponse, type CanUpdateSequencePropsResponseFalse, type CanUpdateSequencePropsResponseTrue, type SequenceNodePath, type SequencePropsStatusRemapping, type SequencePropsSubscriptionKey, type VideoConfigValues } from './SequenceManager.js';
60
+ import { setupEnvVariables } from './setup-env-variables.js';
18
61
  import * as TimelinePosition from './timeline-position-state.js';
62
+ import { persistCurrentFrame, usePlaybackRate, useTimelineContext, useTimelineSetFrameWithoutSeek } from './timeline-position-state.js';
19
63
  import { type PlaybackRateContextValue, type SetTimelineContextValue, type TimelineContextValue } from './TimelineContext.js';
20
64
  import { truthy } from './truthy.js';
65
+ import { useBuffering } from './use-buffering.js';
66
+ import { useCropStyle } from './use-crop-style.js';
67
+ import { calculateScale } from './use-current-scale.js';
68
+ import { useLazyComponent } from './use-lazy-component.js';
69
+ import { useAudioEnabled, useVideoEnabled } from './use-media-enabled.js';
70
+ import { useBasicMediaInTimeline, useMediaInTimelineRegistration as useMediaInTimeline } from './use-media-in-timeline.js';
71
+ import { usePlaying } from './use-playing.js';
72
+ import { usePremounting } from './use-premounting.js';
21
73
  import type { CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, DragOverrideValue, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, VideoConfigNumericExpression } from './use-schema.js';
22
- import { type CanUpdateSequencePropStatus, type DragOverrides, type EffectDragOverrides, type PropStatuses } from './use-schema.js';
74
+ import { computeEffectiveSchemaValuesDotNotation, getStaticDragOverrideValue, makeKeyframedDragOverride, makeStaticDragOverride, type CanUpdateSequencePropStatus, type DragOverrides, type EffectDragOverrides, type PropStatuses } from './use-schema.js';
75
+ import { useTimelineSeek } from './use-timeline-seek.js';
76
+ import { useUnsafeVideoConfig } from './use-unsafe-video-config.js';
77
+ import { useVideo } from './use-video.js';
78
+ import { validateMediaProps } from './validate-media-props.js';
79
+ import { resolveTrimProps, validateMediaTrimProps } from './validate-start-from-props.js';
80
+ import { validateRenderAsset } from './validation/validate-artifact.js';
81
+ import { isCompositionIdValid } from './validation/validate-composition-id.js';
82
+ import { isFolderNameValid } from './validation/validate-folder-name.js';
83
+ import { isIosSafari } from './video/video-fragment.js';
23
84
  import type { MediaVolumeContextValue, SetMediaVolumeContextValue } from './volume-position-state.js';
85
+ import { useMediaVolumeState, usePlayerMutedState } from './volume-position-state.js';
86
+ import { evaluateVolume } from './volume-prop.js';
87
+ import { warnAboutTooHighVolume } from './volume-safeguard.js';
24
88
  import type { WatchRemotionStaticFilesPayload } from './watch-static-file.js';
25
- import { useRemotionContexts } from './wrap-remotion-context.js';
89
+ import { RemotionContextProvider, useRemotionContexts } from './wrap-remotion-context.js';
26
90
  export type { EffectChainState } from './effects/run-effect-chain.js';
27
91
  export declare const Internals: {
92
+ readonly HtmlInCanvasFallback: import("react").FC<{
93
+ readonly children: React.ReactNode;
94
+ readonly style: React.CSSProperties;
95
+ readonly label: string;
96
+ }>;
97
+ readonly useHtmlInCanvasUnsupportedMessage: typeof useHtmlInCanvasUnsupportedMessage;
28
98
  readonly OptimisticSequenceDeletion: {
29
99
  register: (stack: string | null, node: {
30
100
  absolutePath: string;
@@ -52,76 +122,39 @@ export declare const Internals: {
52
122
  nodePath: SequenceNodePath;
53
123
  }[], dispatchedRevision: number) => () => void;
54
124
  };
55
- readonly usePendingSequenceDeletions: () => ReadonlySet<string>;
56
- readonly createElementSourceProxy: <T extends typeof import("react").createElement | typeof import("react/jsx-runtime").jsx | typeof import("react/jsx-dev-runtime").jsxDEV>(api: T, sourceArgumentIndex: number | null, getSourceFileName: (fileName: string) => string) => T;
125
+ readonly usePendingSequenceDeletions: typeof usePendingSequenceDeletions;
126
+ readonly createElementSourceProxy: typeof createElementSourceProxy;
57
127
  readonly CommittedMetadataProvider: import("react").ProviderExoticComponent<import("react").ProviderProps<null> & {
58
128
  readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
59
129
  }>;
60
- readonly withCommittedMetadata: <T>(provider: import("react").Provider<T>) => import("react").ProviderExoticComponent<import("react").ProviderProps<T> & {
61
- readonly _remotionCommitMetadata: import("./committed-metadata.js").CommittedMetadata | null;
62
- }>;
130
+ readonly withCommittedMetadata: typeof withCommittedMetadata;
63
131
  readonly DefaultPremountContext: import("react").Context<number>;
64
- readonly evaluateSourceNumericValue: (expression: import("./use-schema.js").SourceNumericValue, config: VideoConfigValues | null) => number;
65
- readonly evaluateSourcePropStatuses: (props: Record<string, import("./use-schema.js").CanUpdateSequencePropSource>, config: VideoConfigValues | null) => Record<string, CanUpdateSequencePropStatus>;
66
- readonly AbsoluteFillElement: import("react").ForwardRefExoticComponent<Omit<import("./AbsoluteFillElement.js").AbsoluteFillElementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
132
+ readonly evaluateSourceNumericValue: typeof evaluateSourceNumericValue;
133
+ readonly evaluateSourcePropStatuses: typeof evaluateSourcePropStatuses;
134
+ readonly AbsoluteFillElement: import("react").NamedExoticComponent<Omit<import("./AbsoluteFillElement.js").AbsoluteFillElementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
67
135
  readonly MaxMediaCacheSizeContext: import("react").Context<number | null>;
68
- readonly getMediabunnyInputResourceKey: ({ src, credentials, requestInitFingerprint, revision, }: {
69
- src: string;
70
- credentials: RequestCredentials | null;
71
- requestInitFingerprint: unknown;
72
- revision: string | null;
73
- }) => string;
136
+ readonly getMediabunnyInputResourceKey: typeof getMediabunnyInputResourceKey;
74
137
  readonly globalMediaResourceManager: import("./media-resource-manager.js").MediaResourceManager;
75
- readonly makeMediaResourceManager: () => import("./media-resource-manager.js").MediaResourceManager;
138
+ readonly makeMediaResourceManager: typeof makeMediaResourceManager;
76
139
  readonly MEDIABUNNY_DURATION_VALUE_KEY: "mediabunny-duration";
77
- readonly makeRenderResourceManager: () => import("./render-resource-manager.js").RenderResourceManager;
140
+ readonly makeRenderResourceManager: typeof makeRenderResourceManager;
78
141
  readonly RenderResourceManagerContext: import("react").Context<import("./render-resource-manager.js").RenderResourceManager | null>;
79
- readonly createRuntimeValueStore: <TSnapshot extends Readonly<Record<string, unknown>>>(initialSnapshot: TSnapshot) => import("./runtime-value-store.js").RuntimeValueStoreController<TSnapshot>;
80
- readonly useUnsafeVideoConfig: () => import("./video-config.js").VideoConfig | null;
81
- readonly useFrameForVolumeProp: (behavior: import("./index.js").LoopVolumeCurveBehavior) => number;
82
- readonly useTimelinePosition: () => number;
83
- readonly useAbsoluteTimelinePosition: () => number;
84
- readonly useIsInsideFreeze: () => boolean;
85
- readonly useIsInsideNonPremountFreeze: () => boolean;
86
- readonly useMediaAudioState: ({ muted, volume, audioEnabled, }: {
87
- readonly muted: boolean;
88
- readonly volume: number | null;
89
- readonly audioEnabled: boolean;
90
- }) => import("./audio/use-media-audio-state.js").MediaAudioState;
91
- readonly evaluateVolume: ({ frame, volume, mediaVolume, }: {
92
- frame: number;
93
- volume: import("./volume-prop.js").VolumeProp | undefined;
94
- mediaVolume: number;
95
- }) => number;
96
- readonly getAbsoluteSrc: (relativeSrc: string) => string;
97
- readonly getAnimatedImageDurationInSeconds: ({ resolvedSrc, signal, requestInit, contentType, }: {
98
- resolvedSrc: string;
99
- signal: AbortSignal;
100
- requestInit?: RequestInit | undefined;
101
- contentType: string | null;
102
- }) => Promise<number>;
103
- readonly getAssetDisplayName: (filename: string) => string;
142
+ readonly createRuntimeValueStore: typeof createRuntimeValueStore;
143
+ readonly useUnsafeVideoConfig: typeof useUnsafeVideoConfig;
144
+ readonly useFrameForVolumeProp: typeof useFrameForVolumeProp;
145
+ readonly useTimelinePosition: typeof TimelinePosition.useTimelinePosition;
146
+ readonly useAbsoluteTimelinePosition: typeof TimelinePosition.useAbsoluteTimelinePosition;
147
+ readonly useIsInsideFreeze: typeof TimelinePosition.useIsInsideFreeze;
148
+ readonly useIsInsideNonPremountFreeze: typeof useIsInsideNonPremountFreeze;
149
+ readonly useMediaAudioState: typeof useMediaAudioState;
150
+ readonly evaluateVolume: typeof evaluateVolume;
151
+ readonly getAbsoluteSrc: typeof getAbsoluteSrc;
152
+ readonly getAnimatedImageDurationInSeconds: typeof getAnimatedImageDurationInSeconds;
153
+ readonly getAssetDisplayName: typeof getAssetDisplayName;
104
154
  readonly Timeline: typeof TimelinePosition;
105
- readonly validateMediaTrimProps: ({ startFrom, endAt, trimBefore, trimAfter, }: {
106
- startFrom: number | undefined;
107
- endAt: number | undefined;
108
- trimBefore: number | undefined;
109
- trimAfter: number | undefined;
110
- }) => void;
111
- readonly validateMediaProps: (props: {
112
- volume: import("./volume-prop.js").VolumeProp | undefined;
113
- playbackRate: number | undefined;
114
- preservePitch?: boolean | undefined;
115
- }, component: "Audio" | "Html5Audio" | "Html5Video" | "Video") => void;
116
- readonly resolveTrimProps: ({ startFrom, endAt, trimBefore, trimAfter, }: {
117
- startFrom: number | undefined;
118
- endAt: number | undefined;
119
- trimBefore: number | undefined;
120
- trimAfter: number | undefined;
121
- }) => {
122
- trimBeforeValue: number | undefined;
123
- trimAfterValue: number | undefined;
124
- };
155
+ readonly validateMediaTrimProps: typeof validateMediaTrimProps;
156
+ readonly validateMediaProps: typeof validateMediaProps;
157
+ readonly resolveTrimProps: typeof resolveTrimProps;
125
158
  readonly VideoForPreview: import("react").ForwardRefExoticComponent<Omit<Omit<import("./index.js").RemotionVideoProps, "onVideoFrame"> & {
126
159
  readonly onlyWarnForMediaSeekingError: boolean;
127
160
  readonly onDuration: (src: string, durationInSeconds: number) => void;
@@ -129,8 +162,8 @@ export declare const Internals: {
129
162
  readonly _remotionInternalNativeLoopPassed: boolean;
130
163
  readonly _remotionInternalStack: string | null;
131
164
  readonly showInTimeline: boolean;
132
- readonly onVideoFrame: import("./index.js").OnVideoFrame | null;
133
- readonly crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
165
+ readonly onVideoFrame: null | import("./index.js").OnVideoFrame;
166
+ readonly crossOrigin?: '' | 'anonymous' | 'use-credentials';
134
167
  }, "ref"> & import("react").RefAttributes<HTMLVideoElement>>;
135
168
  readonly CompositionManager: import("react").Context<CompositionManagerContext>;
136
169
  readonly CompositionManagerRefContext: import("react").Context<{
@@ -139,21 +172,22 @@ export declare const Internals: {
139
172
  readonly CompositionSetters: import("react").Context<import("./CompositionManagerContext.js").CompositionManagerSetters>;
140
173
  readonly VisualModePropStatusesContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatuses>;
141
174
  readonly VisualModePropStatusesRefContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatusesRef>;
175
+ readonly VisualModePropStatusesSubscriptionContext: import("react").Context<import("./SequenceManager.js").VisualModePropStatusesSubscription>;
142
176
  readonly VisualModeBatchSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeBatchSetters | null>;
143
177
  readonly VisualModeDragOverridesContext: import("react").Context<import("./SequenceManager.js").VisualModeDragOverrides>;
144
178
  readonly VisualModeDragOverridesRefContext: import("react").Context<import("react").RefObject<import("./SequenceManager.js").VisualModeDragOverrides>>;
145
179
  readonly VisualModeSettersContext: import("react").Context<import("./SequenceManager.js").VisualModeSetters>;
146
180
  readonly SequenceManagerProvider: import("react").FC<{
147
- readonly children: import("react").ReactNode;
181
+ readonly children: React.ReactNode;
148
182
  }>;
149
183
  readonly SequenceManagerRefContext: import("react").Context<import("./sequence-registry-context.js").SequenceManagerRef>;
150
184
  readonly SequenceRegistryContext: import("react").Context<import("./registry-store.js").RegistryStore<TSequence[]> | null>;
151
- readonly useActiveFromDragOverrideKeys: () => ReadonlySet<string>;
152
- readonly useDragOverridesForNodePath: (nodePath: SequencePropsSubscriptionKey | null) => Record<string, DragOverrideValue>;
153
- readonly useSequenceManagerSequences: () => TSequence[];
185
+ readonly useActiveFromDragOverrideKeys: typeof useActiveFromDragOverrideKeys;
186
+ readonly useDragOverridesForNodePath: typeof useDragOverridesForNodePath;
187
+ readonly useSequenceManagerSequences: typeof useSequenceManagerSequences;
154
188
  readonly SequenceRegistrationContext: import("react").Context<boolean>;
155
189
  readonly DisableSequenceRegistrationProvider: import("react").FC<{
156
- readonly children: import("react").ReactNode;
190
+ readonly children: React.ReactNode;
157
191
  }>;
158
192
  readonly CommittedMetadataInternals: {
159
193
  metadataProp: "_remotionCommitMetadata";
@@ -171,36 +205,36 @@ export declare const Internals: {
171
205
  readonly SequenceStackTracesUpdateContext: import("react").Context<import("./sequence-stack-traces.js").UpdateResolvedStackTraceFn>;
172
206
  readonly baseSchema: {
173
207
  readonly durationInFrames: {
174
- readonly type: "number";
208
+ readonly type: 'number';
175
209
  readonly default: undefined;
176
210
  readonly min: 1;
177
211
  readonly step: 1;
178
212
  readonly hiddenFromList: true;
179
213
  };
180
214
  readonly from: {
181
- readonly type: "number";
215
+ readonly type: 'number';
182
216
  readonly default: 0;
183
217
  readonly step: 1;
184
218
  readonly hiddenFromList: true;
185
219
  };
186
220
  readonly trimBefore: {
187
- readonly type: "number";
221
+ readonly type: 'number';
188
222
  readonly default: 0;
189
223
  readonly min: 0;
190
224
  readonly step: 1;
191
225
  readonly hiddenFromList: true;
192
226
  };
193
227
  readonly playbackRate: {
194
- readonly type: "number";
228
+ readonly type: 'number';
195
229
  readonly default: 1;
196
230
  readonly min: 0.01;
197
231
  readonly step: 0.1;
198
- readonly description: "Playback rate";
232
+ readonly description: 'Playback rate';
199
233
  readonly hiddenFromList: false;
200
234
  readonly keyframable: false;
201
235
  };
202
236
  readonly freeze: {
203
- readonly type: "number";
237
+ readonly type: 'number';
204
238
  readonly default: null;
205
239
  readonly step: 1;
206
240
  readonly hiddenFromList: true;
@@ -211,36 +245,36 @@ export declare const Internals: {
211
245
  };
212
246
  readonly sequenceSchema: {
213
247
  readonly durationInFrames: {
214
- readonly type: "number";
248
+ readonly type: 'number';
215
249
  readonly default: undefined;
216
250
  readonly min: 1;
217
251
  readonly step: 1;
218
252
  readonly hiddenFromList: true;
219
253
  };
220
254
  readonly from: {
221
- readonly type: "number";
255
+ readonly type: 'number';
222
256
  readonly default: 0;
223
257
  readonly step: 1;
224
258
  readonly hiddenFromList: true;
225
259
  };
226
260
  readonly trimBefore: {
227
- readonly type: "number";
261
+ readonly type: 'number';
228
262
  readonly default: 0;
229
263
  readonly min: 0;
230
264
  readonly step: 1;
231
265
  readonly hiddenFromList: true;
232
266
  };
233
267
  readonly playbackRate: {
234
- readonly type: "number";
268
+ readonly type: 'number';
235
269
  readonly default: 1;
236
270
  readonly min: 0.01;
237
271
  readonly step: 0.1;
238
- readonly description: "Playback rate";
272
+ readonly description: 'Playback rate';
239
273
  readonly hiddenFromList: false;
240
274
  readonly keyframable: false;
241
275
  };
242
276
  readonly freeze: {
243
- readonly type: "number";
277
+ readonly type: 'number';
244
278
  readonly default: null;
245
279
  readonly step: 1;
246
280
  readonly hiddenFromList: true;
@@ -249,58 +283,58 @@ export declare const Internals: {
249
283
  readonly name: import("./interactivity-schema.js").HiddenFieldSchema;
250
284
  readonly showInTimeline: import("./interactivity-schema.js").HiddenFieldSchema;
251
285
  readonly layout: {
252
- readonly type: "enum";
253
- readonly default: "absolute-fill";
254
- readonly description: "Layout";
286
+ readonly type: 'enum';
287
+ readonly default: 'absolute-fill';
288
+ readonly description: 'Layout';
255
289
  readonly variants: {
256
290
  readonly 'absolute-fill': {
257
291
  readonly 'style.transformOrigin': {
258
- readonly type: "transform-origin";
292
+ readonly type: 'transform-origin';
259
293
  readonly step: 1;
260
- readonly default: "50% 50%";
261
- readonly description: "Transform origin";
294
+ readonly default: '50% 50%';
295
+ readonly description: 'Transform origin';
262
296
  };
263
297
  readonly 'style.translate': {
264
- readonly type: "translate";
298
+ readonly type: 'translate';
265
299
  readonly step: 1;
266
- readonly default: "0px 0px";
267
- readonly description: "Offset";
300
+ readonly default: '0px 0px';
301
+ readonly description: 'Offset';
268
302
  };
269
303
  readonly 'style.scale': {
270
- readonly type: "scale";
304
+ readonly type: 'scale';
271
305
  readonly max: 100;
272
306
  readonly step: 0.01;
273
307
  readonly default: 1;
274
- readonly description: "Scale";
275
- readonly defaultKeyframeOutput: "perceptual-scale";
308
+ readonly description: 'Scale';
309
+ readonly defaultKeyframeOutput: 'perceptual-scale';
276
310
  };
277
311
  readonly 'style.rotate': {
278
- readonly type: "rotation-css";
312
+ readonly type: 'rotation-css';
279
313
  readonly step: 1;
280
- readonly default: "0deg";
281
- readonly description: "Rotation";
314
+ readonly default: '0deg';
315
+ readonly description: 'Rotation';
282
316
  };
283
317
  readonly 'style.opacity': {
284
- readonly type: "number";
318
+ readonly type: 'number';
285
319
  readonly min: 0;
286
320
  readonly max: 1;
287
321
  readonly step: 0.01;
288
322
  readonly default: 1;
289
- readonly description: "Opacity";
323
+ readonly description: 'Opacity';
290
324
  readonly hiddenFromList: false;
291
325
  };
292
326
  readonly 'style.borderWidth': {
293
- readonly type: "number";
327
+ readonly type: 'number';
294
328
  readonly default: undefined;
295
329
  readonly min: 0;
296
330
  readonly step: 1;
297
- readonly description: "Border width";
331
+ readonly description: 'Border width';
298
332
  readonly hiddenFromList: false;
299
333
  };
300
334
  readonly 'style.borderStyle': {
301
- readonly type: "enum";
302
- readonly default: "none";
303
- readonly description: "Border style";
335
+ readonly type: 'enum';
336
+ readonly default: 'none';
337
+ readonly description: 'Border style';
304
338
  readonly variants: {
305
339
  readonly none: {};
306
340
  readonly hidden: {};
@@ -315,67 +349,67 @@ export declare const Internals: {
315
349
  };
316
350
  };
317
351
  readonly 'style.borderColor': {
318
- readonly type: "color";
352
+ readonly type: 'color';
319
353
  readonly default: undefined;
320
- readonly description: "Border color";
354
+ readonly description: 'Border color';
321
355
  };
322
356
  readonly 'style.borderRadius': {
323
- readonly type: "number";
357
+ readonly type: 'number';
324
358
  readonly default: 0;
325
359
  readonly min: 0;
326
360
  readonly step: 1;
327
- readonly description: "Border radius";
361
+ readonly description: 'Border radius';
328
362
  readonly hiddenFromList: false;
329
363
  readonly keyframable: true;
330
364
  };
331
365
  readonly 'style.borderTopLeftRadius': {
332
- readonly type: "number";
366
+ readonly type: 'number';
333
367
  readonly default: 0;
334
368
  readonly min: 0;
335
369
  readonly step: 1;
336
- readonly description: "Top left radius";
370
+ readonly description: 'Top left radius';
337
371
  readonly hiddenFromList: false;
338
372
  };
339
373
  readonly 'style.borderTopRightRadius': {
340
- readonly type: "number";
374
+ readonly type: 'number';
341
375
  readonly default: 0;
342
376
  readonly min: 0;
343
377
  readonly step: 1;
344
- readonly description: "Top right radius";
378
+ readonly description: 'Top right radius';
345
379
  readonly hiddenFromList: false;
346
380
  };
347
381
  readonly 'style.borderBottomRightRadius': {
348
- readonly type: "number";
382
+ readonly type: 'number';
349
383
  readonly default: 0;
350
384
  readonly min: 0;
351
385
  readonly step: 1;
352
- readonly description: "Bottom right radius";
386
+ readonly description: 'Bottom right radius';
353
387
  readonly hiddenFromList: false;
354
388
  };
355
389
  readonly 'style.borderBottomLeftRadius': {
356
- readonly type: "number";
390
+ readonly type: 'number';
357
391
  readonly default: 0;
358
392
  readonly min: 0;
359
393
  readonly step: 1;
360
- readonly description: "Bottom left radius";
394
+ readonly description: 'Bottom left radius';
361
395
  readonly hiddenFromList: false;
362
396
  };
363
397
  readonly 'style.backgroundColor': {
364
- readonly type: "color";
365
- readonly default: "transparent";
366
- readonly description: "Color";
398
+ readonly type: 'color';
399
+ readonly default: 'transparent';
400
+ readonly description: 'Color';
367
401
  };
368
402
  readonly premountFor: {
369
- readonly type: "number";
403
+ readonly type: 'number';
370
404
  readonly default: undefined;
371
- readonly description: "Premount For";
405
+ readonly description: 'Premount For';
372
406
  readonly min: 0;
373
407
  readonly step: 1;
374
408
  readonly hiddenFromList: false;
375
409
  readonly keyframable: false;
376
410
  };
377
411
  readonly postmountFor: {
378
- readonly type: "number";
412
+ readonly type: 'number';
379
413
  readonly default: 0;
380
414
  readonly min: 0;
381
415
  readonly step: 1;
@@ -383,9 +417,9 @@ export declare const Internals: {
383
417
  readonly keyframable: false;
384
418
  };
385
419
  readonly cropLeft: {
386
- readonly type: "number";
420
+ readonly type: 'number';
387
421
  readonly default: 0;
388
- readonly description: "Crop left";
422
+ readonly description: 'Crop left';
389
423
  readonly min: 0;
390
424
  readonly max: 1;
391
425
  readonly step: 0.01;
@@ -393,9 +427,9 @@ export declare const Internals: {
393
427
  readonly keyframable: true;
394
428
  };
395
429
  readonly cropRight: {
396
- readonly type: "number";
430
+ readonly type: 'number';
397
431
  readonly default: 0;
398
- readonly description: "Crop right";
432
+ readonly description: 'Crop right';
399
433
  readonly min: 0;
400
434
  readonly max: 1;
401
435
  readonly step: 0.01;
@@ -403,9 +437,9 @@ export declare const Internals: {
403
437
  readonly keyframable: true;
404
438
  };
405
439
  readonly cropTop: {
406
- readonly type: "number";
440
+ readonly type: 'number';
407
441
  readonly default: 0;
408
- readonly description: "Crop top";
442
+ readonly description: 'Crop top';
409
443
  readonly min: 0;
410
444
  readonly max: 1;
411
445
  readonly step: 0.01;
@@ -413,9 +447,9 @@ export declare const Internals: {
413
447
  readonly keyframable: true;
414
448
  };
415
449
  readonly cropBottom: {
416
- readonly type: "number";
450
+ readonly type: 'number';
417
451
  readonly default: 0;
418
- readonly description: "Crop bottom";
452
+ readonly description: 'Crop bottom';
419
453
  readonly min: 0;
420
454
  readonly max: 1;
421
455
  readonly step: 0.01;
@@ -429,34 +463,34 @@ export declare const Internals: {
429
463
  };
430
464
  readonly sequenceTimingSchema: {
431
465
  readonly from: {
432
- readonly type: "number";
466
+ readonly type: 'number';
433
467
  readonly default: 0;
434
468
  readonly step: 1;
435
- readonly description: "From";
469
+ readonly description: 'From';
436
470
  readonly hiddenFromList: false;
437
471
  readonly keyframable: false;
438
472
  };
439
473
  readonly durationInFrames: {
440
- readonly type: "number";
474
+ readonly type: 'number';
441
475
  readonly default: undefined;
442
476
  readonly min: 1;
443
477
  readonly step: 1;
444
- readonly description: "Duration";
478
+ readonly description: 'Duration';
445
479
  readonly hiddenFromList: false;
446
480
  readonly keyframable: false;
447
481
  };
448
482
  readonly trimBefore: {
449
- readonly type: "number";
483
+ readonly type: 'number';
450
484
  readonly default: 0;
451
485
  readonly min: 0;
452
486
  readonly step: 1;
453
- readonly description: "Trim before";
487
+ readonly description: 'Trim before';
454
488
  readonly hiddenFromList: false;
455
489
  readonly keyframable: false;
456
490
  };
457
491
  };
458
492
  readonly SequenceContent: import("react").FC<{
459
- readonly children: import("react").ReactNode;
493
+ readonly children: React.ReactNode;
460
494
  }>;
461
495
  readonly DEFAULT_SEQUENCE_ACTIVITY_LIMIT: number;
462
496
  readonly SequenceActivitySettingsContext: import("react").Context<{
@@ -465,52 +499,52 @@ export declare const Internals: {
465
499
  readonly SequenceWithoutSchema: import("react").ForwardRefExoticComponent<import("./Sequence.js").SequenceProps & import("react").RefAttributes<HTMLDivElement>>;
466
500
  readonly sequenceStyleSchema: {
467
501
  readonly 'style.transformOrigin': {
468
- readonly type: "transform-origin";
502
+ readonly type: 'transform-origin';
469
503
  readonly step: 1;
470
- readonly default: "50% 50%";
471
- readonly description: "Transform origin";
504
+ readonly default: '50% 50%';
505
+ readonly description: 'Transform origin';
472
506
  };
473
507
  readonly 'style.translate': {
474
- readonly type: "translate";
508
+ readonly type: 'translate';
475
509
  readonly step: 1;
476
- readonly default: "0px 0px";
477
- readonly description: "Offset";
510
+ readonly default: '0px 0px';
511
+ readonly description: 'Offset';
478
512
  };
479
513
  readonly 'style.scale': {
480
- readonly type: "scale";
514
+ readonly type: 'scale';
481
515
  readonly max: 100;
482
516
  readonly step: 0.01;
483
517
  readonly default: 1;
484
- readonly description: "Scale";
485
- readonly defaultKeyframeOutput: "perceptual-scale";
518
+ readonly description: 'Scale';
519
+ readonly defaultKeyframeOutput: 'perceptual-scale';
486
520
  };
487
521
  readonly 'style.rotate': {
488
- readonly type: "rotation-css";
522
+ readonly type: 'rotation-css';
489
523
  readonly step: 1;
490
- readonly default: "0deg";
491
- readonly description: "Rotation";
524
+ readonly default: '0deg';
525
+ readonly description: 'Rotation';
492
526
  };
493
527
  readonly 'style.opacity': {
494
- readonly type: "number";
528
+ readonly type: 'number';
495
529
  readonly min: 0;
496
530
  readonly max: 1;
497
531
  readonly step: 0.01;
498
532
  readonly default: 1;
499
- readonly description: "Opacity";
533
+ readonly description: 'Opacity';
500
534
  readonly hiddenFromList: false;
501
535
  };
502
536
  readonly 'style.borderWidth': {
503
- readonly type: "number";
537
+ readonly type: 'number';
504
538
  readonly default: undefined;
505
539
  readonly min: 0;
506
540
  readonly step: 1;
507
- readonly description: "Border width";
541
+ readonly description: 'Border width';
508
542
  readonly hiddenFromList: false;
509
543
  };
510
544
  readonly 'style.borderStyle': {
511
- readonly type: "enum";
512
- readonly default: "none";
513
- readonly description: "Border style";
545
+ readonly type: 'enum';
546
+ readonly default: 'none';
547
+ readonly description: 'Border style';
514
548
  readonly variants: {
515
549
  readonly none: {};
516
550
  readonly hidden: {};
@@ -525,67 +559,67 @@ export declare const Internals: {
525
559
  };
526
560
  };
527
561
  readonly 'style.borderColor': {
528
- readonly type: "color";
562
+ readonly type: 'color';
529
563
  readonly default: undefined;
530
- readonly description: "Border color";
564
+ readonly description: 'Border color';
531
565
  };
532
566
  readonly 'style.borderRadius': {
533
- readonly type: "number";
567
+ readonly type: 'number';
534
568
  readonly default: 0;
535
569
  readonly min: 0;
536
570
  readonly step: 1;
537
- readonly description: "Border radius";
571
+ readonly description: 'Border radius';
538
572
  readonly hiddenFromList: false;
539
573
  readonly keyframable: true;
540
574
  };
541
575
  readonly 'style.borderTopLeftRadius': {
542
- readonly type: "number";
576
+ readonly type: 'number';
543
577
  readonly default: 0;
544
578
  readonly min: 0;
545
579
  readonly step: 1;
546
- readonly description: "Top left radius";
580
+ readonly description: 'Top left radius';
547
581
  readonly hiddenFromList: false;
548
582
  };
549
583
  readonly 'style.borderTopRightRadius': {
550
- readonly type: "number";
584
+ readonly type: 'number';
551
585
  readonly default: 0;
552
586
  readonly min: 0;
553
587
  readonly step: 1;
554
- readonly description: "Top right radius";
588
+ readonly description: 'Top right radius';
555
589
  readonly hiddenFromList: false;
556
590
  };
557
591
  readonly 'style.borderBottomRightRadius': {
558
- readonly type: "number";
592
+ readonly type: 'number';
559
593
  readonly default: 0;
560
594
  readonly min: 0;
561
595
  readonly step: 1;
562
- readonly description: "Bottom right radius";
596
+ readonly description: 'Bottom right radius';
563
597
  readonly hiddenFromList: false;
564
598
  };
565
599
  readonly 'style.borderBottomLeftRadius': {
566
- readonly type: "number";
600
+ readonly type: 'number';
567
601
  readonly default: 0;
568
602
  readonly min: 0;
569
603
  readonly step: 1;
570
- readonly description: "Bottom left radius";
604
+ readonly description: 'Bottom left radius';
571
605
  readonly hiddenFromList: false;
572
606
  };
573
607
  readonly 'style.backgroundColor': {
574
- readonly type: "color";
575
- readonly default: "transparent";
576
- readonly description: "Color";
608
+ readonly type: 'color';
609
+ readonly default: 'transparent';
610
+ readonly description: 'Color';
577
611
  };
578
612
  readonly premountFor: {
579
- readonly type: "number";
613
+ readonly type: 'number';
580
614
  readonly default: undefined;
581
- readonly description: "Premount For";
615
+ readonly description: 'Premount For';
582
616
  readonly min: 0;
583
617
  readonly step: 1;
584
618
  readonly hiddenFromList: false;
585
619
  readonly keyframable: false;
586
620
  };
587
621
  readonly postmountFor: {
588
- readonly type: "number";
622
+ readonly type: 'number';
589
623
  readonly default: 0;
590
624
  readonly min: 0;
591
625
  readonly step: 1;
@@ -593,9 +627,9 @@ export declare const Internals: {
593
627
  readonly keyframable: false;
594
628
  };
595
629
  readonly cropLeft: {
596
- readonly type: "number";
630
+ readonly type: 'number';
597
631
  readonly default: 0;
598
- readonly description: "Crop left";
632
+ readonly description: 'Crop left';
599
633
  readonly min: 0;
600
634
  readonly max: 1;
601
635
  readonly step: 0.01;
@@ -603,9 +637,9 @@ export declare const Internals: {
603
637
  readonly keyframable: true;
604
638
  };
605
639
  readonly cropRight: {
606
- readonly type: "number";
640
+ readonly type: 'number';
607
641
  readonly default: 0;
608
- readonly description: "Crop right";
642
+ readonly description: 'Crop right';
609
643
  readonly min: 0;
610
644
  readonly max: 1;
611
645
  readonly step: 0.01;
@@ -613,9 +647,9 @@ export declare const Internals: {
613
647
  readonly keyframable: true;
614
648
  };
615
649
  readonly cropTop: {
616
- readonly type: "number";
650
+ readonly type: 'number';
617
651
  readonly default: 0;
618
- readonly description: "Crop top";
652
+ readonly description: 'Crop top';
619
653
  readonly min: 0;
620
654
  readonly max: 1;
621
655
  readonly step: 0.01;
@@ -623,9 +657,9 @@ export declare const Internals: {
623
657
  readonly keyframable: true;
624
658
  };
625
659
  readonly cropBottom: {
626
- readonly type: "number";
660
+ readonly type: 'number';
627
661
  readonly default: 0;
628
- readonly description: "Crop bottom";
662
+ readonly description: 'Crop bottom';
629
663
  readonly min: 0;
630
664
  readonly max: 1;
631
665
  readonly step: 0.01;
@@ -635,53 +669,53 @@ export declare const Internals: {
635
669
  };
636
670
  readonly sequenceVisualStyleSchema: {
637
671
  readonly 'style.transformOrigin': {
638
- readonly type: "transform-origin";
672
+ readonly type: 'transform-origin';
639
673
  readonly step: 1;
640
- readonly default: "50% 50%";
641
- readonly description: "Transform origin";
674
+ readonly default: '50% 50%';
675
+ readonly description: 'Transform origin';
642
676
  };
643
677
  readonly 'style.translate': {
644
- readonly type: "translate";
678
+ readonly type: 'translate';
645
679
  readonly step: 1;
646
- readonly default: "0px 0px";
647
- readonly description: "Offset";
680
+ readonly default: '0px 0px';
681
+ readonly description: 'Offset';
648
682
  };
649
683
  readonly 'style.scale': {
650
- readonly type: "scale";
684
+ readonly type: 'scale';
651
685
  readonly max: 100;
652
686
  readonly step: 0.01;
653
687
  readonly default: 1;
654
- readonly description: "Scale";
655
- readonly defaultKeyframeOutput: "perceptual-scale";
688
+ readonly description: 'Scale';
689
+ readonly defaultKeyframeOutput: 'perceptual-scale';
656
690
  };
657
691
  readonly 'style.rotate': {
658
- readonly type: "rotation-css";
692
+ readonly type: 'rotation-css';
659
693
  readonly step: 1;
660
- readonly default: "0deg";
661
- readonly description: "Rotation";
694
+ readonly default: '0deg';
695
+ readonly description: 'Rotation';
662
696
  };
663
697
  readonly 'style.opacity': {
664
- readonly type: "number";
698
+ readonly type: 'number';
665
699
  readonly min: 0;
666
700
  readonly max: 1;
667
701
  readonly step: 0.01;
668
702
  readonly default: 1;
669
- readonly description: "Opacity";
703
+ readonly description: 'Opacity';
670
704
  readonly hiddenFromList: false;
671
705
  };
672
706
  };
673
707
  readonly sequencePremountSchema: {
674
708
  readonly premountFor: {
675
- readonly type: "number";
709
+ readonly type: 'number';
676
710
  readonly default: undefined;
677
- readonly description: "Premount For";
711
+ readonly description: 'Premount For';
678
712
  readonly min: 0;
679
713
  readonly step: 1;
680
714
  readonly hiddenFromList: false;
681
715
  readonly keyframable: false;
682
716
  };
683
717
  readonly postmountFor: {
684
- readonly type: "number";
718
+ readonly type: 'number';
685
719
  readonly default: 0;
686
720
  readonly min: 0;
687
721
  readonly step: 1;
@@ -691,9 +725,9 @@ export declare const Internals: {
691
725
  };
692
726
  readonly sequenceCropSchema: {
693
727
  readonly cropLeft: {
694
- readonly type: "number";
728
+ readonly type: 'number';
695
729
  readonly default: 0;
696
- readonly description: "Crop left";
730
+ readonly description: 'Crop left';
697
731
  readonly min: 0;
698
732
  readonly max: 1;
699
733
  readonly step: 0.01;
@@ -701,9 +735,9 @@ export declare const Internals: {
701
735
  readonly keyframable: true;
702
736
  };
703
737
  readonly cropRight: {
704
- readonly type: "number";
738
+ readonly type: 'number';
705
739
  readonly default: 0;
706
- readonly description: "Crop right";
740
+ readonly description: 'Crop right';
707
741
  readonly min: 0;
708
742
  readonly max: 1;
709
743
  readonly step: 0.01;
@@ -711,9 +745,9 @@ export declare const Internals: {
711
745
  readonly keyframable: true;
712
746
  };
713
747
  readonly cropTop: {
714
- readonly type: "number";
748
+ readonly type: 'number';
715
749
  readonly default: 0;
716
- readonly description: "Crop top";
750
+ readonly description: 'Crop top';
717
751
  readonly min: 0;
718
752
  readonly max: 1;
719
753
  readonly step: 0.01;
@@ -721,9 +755,9 @@ export declare const Internals: {
721
755
  readonly keyframable: true;
722
756
  };
723
757
  readonly cropBottom: {
724
- readonly type: "number";
758
+ readonly type: 'number';
725
759
  readonly default: 0;
726
- readonly description: "Crop bottom";
760
+ readonly description: 'Crop bottom';
727
761
  readonly min: 0;
728
762
  readonly max: 1;
729
763
  readonly step: 0.01;
@@ -733,41 +767,41 @@ export declare const Internals: {
733
767
  };
734
768
  readonly textSchema: {
735
769
  readonly 'style.color': {
736
- readonly type: "color";
770
+ readonly type: 'color';
737
771
  readonly default: undefined;
738
- readonly description: "Color";
772
+ readonly description: 'Color';
739
773
  };
740
774
  readonly 'style.fontFamily': {
741
- readonly type: "font-family";
775
+ readonly type: 'font-family';
742
776
  readonly default: undefined;
743
- readonly description: "Font family";
777
+ readonly description: 'Font family';
744
778
  readonly keyframable: false;
745
779
  };
746
780
  readonly 'style.fontSize': {
747
- readonly type: "number";
781
+ readonly type: 'number';
748
782
  readonly default: undefined;
749
783
  readonly min: 0;
750
784
  readonly step: 1;
751
- readonly description: "Font size";
785
+ readonly description: 'Font size';
752
786
  readonly hiddenFromList: false;
753
787
  };
754
788
  readonly 'style.lineHeight': {
755
- readonly type: "number";
789
+ readonly type: 'number';
756
790
  readonly default: undefined;
757
791
  readonly min: 0;
758
792
  readonly step: 0.05;
759
- readonly description: "Line height";
793
+ readonly description: 'Line height';
760
794
  readonly hiddenFromList: false;
761
795
  };
762
796
  readonly 'style.fontWeight': {
763
- readonly type: "font-weight";
797
+ readonly type: 'font-weight';
764
798
  readonly default: 400;
765
- readonly description: "Font weight";
799
+ readonly description: 'Font weight';
766
800
  };
767
801
  readonly 'style.fontStyle': {
768
- readonly type: "enum";
769
- readonly default: "normal";
770
- readonly description: "Font style";
802
+ readonly type: 'enum';
803
+ readonly default: 'normal';
804
+ readonly description: 'Font style';
771
805
  readonly variants: {
772
806
  readonly normal: {};
773
807
  readonly italic: {};
@@ -775,9 +809,9 @@ export declare const Internals: {
775
809
  };
776
810
  };
777
811
  readonly 'style.textAlign': {
778
- readonly type: "enum";
779
- readonly default: "left";
780
- readonly description: "Text align";
812
+ readonly type: 'enum';
813
+ readonly default: 'left';
814
+ readonly description: 'Text align';
781
815
  readonly variants: {
782
816
  readonly left: {};
783
817
  readonly center: {};
@@ -788,62 +822,62 @@ export declare const Internals: {
788
822
  };
789
823
  };
790
824
  readonly 'style.letterSpacing': {
791
- readonly type: "number";
825
+ readonly type: 'number';
792
826
  readonly default: undefined;
793
827
  readonly step: 0.1;
794
- readonly description: "Letter spacing";
828
+ readonly description: 'Letter spacing';
795
829
  readonly hiddenFromList: false;
796
830
  };
797
831
  };
798
832
  readonly transformSchema: {
799
833
  readonly 'style.transformOrigin': {
800
- readonly type: "transform-origin";
834
+ readonly type: 'transform-origin';
801
835
  readonly step: 1;
802
- readonly default: "50% 50%";
803
- readonly description: "Transform origin";
836
+ readonly default: '50% 50%';
837
+ readonly description: 'Transform origin';
804
838
  };
805
839
  readonly 'style.translate': {
806
- readonly type: "translate";
840
+ readonly type: 'translate';
807
841
  readonly step: 1;
808
- readonly default: "0px 0px";
809
- readonly description: "Offset";
842
+ readonly default: '0px 0px';
843
+ readonly description: 'Offset';
810
844
  };
811
845
  readonly 'style.scale': {
812
- readonly type: "scale";
846
+ readonly type: 'scale';
813
847
  readonly max: 100;
814
848
  readonly step: 0.01;
815
849
  readonly default: 1;
816
- readonly description: "Scale";
817
- readonly defaultKeyframeOutput: "perceptual-scale";
850
+ readonly description: 'Scale';
851
+ readonly defaultKeyframeOutput: 'perceptual-scale';
818
852
  };
819
853
  readonly 'style.rotate': {
820
- readonly type: "rotation-css";
854
+ readonly type: 'rotation-css';
821
855
  readonly step: 1;
822
- readonly default: "0deg";
823
- readonly description: "Rotation";
856
+ readonly default: '0deg';
857
+ readonly description: 'Rotation';
824
858
  };
825
859
  readonly 'style.opacity': {
826
- readonly type: "number";
860
+ readonly type: 'number';
827
861
  readonly min: 0;
828
862
  readonly max: 1;
829
863
  readonly step: 0.01;
830
864
  readonly default: 1;
831
- readonly description: "Opacity";
865
+ readonly description: 'Opacity';
832
866
  readonly hiddenFromList: false;
833
867
  };
834
868
  };
835
869
  readonly premountSchema: {
836
870
  readonly premountFor: {
837
- readonly type: "number";
871
+ readonly type: 'number';
838
872
  readonly default: undefined;
839
- readonly description: "Premount For";
873
+ readonly description: 'Premount For';
840
874
  readonly min: 0;
841
875
  readonly step: 1;
842
876
  readonly hiddenFromList: false;
843
877
  readonly keyframable: false;
844
878
  };
845
879
  readonly postmountFor: {
846
- readonly type: "number";
880
+ readonly type: 'number';
847
881
  readonly default: 0;
848
882
  readonly min: 0;
849
883
  readonly step: 1;
@@ -851,12 +885,12 @@ export declare const Internals: {
851
885
  readonly keyframable: false;
852
886
  };
853
887
  };
854
- readonly flattenActiveSchema: (schema: InteractivitySchema, resolve: import("./flatten-schema.js").ResolveValue) => InteractivitySchema;
855
- readonly getFlatSchemaWithAllKeys: (schema: InteractivitySchema) => InteractivitySchema;
888
+ readonly flattenActiveSchema: typeof flattenActiveSchema;
889
+ readonly getFlatSchemaWithAllKeys: typeof getFlatSchemaWithAllKeys;
856
890
  readonly RemotionRootContexts: import("react").FC<{
857
- readonly children: import("react").ReactNode;
891
+ readonly children: React.ReactNode;
858
892
  readonly numberOfAudioTags: number;
859
- readonly logLevel: "error" | "info" | "trace" | "verbose" | "warn";
893
+ readonly logLevel: import("./log.js").LogLevel;
860
894
  readonly audioLatencyHint: AudioContextLatencyCategory;
861
895
  readonly previewSampleRate: number | null;
862
896
  readonly videoEnabled: boolean;
@@ -864,85 +898,34 @@ export declare const Internals: {
864
898
  readonly frameState: Record<string, number> | null;
865
899
  readonly _experimentalKeepAudioContextAlive: boolean;
866
900
  }>;
867
- readonly CompositionManagerProvider: ({ children, onlyRenderComposition, currentCompositionMetadata, initialCompositions, initialCanvasContent, }: {
868
- readonly children: import("react").ReactNode;
869
- readonly onlyRenderComposition: string | null;
870
- readonly currentCompositionMetadata: import("./CompositionManagerContext.js").BaseMetadata | null;
871
- readonly initialCompositions: import("./CompositionManager.js").AnyComposition[];
872
- readonly initialCanvasContent: import("./CompositionManagerContext.js").CanvasContent | null;
873
- }) => import("react/jsx-runtime").JSX.Element;
901
+ readonly CompositionManagerProvider: typeof CompositionManagerProvider;
874
902
  readonly CompositionRegistryProvider: import("react").ForwardRefExoticComponent<{
875
- readonly children: import("react").ReactNode;
903
+ readonly children: React.ReactNode;
876
904
  readonly onSnapshot: (snapshot: import("./committed-metadata.js").CommittedCompositionSnapshot) => void;
877
905
  } & import("react").RefAttributes<() => void>>;
878
- readonly useVideo: () => (import("./video-config.js").VideoConfig & {
879
- component: import("react").LazyExoticComponent<import("react").ComponentType<Record<string, unknown>>> | import("react").ComponentType<Record<string, unknown>>;
880
- }) | null;
906
+ readonly useVideo: typeof useVideo;
881
907
  readonly VideoProvider: import("react").FC<{
882
- readonly children: import("react").ReactNode;
908
+ readonly children: React.ReactNode;
883
909
  }>;
884
- readonly getRoot: () => import("react").FC<{}> | null;
885
- readonly useMediaVolumeState: () => readonly [number, (u: number) => void];
886
- readonly usePlayerMutedState: () => readonly [boolean, (u: import("react").SetStateAction<boolean>) => void];
887
- readonly useMediaInTimeline: ({ src, mediaType, playbackRate, displayName, id, getStack, showInTimeline, premountDisplay, postmountDisplay, loopDisplay, documentationLink, muted, }: {
888
- src: string | undefined;
889
- mediaType: "audio" | "video";
890
- playbackRate: number;
891
- displayName: string | null;
892
- id: string;
893
- getStack: () => string | null;
894
- showInTimeline: boolean;
895
- premountDisplay: number | null;
896
- postmountDisplay: number | null;
897
- loopDisplay: import("./CompositionManager.js").LoopDisplay | undefined;
898
- documentationLink: string | null;
899
- muted: boolean;
900
- }) => {
901
- automaticOutlineRef: import("react").RefObject<Element | null> | null;
902
- registration: TSequence | null;
903
- };
904
- readonly useLazyComponent: <Props>({ compProps, componentName, noSuspense, }: {
905
- compProps: CompProps<Props>;
906
- componentName: string;
907
- noSuspense: boolean;
908
- }) => import("react").ComponentType<Props> | (import("react").ExoticComponent<Props | (import("react").PropsWithoutRef<Props> & import("react").RefAttributes<import("react").Component<Props, any, any>>)> & {
909
- readonly _result: import("react").ComponentType<Props>;
910
- });
910
+ readonly getRoot: typeof getRoot;
911
+ readonly useMediaVolumeState: typeof useMediaVolumeState;
912
+ readonly usePlayerMutedState: typeof usePlayerMutedState;
913
+ readonly useMediaInTimeline: typeof useMediaInTimeline;
914
+ readonly useLazyComponent: typeof useLazyComponent;
911
915
  readonly truthy: typeof truthy;
912
916
  readonly SequenceContext: import("react").Context<import("./SequenceContext.js").SequenceContextType | null>;
913
917
  readonly TimelineTrackContext: import("react").Context<import("./timeline-track-context.js").TimelineTrack | null>;
914
918
  readonly TrackWithoutSchema: import("react").FC<import("./Track.js").TrackWithoutSchemaProps>;
915
919
  readonly PremountContext: import("react").Context<import("./PremountContext.js").PremountContextValue>;
916
- readonly usePremounting: ({ from, durationInFrames, premountFor, postmountFor, style, styleWhilePremounted, styleWhilePostmounted, hideWhilePremounted, }: {
917
- readonly from: number;
918
- readonly durationInFrames: number;
919
- readonly premountFor: number | null;
920
- readonly postmountFor: number | null;
921
- readonly style: import("react").CSSProperties | null;
922
- readonly styleWhilePremounted: import("react").CSSProperties | null;
923
- readonly styleWhilePostmounted: import("react").CSSProperties | null;
924
- readonly hideWhilePremounted: "display-none" | "opacity";
925
- }) => {
926
- effectivePremountFor: number;
927
- effectivePostmountFor: number;
928
- premountingActive: boolean;
929
- postmountingActive: boolean;
930
- isPremountingOrPostmounting: boolean;
931
- freezeFrame: number;
932
- premountingStyle: import("react").CSSProperties | null;
933
- };
934
- readonly resolveSequenceDuration: ({ durationInFrames, playbackRate, loop, }: {
935
- durationInFrames: number | undefined;
936
- playbackRate: number | undefined;
937
- loop: boolean | undefined;
938
- }) => number;
920
+ readonly usePremounting: typeof usePremounting;
921
+ readonly resolveSequenceDuration: typeof resolveSequenceDuration;
939
922
  readonly useRemotionContexts: typeof useRemotionContexts;
940
- readonly RemotionContextProvider: (props: import("./wrap-remotion-context.js").RemotionContextProviderProps) => import("react/jsx-runtime").JSX.Element;
923
+ readonly RemotionContextProvider: typeof RemotionContextProvider;
941
924
  readonly CSSUtils: typeof CSSUtils;
942
- readonly setupEnvVariables: () => void;
925
+ readonly setupEnvVariables: typeof setupEnvVariables;
943
926
  readonly MediaVolumeContext: import("react").Context<MediaVolumeContextValue>;
944
927
  readonly SetMediaVolumeContext: import("react").Context<SetMediaVolumeContextValue>;
945
- readonly getRemotionEnvironment: () => RemotionEnvironment;
928
+ readonly getRemotionEnvironment: typeof getRemotionEnvironment;
946
929
  readonly SharedAudioContext: import("react").Context<{
947
930
  sampleRate: number;
948
931
  audioContext: AudioContext | null;
@@ -961,7 +944,7 @@ export declare const Internals: {
961
944
  _experimentalKeepAudioContextAlive: boolean;
962
945
  } | null>;
963
946
  readonly SharedAudioContextProvider: import("react").FC<{
964
- readonly children: import("react").ReactNode;
947
+ readonly children: React.ReactNode;
965
948
  readonly audioLatencyHint: AudioContextLatencyCategory;
966
949
  readonly audioEnabled: boolean;
967
950
  readonly previewSampleRate: number | null;
@@ -976,14 +959,9 @@ export declare const Internals: {
976
959
  }) => {
977
960
  id: number;
978
961
  props: import("react").AudioHTMLAttributes<HTMLAudioElement>;
979
- el: import("react").RefObject<HTMLAudioElement | null>;
962
+ el: React.RefObject<HTMLAudioElement | null>;
980
963
  audioId: string;
981
- mediaElementSourceNode: {
982
- setAudioContext: (newAudioContext: AudioContext | null) => void;
983
- attemptToConnect: () => void;
984
- get: () => MediaElementAudioSourceNode;
985
- cleanup: () => void;
986
- } | null;
964
+ mediaElementSourceNode: import("./audio/shared-element-source-node.js").SharedElementSourceNode | null;
987
965
  premounting: boolean;
988
966
  postmounting: boolean;
989
967
  audioMounted: boolean;
@@ -1002,127 +980,67 @@ export declare const Internals: {
1002
980
  } | null>;
1003
981
  readonly SharedAudioTagsContextProvider: import("react").FC<{
1004
982
  readonly numberOfAudioTags: number;
1005
- readonly children: import("react").ReactNode;
983
+ readonly children: React.ReactNode;
1006
984
  }>;
1007
- readonly getAudioSyncAnchorTolerance: (audioContext: AudioContext) => number;
985
+ readonly getAudioSyncAnchorTolerance: typeof getAudioSyncAnchorTolerance;
1008
986
  readonly invalidCompositionErrorMessage: string;
1009
987
  readonly invalidFolderNameErrorMessage: string;
1010
- readonly calculateMediaDuration: ({ trimAfter, mediaDurationInFrames, playbackRate, trimBefore, }: {
1011
- mediaDurationInFrames: number;
1012
- playbackRate: number;
1013
- trimBefore: number | undefined;
1014
- trimAfter: number | undefined;
1015
- }) => number;
1016
- readonly isCompositionIdValid: (id: string) => RegExpMatchArray | null;
1017
- readonly isFolderNameValid: (name: string) => RegExpMatchArray | null;
1018
- readonly getPreviewDomElement: () => HTMLElement | null;
988
+ readonly calculateMediaDuration: typeof calculateMediaDuration;
989
+ readonly isCompositionIdValid: typeof isCompositionIdValid;
990
+ readonly isFolderNameValid: typeof isFolderNameValid;
991
+ readonly getPreviewDomElement: typeof getPreviewDomElement;
1019
992
  readonly compositionsRef: import("react").RefObject<{
1020
993
  getCompositions: () => import("./CompositionManager.js").AnyComposition[];
1021
994
  } | null>;
1022
- readonly portalNode: () => HTMLElement;
1023
- readonly setPortalNodeCurrentScale: (scale: number) => void;
1024
- readonly waitForRoot: (fn: (comp: import("react").FC<{}>) => void) => () => void;
995
+ readonly portalNode: typeof portalNode;
996
+ readonly setPortalNodeCurrentScale: typeof setPortalNodeCurrentScale;
997
+ readonly waitForRoot: typeof waitForRoot;
1025
998
  readonly SetTimelineContext: import("react").Context<SetTimelineContextValue>;
1026
999
  readonly CanUseRemotionHooksProvider: import("react").FC<{
1027
- readonly children: import("react").ReactNode;
1000
+ readonly children: React.ReactNode;
1028
1001
  }>;
1029
1002
  readonly CanUseRemotionHooks: import("react").Context<boolean>;
1030
1003
  readonly DisableInteractivityProvider: import("react").FC<{
1031
- readonly children: import("react").ReactNode;
1004
+ readonly children: React.ReactNode;
1032
1005
  }>;
1033
1006
  readonly EnableInteractivityProvider: import("react").FC<{
1034
- readonly children: import("react").ReactNode;
1007
+ readonly children: React.ReactNode;
1035
1008
  }>;
1036
1009
  readonly PrefetchProvider: import("react").FC<{
1037
- readonly children: import("react").ReactNode;
1010
+ readonly children: React.ReactNode;
1038
1011
  }>;
1039
1012
  readonly DurationsContextProvider: import("react").FC<{
1040
- readonly children: import("react").ReactNode;
1013
+ readonly children: React.ReactNode;
1041
1014
  }>;
1042
1015
  readonly IsPlayerContextProvider: import("react").FC<{
1043
- children?: import("react").ReactNode;
1016
+ children?: import("react").ReactNode | undefined;
1044
1017
  }>;
1045
- readonly useIsPlayer: () => boolean;
1018
+ readonly useIsPlayer: typeof useIsPlayer;
1046
1019
  readonly EditorPropsProvider: import("react").FC<{
1047
- readonly children: import("react").ReactNode;
1020
+ readonly children: React.ReactNode;
1048
1021
  }>;
1049
1022
  readonly EditorPropsContext: import("react").Context<import("./EditorProps.js").EditorPropsContextType>;
1050
- readonly usePreload: (src: string) => string;
1051
- readonly resolveVideoConfig: (params: {
1052
- compositionId: string;
1053
- compositionWidth: number | null;
1054
- compositionHeight: number | null;
1055
- compositionFps: number | null;
1056
- compositionDurationInFrames: number | null;
1057
- calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
1058
- signal: AbortSignal;
1059
- defaultProps: Record<string, unknown>;
1060
- inputProps: Record<string, unknown>;
1061
- }) => Promise<import("./video-config.js").VideoConfig> | import("./video-config.js").VideoConfig;
1062
- readonly resolveVideoConfigOrCatch: (params: {
1063
- compositionId: string;
1064
- compositionWidth: number | null;
1065
- compositionHeight: number | null;
1066
- compositionFps: number | null;
1067
- compositionDurationInFrames: number | null;
1068
- calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
1069
- signal: AbortSignal;
1070
- defaultProps: Record<string, unknown>;
1071
- inputProps: Record<string, unknown>;
1072
- }) => {
1073
- type: "success";
1074
- result: Promise<import("./video-config.js").VideoConfig> | import("./video-config.js").VideoConfig;
1075
- } | {
1076
- type: "error";
1077
- error: Error;
1078
- };
1079
- readonly resolveVideoConfigWithMetadataOrCatch: (params: {
1080
- compositionId: string;
1081
- compositionWidth: number | null;
1082
- compositionHeight: number | null;
1083
- compositionFps: number | null;
1084
- compositionDurationInFrames: number | null;
1085
- calculateMetadata: import("./Composition.js").CalculateMetadataFunction<Record<string, unknown>> | null;
1086
- signal: AbortSignal;
1087
- defaultProps: Record<string, unknown>;
1088
- inputProps: Record<string, unknown>;
1089
- }) => {
1090
- type: "success";
1091
- result: Promise<import("./resolve-video-config.js").VideoConfigWithMetadata> | import("./resolve-video-config.js").VideoConfigWithMetadata;
1092
- } | {
1093
- type: "error";
1094
- error: Error;
1095
- };
1023
+ readonly usePreload: typeof usePreload;
1024
+ readonly resolveVideoConfig: typeof resolveVideoConfig;
1025
+ readonly resolveVideoConfigOrCatch: typeof resolveVideoConfigOrCatch;
1026
+ readonly resolveVideoConfigWithMetadataOrCatch: typeof resolveVideoConfigWithMetadataOrCatch;
1096
1027
  readonly ResolveCompositionContext: import("react").Context<{
1097
1028
  [x: string]: ({
1098
- type: "loading";
1029
+ type: 'loading';
1099
1030
  } | {
1100
- type: "success";
1031
+ type: 'success';
1101
1032
  result: import("./video-config.js").VideoConfig;
1102
1033
  metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
1103
1034
  } | {
1104
- type: "success-and-refreshing";
1035
+ type: 'success-and-refreshing';
1105
1036
  result: import("./video-config.js").VideoConfig;
1106
1037
  metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
1107
1038
  } | {
1108
- type: "error";
1039
+ type: 'error';
1109
1040
  error: Error;
1110
1041
  }) | undefined;
1111
1042
  } | null>;
1112
- readonly useResolvedVideoConfig: (preferredCompositionId: string | null) => ({
1113
- type: "loading";
1114
- } | {
1115
- type: "success";
1116
- result: import("./video-config.js").VideoConfig;
1117
- metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
1118
- } | {
1119
- type: "success-and-refreshing";
1120
- result: import("./video-config.js").VideoConfig;
1121
- metadataSource: import("./resolve-video-config.js").VideoConfigMetadataSource | null;
1122
- } | {
1123
- type: "error";
1124
- error: Error;
1125
- }) | null;
1043
+ readonly useResolvedVideoConfig: typeof useResolvedVideoConfig;
1126
1044
  readonly resolveCompositionsRef: import("react").RefObject<{
1127
1045
  setCurrentRenderModalComposition: (compositionId: string | null) => void;
1128
1046
  reloadCurrentlySelectedComposition: () => void;
@@ -1130,42 +1048,36 @@ export declare const Internals: {
1130
1048
  } | null>;
1131
1049
  readonly REMOTION_STUDIO_CONTAINER_ELEMENT: "__remotion-studio-container";
1132
1050
  readonly RenderAssetManager: import("react").Context<import("./RenderAssetManager.js").RenderAssetManagerContext>;
1133
- readonly persistCurrentFrame: (time: {
1134
- [x: string]: number;
1135
- }) => void;
1136
- readonly usePlaybackRate: () => PlaybackRateContextValue;
1137
- readonly useTimelineContext: () => TimelineContextValue;
1138
- readonly useTimelineSetFrameWithoutSeek: () => (u: import("react").SetStateAction<Record<string, number>>) => void;
1139
- readonly isIosSafari: () => boolean;
1051
+ readonly persistCurrentFrame: typeof persistCurrentFrame;
1052
+ readonly usePlaybackRate: typeof usePlaybackRate;
1053
+ readonly useTimelineContext: typeof useTimelineContext;
1054
+ readonly useTimelineSetFrameWithoutSeek: typeof useTimelineSetFrameWithoutSeek;
1055
+ readonly isIosSafari: typeof isIosSafari;
1140
1056
  readonly WATCH_REMOTION_STATIC_FILES: "remotion_staticFilesChanged";
1141
1057
  readonly REACT_REFRESH_STARTED_EVENT: "remotion-react-refresh-started";
1142
1058
  readonly REACT_REFRESH_FINISHED_EVENT: "remotion-react-refresh-finished";
1143
- readonly addSequenceStackTraces: (component: unknown) => void;
1144
- readonly useMediaStartsAt: () => number;
1059
+ readonly addSequenceStackTraces: typeof addSequenceStackTraces;
1060
+ readonly useMediaStartsAt: typeof useMediaStartsAt;
1145
1061
  readonly BufferingProvider: import("react").FC<{
1146
- readonly children: import("react").ReactNode;
1062
+ readonly children: React.ReactNode;
1147
1063
  }>;
1148
1064
  readonly BufferingContextReact: import("react").Context<{
1149
1065
  addBlock: () => {
1150
1066
  unblock: () => void;
1151
1067
  };
1152
1068
  } | null>;
1153
- readonly getComponentsToAddStacksTo: () => unknown[];
1154
- readonly getSingleChildComponent: (children: import("react").ReactNode) => unknown;
1155
- readonly getStackForControls: (controls: import("./CompositionManager.js").SequenceControls) => string | null;
1156
- readonly makeOriginalSourceStack: ({ fileName, lineNumber, columnNumber, }: {
1157
- fileName: string;
1158
- lineNumber: number;
1159
- columnNumber: number;
1160
- }) => string;
1161
- readonly parseOriginalSourceStack: (stack: string | null) => OriginalSourceLocation | null;
1069
+ readonly getComponentsToAddStacksTo: typeof getComponentsToAddStacksTo;
1070
+ readonly getSingleChildComponent: typeof getSingleChildComponent;
1071
+ readonly getStackForControls: typeof getStackForControls;
1072
+ readonly makeOriginalSourceStack: typeof makeOriginalSourceStack;
1073
+ readonly parseOriginalSourceStack: typeof parseOriginalSourceStack;
1162
1074
  readonly REMOTION_INTERNAL_STACK_PROP: "_remotionInternalStack";
1163
- readonly setComponentIdentityResolver: (resolver: ((component: unknown) => unknown) | null) => void;
1075
+ readonly setComponentIdentityResolver: typeof setComponentIdentityResolver;
1164
1076
  readonly CurrentScaleContext: import("react").Context<({
1165
- type: "scale";
1077
+ type: 'scale';
1166
1078
  scale: number;
1167
1079
  } | ({
1168
- type: "canvas-size";
1080
+ type: 'canvas-size';
1169
1081
  canvasSize: {
1170
1082
  width: number;
1171
1083
  height: number;
@@ -1192,52 +1104,39 @@ export declare const Internals: {
1192
1104
  })) | null>;
1193
1105
  readonly PixelDensityContext: import("react").Context<number | null>;
1194
1106
  readonly PreviewSizeContext: import("react").Context<import("./use-current-scale.js").PreviewSizeCtx>;
1195
- readonly calculateScale: ({ canvasSize, compositionHeight, compositionWidth, previewSize, }: {
1196
- previewSize: number | "auto";
1197
- compositionWidth: number;
1198
- compositionHeight: number;
1199
- canvasSize: {
1200
- width: number;
1201
- height: number;
1202
- };
1203
- }) => number;
1204
- readonly validateRenderAsset: (artifact: TRenderAsset) => void;
1107
+ readonly calculateScale: typeof calculateScale;
1108
+ readonly validateRenderAsset: typeof validateRenderAsset;
1205
1109
  readonly Log: {
1206
1110
  trace: (options: {
1207
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1111
+ logLevel: import("./log.js").LogLevel;
1208
1112
  tag: string | null;
1209
1113
  }, message?: any, ...optionalParams: any[]) => void;
1210
1114
  verbose: (options: {
1211
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1115
+ logLevel: import("./log.js").LogLevel;
1212
1116
  tag: string | null;
1213
1117
  }, message?: any, ...optionalParams: any[]) => void;
1214
1118
  info: (options: {
1215
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1119
+ logLevel: import("./log.js").LogLevel;
1216
1120
  tag: string | null;
1217
1121
  }, message?: any, ...optionalParams: any[]) => void;
1218
1122
  warn: (options: {
1219
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1123
+ logLevel: import("./log.js").LogLevel;
1220
1124
  tag: string | null;
1221
1125
  }, message?: any, ...optionalParams: any[]) => void;
1222
1126
  error: (options: {
1223
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1127
+ logLevel: import("./log.js").LogLevel;
1224
1128
  tag: string | null;
1225
1129
  }, message?: any, ...optionalParams: any[]) => void;
1226
1130
  };
1227
1131
  readonly LogLevelContext: import("react").Context<LoggingContextValue>;
1228
- readonly useLogLevel: () => "error" | "info" | "trace" | "verbose" | "warn";
1229
- readonly playbackLogging: ({ logLevel, tag, message, mountTime, }: {
1230
- logLevel: "error" | "info" | "trace" | "verbose" | "warn";
1231
- tag: string;
1232
- message: string;
1233
- mountTime: number | null;
1234
- }) => void;
1132
+ readonly useLogLevel: typeof useLogLevel;
1133
+ readonly playbackLogging: typeof playbackLogging;
1235
1134
  readonly timeValueRef: import("react").RefObject<{
1236
1135
  goToFrame: () => void;
1237
1136
  seek: (newFrame: number) => void;
1238
- play: (e?: PointerEvent | import("react").SyntheticEvent<Element, Event> | undefined) => void;
1137
+ play: (e?: import("react").SyntheticEvent | PointerEvent) => void;
1239
1138
  pause: () => void;
1240
- toggle: (e?: PointerEvent | import("react").SyntheticEvent<Element, Event> | undefined) => void;
1139
+ toggle: (e?: import("react").SyntheticEvent | PointerEvent) => void;
1241
1140
  } | null>;
1242
1141
  readonly compositionSelectorRef: import("react").RefObject<{
1243
1142
  expandComposition: (compName: string) => void;
@@ -1245,25 +1144,25 @@ export declare const Internals: {
1245
1144
  toggleFolder: (folderName: string, parentName: string | null) => void;
1246
1145
  } | null>;
1247
1146
  readonly RemotionEnvironmentContext: import("react").Context<RemotionEnvironment | null>;
1248
- readonly warnAboutTooHighVolume: (volume: number) => void;
1147
+ readonly warnAboutTooHighVolume: typeof warnAboutTooHighVolume;
1249
1148
  readonly AudioForPreview: import("react").ForwardRefExoticComponent<Omit<import("./audio/props.js").NativeAudioProps & {
1250
- name?: string | undefined;
1251
- volume?: import("./volume-prop.js").VolumeProp | undefined;
1252
- playbackRate?: number | undefined;
1253
- preservePitch?: boolean | undefined;
1254
- acceptableTimeShiftInSeconds?: number | undefined;
1255
- allowAmplificationDuringRender?: boolean | undefined;
1256
- _remotionInternalNeedsDurationCalculation?: boolean | undefined;
1257
- _remotionInternalNativeLoopPassed?: boolean | undefined;
1258
- toneFrequency?: number | undefined;
1259
- useWebAudioApi?: boolean | undefined;
1260
- pauseWhenBuffering?: boolean | undefined;
1261
- showInTimeline?: boolean | undefined;
1262
- delayRenderTimeoutInMilliseconds?: number | undefined;
1263
- delayRenderRetries?: number | undefined;
1264
- loopVolumeCurveBehavior?: import("./index.js").LoopVolumeCurveBehavior | undefined;
1265
- onError?: ((err: Error) => void) | undefined;
1266
- audioStreamIndex?: number | undefined;
1149
+ name?: string;
1150
+ volume?: import("./volume-prop.js").VolumeProp;
1151
+ playbackRate?: number;
1152
+ preservePitch?: boolean;
1153
+ acceptableTimeShiftInSeconds?: number;
1154
+ allowAmplificationDuringRender?: boolean;
1155
+ _remotionInternalNeedsDurationCalculation?: boolean;
1156
+ _remotionInternalNativeLoopPassed?: boolean;
1157
+ toneFrequency?: number;
1158
+ useWebAudioApi?: boolean;
1159
+ pauseWhenBuffering?: boolean;
1160
+ showInTimeline?: boolean;
1161
+ delayRenderTimeoutInMilliseconds?: number;
1162
+ delayRenderRetries?: number;
1163
+ loopVolumeCurveBehavior?: import("./index.js").LoopVolumeCurveBehavior;
1164
+ onError?: (err: Error) => void;
1165
+ audioStreamIndex?: number;
1267
1166
  } & {
1268
1167
  readonly shouldPreMountAudioTags: boolean;
1269
1168
  readonly onDuration: (src: string, durationInSeconds: number) => void;
@@ -1271,166 +1170,84 @@ export declare const Internals: {
1271
1170
  readonly _remotionInternalNativeLoopPassed: boolean;
1272
1171
  readonly _remotionInternalStack: string | null;
1273
1172
  readonly showInTimeline: boolean;
1274
- readonly onNativeError: import("react").ReactEventHandler<HTMLAudioElement>;
1173
+ readonly onNativeError: React.ReactEventHandler<HTMLAudioElement>;
1275
1174
  }, "ref"> & import("react").RefAttributes<HTMLAudioElement>>;
1276
1175
  readonly OBJECTFIT_CONTAIN_CLASS_NAME: "__remotion_objectfitcontain";
1277
1176
  readonly InnerOffthreadVideo: import("react").FC<import("./video/props.js").AllOffthreadVideoProps>;
1278
- readonly useBasicMediaInTimeline: ({ src, displayName, trimBefore, trimAfter, playbackRate, sequenceDurationInFrames, mediaStartsAt, loop, muted, }: {
1279
- src: string | undefined;
1280
- displayName: string | null;
1281
- trimBefore: number | undefined;
1282
- trimAfter: number | undefined;
1283
- playbackRate: number;
1284
- sequenceDurationInFrames: number;
1285
- mediaStartsAt: number;
1286
- loop: boolean;
1287
- muted: boolean;
1288
- }) => {
1289
- duration: number;
1290
- finalDisplayName: string;
1291
- startMediaFrom: number;
1292
- src: string;
1293
- playbackRate: number;
1294
- muted: boolean;
1295
- };
1296
- readonly getInputPropsOverride: () => Record<string, unknown> | null;
1297
- readonly setInputPropsOverride: (override: Record<string, unknown> | null) => void;
1298
- readonly useVideoEnabled: () => boolean;
1299
- readonly useAudioEnabled: () => boolean;
1300
- readonly useBuffering: () => boolean;
1177
+ readonly useBasicMediaInTimeline: typeof useBasicMediaInTimeline;
1178
+ readonly getInputPropsOverride: typeof getInputPropsOverride;
1179
+ readonly setInputPropsOverride: typeof setInputPropsOverride;
1180
+ readonly useVideoEnabled: typeof useVideoEnabled;
1181
+ readonly useAudioEnabled: typeof useAudioEnabled;
1182
+ readonly useBuffering: typeof useBuffering;
1301
1183
  readonly TimelinePosition: typeof TimelinePosition;
1302
- readonly useTimelineSeek: (setFrame: (frame: import("react").SetStateAction<Record<string, number>>) => void) => import("./use-timeline-seek.js").TimelineSeek;
1184
+ readonly useTimelineSeek: typeof useTimelineSeek;
1303
1185
  readonly DelayRenderContextType: import("react").Context<import("./delay-render.js").DelayRenderScope | null>;
1304
1186
  readonly TimelineContext: import("react").Context<TimelineContextValue | null>;
1305
- readonly usePlaying: () => boolean;
1187
+ readonly usePlaying: typeof usePlaying;
1188
+ readonly PlaybackPitchContext: import("react").Context<boolean>;
1306
1189
  readonly PlaybackRateContext: import("react").Context<PlaybackRateContextValue | null>;
1307
1190
  readonly AbsoluteTimeContext: import("react").Context<TimelineContextValue | null>;
1308
1191
  readonly RenderAssetManagerProvider: import("react").FC<{
1309
- children: import("react").ReactNode;
1310
- collectAssets: import("react").RefObject<import("./RenderAssetManager.js").CollectAssetsRef | null> | null;
1192
+ children: React.ReactNode;
1193
+ collectAssets: null | React.RefObject<import("./RenderAssetManager.js").CollectAssetsRef | null>;
1311
1194
  }>;
1312
- readonly getEffectiveVisualModeValue: ({ propStatus, dragOverrideValue, defaultValue, frame, shouldResortToDefaultValueIfUndefined, }: {
1313
- propStatus: CanUpdateSequencePropStatusKeyframed | CanUpdateSequencePropStatusStatic;
1314
- dragOverrideValue: DragOverrideValue | undefined;
1315
- defaultValue: unknown;
1316
- frame?: number | null | undefined;
1317
- shouldResortToDefaultValueIfUndefined: boolean;
1318
- }) => unknown;
1195
+ readonly getEffectiveVisualModeValue: typeof getEffectiveVisualModeValue;
1319
1196
  readonly CompositionRenderErrorContext: import("react").Context<import("./composition-render-error-context.js").CompositionRenderErrorContextType>;
1320
- readonly useEffectChainState: (effectsOutputSize?: import("./index.js").EffectsOutputSize | null) => {
1321
- get: (width: number, height: number) => import("./internals.js").EffectChainState | null;
1322
- };
1323
- readonly createEffectChainState: (width: number, height: number) => import("./internals.js").EffectChainState;
1324
- readonly cleanupEffectChainState: (state: import("./internals.js").EffectChainState) => void;
1325
- readonly runEffectChain: (options: import("./effects/run-effect-chain.js").RunEffectChainOptions) => Promise<boolean>;
1326
- readonly useMemoizedEffects: ({ effects, overrideId, videoConfigValues, }: {
1327
- effects: readonly import("./index.js").EffectDescriptor<unknown>[];
1328
- readonly overrideId: string | null;
1329
- videoConfigValues: VideoConfigValues | null;
1330
- }) => import("./index.js").EffectDefinitionAndStack<unknown>[];
1331
- readonly useMemoizedEffectDefinitions: (effects: readonly import("./index.js").EffectDescriptor<unknown>[]) => readonly import("./index.js").EffectDefinition<unknown>[] & {
1332
- readonly runtimeValues: readonly import("./runtime-value-store.js").RuntimeValueStore[];
1333
- };
1334
- readonly createEffect: <P, S>(definition: import("./index.js").EffectDefinition<P, S>) => import("./index.js").EffectFactory<P>;
1335
- readonly createWebGLContextError: (effectName: string) => Error;
1336
- readonly createWebGL2ContextError: (effectName: string) => Error;
1337
- readonly computeEffectiveSchemaValuesDotNotation: ({ schema, currentValue, overrideValues, propStatus, frame, }: {
1338
- schema: InteractivitySchema;
1339
- currentValue: Record<string, unknown>;
1340
- overrideValues: Record<string, DragOverrideValue>;
1341
- propStatus: Record<string, CanUpdateSequencePropStatus<number>> | undefined;
1342
- frame: number | null;
1343
- }) => {
1344
- merged: Record<string, unknown>;
1345
- propsToDelete: Set<string>;
1346
- };
1347
- readonly interpolateKeyframedStatus: ({ frame, forceSpringAllowTail, status, }: {
1348
- frame: number;
1349
- forceSpringAllowTail: boolean | null;
1350
- status: CanUpdateSequencePropStatusKeyframed;
1351
- }) => string | number | boolean | readonly number[] | null;
1352
- readonly prepareNumericKeyframedStatus: ({ forceSpringAllowTail, status, }: {
1353
- forceSpringAllowTail: boolean | null;
1354
- status: CanUpdateSequencePropStatusKeyframed;
1355
- }) => ((frame: number) => number | null) | null;
1356
- readonly setInterpolatePaths: (interpolator: (input: number, inputRange: readonly number[], outputRange: readonly string[], options: Pick<Partial<{
1357
- easing: readonly import("./interpolate.js").EasingFunction[] | import("./interpolate.js").EasingFunction;
1358
- extrapolateLeft: import("./interpolate.js").ExtrapolateType;
1359
- extrapolateRight: import("./interpolate.js").ExtrapolateType;
1360
- output: import("./interpolate.js").InterpolateOutputOption;
1361
- outputType: import("./interpolate.js").InterpolateOutputType;
1362
- posterize: number;
1363
- }>, "easing" | "posterize"> & {
1364
- extrapolateLeft: "clamp" | "extend" | "wrap";
1365
- extrapolateRight: "clamp" | "extend" | "wrap";
1366
- }) => string) => void;
1367
- readonly makeStaticDragOverride: (value: unknown) => DragOverrideValue;
1368
- readonly makeKeyframedDragOverride: ({ status, frame, value, defaultEasing, }: {
1369
- status: CanUpdateSequencePropStatusKeyframed<number>;
1370
- frame: number;
1371
- value: unknown;
1372
- defaultEasing?: CanUpdateSequencePropStatusEasing | undefined;
1373
- }) => DragOverrideValue;
1374
- readonly resolveDragOverrideValue: ({ dragOverrideValue, frame, }: {
1375
- dragOverrideValue: DragOverrideValue | undefined;
1376
- frame: number | null;
1377
- }) => import("./get-effective-visual-mode-value.js").ResolvedDragOverrideValue;
1378
- readonly getStaticDragOverrideValue: (dragOverrideValue: DragOverrideValue | undefined) => unknown;
1197
+ readonly useEffectChainState: typeof useEffectChainState;
1198
+ readonly createEffectChainState: typeof createEffectChainState;
1199
+ readonly cleanupEffectChainState: typeof cleanupEffectChainState;
1200
+ readonly runEffectChain: typeof runEffectChain;
1201
+ readonly useMemoizedEffects: typeof useMemoizedEffects;
1202
+ readonly subscribeToEffectSource: typeof subscribeToEffectSource;
1203
+ readonly useMemoizedEffectDefinitions: typeof useMemoizedEffectDefinitions;
1204
+ readonly createEffect: typeof createEffect;
1205
+ readonly createCurveSampler: typeof createCurveSampler;
1206
+ readonly createWebGLContextError: typeof createWebGLContextError;
1207
+ readonly createWebGL2ContextError: typeof createWebGL2ContextError;
1208
+ readonly computeEffectiveSchemaValuesDotNotation: typeof computeEffectiveSchemaValuesDotNotation;
1209
+ readonly interpolateKeyframedStatus: typeof interpolateKeyframedStatus;
1210
+ readonly prepareNumericKeyframedStatus: typeof prepareNumericKeyframedStatus;
1211
+ readonly setInterpolatePaths: typeof setInterpolatePaths;
1212
+ readonly makeStaticDragOverride: typeof makeStaticDragOverride;
1213
+ readonly makeKeyframedDragOverride: typeof makeKeyframedDragOverride;
1214
+ readonly resolveDragOverrideValue: typeof resolveDragOverrideValue;
1215
+ readonly getStaticDragOverrideValue: typeof getStaticDragOverrideValue;
1379
1216
  readonly OverrideIdsToNodePathsGettersContext: import("react").Context<OverrideToNodePathGetters>;
1380
1217
  readonly OverrideIdsToNodePathsSettersContext: import("react").Context<OverrideToNodeSetters>;
1381
- readonly findPropsToDelete: ({ schema, key, value, }: {
1382
- schema: InteractivitySchema;
1383
- key: string;
1384
- value: unknown;
1385
- }) => string[];
1386
- readonly makeSequencePropsSubscriptionKey: (key: SequencePropsSubscriptionKey) => string;
1387
- readonly getPropStatusesCtx: (propStatuses: PropStatuses, nodePath: SequencePropsSubscriptionKey) => Record<string, CanUpdateSequencePropStatus> | undefined;
1388
- readonly getEffectPropStatusesCtx: ({ propStatuses, nodePath, effectIndex, }: {
1389
- propStatuses: PropStatuses;
1390
- nodePath: SequencePropsSubscriptionKey;
1391
- effectIndex: number;
1392
- }) => {
1393
- type: "cannot-update-sequence";
1394
- reason: CannotUpdateSequenceReason;
1395
- } | {
1396
- type: "cannot-update-effect";
1397
- reason: import("./SequenceManager.js").CannotUpdateEffectReason;
1398
- } | {
1399
- type: "can-update-effect";
1400
- props: Record<string, CanUpdateSequencePropStatus>;
1401
- };
1218
+ readonly findPropsToDelete: typeof findPropsToDelete;
1219
+ readonly makeSequencePropsSubscriptionKey: typeof makeSequencePropsSubscriptionKey;
1220
+ readonly getPropStatusesCtx: typeof getPropStatusesCtx;
1221
+ readonly getEffectPropStatusesCtx: typeof getEffectPropStatusesCtx;
1402
1222
  readonly hiddenField: InteractivitySchemaField;
1403
1223
  readonly durationInFramesField: {
1404
- readonly type: "number";
1224
+ readonly type: 'number';
1405
1225
  readonly default: undefined;
1406
1226
  readonly min: 1;
1407
1227
  readonly step: 1;
1408
1228
  readonly hiddenFromList: true;
1409
1229
  };
1410
1230
  readonly freezeField: {
1411
- readonly type: "number";
1231
+ readonly type: 'number';
1412
1232
  readonly default: null;
1413
1233
  readonly step: 1;
1414
1234
  readonly hiddenFromList: true;
1415
1235
  };
1416
1236
  readonly fromField: {
1417
- readonly type: "number";
1237
+ readonly type: 'number';
1418
1238
  readonly default: 0;
1419
1239
  readonly step: 1;
1420
1240
  readonly hiddenFromList: true;
1421
1241
  };
1422
1242
  readonly trimAfterField: {
1423
- readonly type: "number";
1243
+ readonly type: 'number';
1424
1244
  readonly default: undefined;
1425
1245
  readonly min: 1;
1426
1246
  readonly step: 1;
1427
1247
  readonly hiddenFromList: true;
1428
1248
  };
1429
- readonly resolveSequenceCrop: ({ cropLeft, cropRight, cropTop, cropBottom, }: import("./sequence-crop.js").SequenceCropInput) => import("./sequence-crop.js").ResolvedSequenceCrop;
1430
- readonly useCropStyle: ({ cropLeft, cropRight, cropTop, cropBottom, style, componentName, }: import("./sequence-crop.js").SequenceCropInput & {
1431
- readonly style: import("react").CSSProperties | null;
1432
- readonly componentName: string;
1433
- }) => import("react").CSSProperties | null;
1249
+ readonly resolveSequenceCrop: typeof resolveSequenceCrop;
1250
+ readonly useCropStyle: typeof useCropStyle;
1434
1251
  };
1435
1252
  export type { ArrayFieldSchema, ArrayItemFieldSchema, AssetFieldSchema, CannotUpdateSequenceReason, CanUpdateEffectPropsResponse, CanUpdateEffectPropsResponseFalse, CanUpdateEffectPropsResponseTrue, CanUpdateSequencePropsResponse, CanUpdateSequencePropsResponseFalse, CanUpdateSequencePropsResponseTrue, CanUpdateSequencePropStatus, CanUpdateSequencePropStatusEasing, CanUpdateSequencePropStatusFalse, CanUpdateSequencePropStatusKeyframed, CanUpdateSequencePropStatusStatic, CompositionManagerContext, CompProps, DragOverrides, DragOverrideValue, EffectDragOverrides, GetDragOverrides, GetEffectDragOverrides, GetEffectPropStatuses, GetPropStatuses, InteractivitySchema, InteractivitySchemaField, JsxComponentIdentity, LoggingContextValue, MediaVolumeContextValue, OriginalSourceLocation, OverrideIdsToNodePathsGettersContext, OverrideIdsToNodePathsSettersContext, OverrideIdToNodePaths, OverrideToNodePathGetters, OverrideToNodeSetters, PlaybackRateContextValue, PropStatuses, RemotionAudioContextState, RemotionEnvironment, ResolvedStackLocation, ScheduleAudioNodeOptions, ScheduleAudioNodeResult, SequenceNodePath, SequencePropsStatusRemapping, SequencePropsSubscriptionKey, SerializedJSONWithCustomFields, SetMediaVolumeContextValue, SetTimelineContextValue, TCompMetadata, TComposition, TimelineContextValue, TRenderAsset, TSequence, VideoConfigNumericExpression, VideoConfigValues, VisibleFieldSchema, WatchRemotionStaticFilesPayload, };
1436
1253
  export type { CanUpdateSequencePropSource, SourceNumericValue, VideoConfigNumericBinding, } from './use-schema.js';