remotion 4.0.536 → 4.0.538

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