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.
- package/dist/cjs/AbsoluteFill.d.ts +62 -62
- package/dist/cjs/AbsoluteFill.js +3 -3
- package/dist/cjs/AbsoluteFillElement.d.ts +1 -1
- package/dist/cjs/AbsoluteFillElement.js +36 -3
- package/dist/cjs/CanUseRemotionHooks.js +1 -1
- package/dist/cjs/Composition.js +5 -11
- package/dist/cjs/CompositionErrorBoundary.js +5 -2
- package/dist/cjs/CompositionManager.d.ts +1 -0
- package/dist/cjs/CompositionManagerContext.d.ts +3 -0
- package/dist/cjs/CompositionManagerContext.js +5 -3
- package/dist/cjs/CompositionManagerProvider.d.ts +1 -1
- package/dist/cjs/CompositionManagerProvider.js +3 -1
- package/dist/cjs/CompositionRegistryProvider.d.ts +1 -1
- package/dist/cjs/CompositionRegistryProvider.js +1 -1
- package/dist/cjs/EditorProps.d.ts +2 -2
- package/dist/cjs/EditorProps.js +1 -1
- package/dist/cjs/Folder.js +1 -1
- package/dist/cjs/HtmlInCanvas.d.ts +58 -67
- package/dist/cjs/HtmlInCanvas.js +84 -20
- package/dist/cjs/HtmlInCanvasFallback.d.ts +6 -0
- package/dist/cjs/HtmlInCanvasFallback.js +39 -0
- package/dist/cjs/IFrame.d.ts +2 -2
- package/dist/cjs/IFrame.js +1 -1
- package/dist/cjs/Img.d.ts +62 -62
- package/dist/cjs/Img.js +160 -132
- package/dist/cjs/Interactive.d.ts +147 -145
- package/dist/cjs/Interactive.js +2 -2
- package/dist/cjs/RemotionRoot.js +1 -1
- package/dist/cjs/RenderAssetManager.js +1 -1
- package/dist/cjs/Sequence.js +37 -27
- package/dist/cjs/SequenceActivityBoundary.js +1 -1
- package/dist/cjs/SequenceActivityBudget.js +1 -1
- package/dist/cjs/SequenceActivitySuspensionProvider.js +1 -1
- package/dist/cjs/SequenceManager.d.ts +6 -0
- package/dist/cjs/SequenceManager.js +71 -27
- package/dist/cjs/SequenceRegistryProvider.js +16 -3
- package/dist/cjs/TimelineContext.js +1 -1
- package/dist/cjs/Track.js +2 -2
- package/dist/cjs/animated-image/AnimatedImage.d.ts +69 -69
- package/dist/cjs/animated-image/AnimatedImage.js +17 -12
- package/dist/cjs/animated-image/canvas.d.ts +6 -5
- package/dist/cjs/animated-image/canvas.js +1 -1
- package/dist/cjs/animated-image/create-image-decoder.d.ts +1 -1
- package/dist/cjs/animated-image/decode-image.d.ts +1 -1
- package/dist/cjs/animated-image/get-duration-in-seconds.d.ts +1 -1
- package/dist/cjs/animated-image/index.js +1 -1
- package/dist/cjs/audio/AudioForPreview.js +5 -28
- package/dist/cjs/audio/AudioForRendering.d.ts +5 -20
- package/dist/cjs/audio/AudioForRendering.js +44 -5
- package/dist/cjs/audio/html5-audio.d.ts +36 -36
- package/dist/cjs/audio/html5-audio.js +8 -10
- package/dist/cjs/audio/index.js +1 -1
- package/dist/cjs/audio/shared-audio-tags.js +10 -16
- package/dist/cjs/audio/shared-element-source-node.d.ts +1 -1
- package/dist/cjs/audio/use-audio-context.d.ts +2 -1
- package/dist/cjs/audio/wait-until-actually-resumed.d.ts +2 -1
- package/dist/cjs/buffer-until-first-frame.d.ts +4 -3
- package/dist/cjs/buffering.js +1 -1
- package/dist/cjs/cancel-render.js +3 -0
- package/dist/cjs/canvas-image/CanvasImage.d.ts +71 -71
- package/dist/cjs/canvas-image/CanvasImage.js +27 -24
- package/dist/cjs/canvas-image/index.js +1 -1
- package/dist/cjs/codec.d.ts +1 -1
- package/dist/cjs/committed-metadata.d.ts +4 -2
- package/dist/cjs/composition-registry-fallback.d.ts +4 -2
- package/dist/cjs/composition-registry-fallback.js +12 -10
- package/dist/cjs/create-element-source-proxy.js +46 -6
- package/dist/cjs/default-css.d.ts +1 -1
- package/dist/cjs/delay-render.d.ts +2 -1
- package/dist/cjs/delay-render.js +4 -2
- package/dist/cjs/easing.js +3 -1
- package/dist/cjs/effects/Solid.d.ts +60 -60
- package/dist/cjs/effects/Solid.js +2 -2
- package/dist/cjs/effects/canvas-pool.js +6 -9
- package/dist/cjs/effects/index.js +1 -1
- package/dist/cjs/effects/use-memoized-effects.d.ts +2 -1
- package/dist/cjs/effects/use-memoized-effects.js +107 -54
- package/dist/cjs/freeze.js +2 -2
- package/dist/cjs/get-cross-origin-value.d.ts +1 -1
- package/dist/cjs/get-effective-visual-mode-value.d.ts +2 -2
- package/dist/cjs/index.d.ts +3 -1
- package/dist/cjs/index.js +32 -32
- package/dist/cjs/interactivity-schema.d.ts +286 -286
- package/dist/cjs/internals.d.ts +411 -595
- package/dist/cjs/internals.js +8 -0
- package/dist/cjs/interpolate-colors.d.ts +1 -1
- package/dist/cjs/interpolate-colors.js +17 -16
- package/dist/cjs/interpolate.d.ts +2 -9
- package/dist/cjs/is-player.js +1 -1
- package/dist/cjs/loading-indicator.js +2 -6
- package/dist/cjs/log-level-context.d.ts +1 -1
- package/dist/cjs/log.d.ts +12 -7
- package/dist/cjs/loop/index.js +1 -1
- package/dist/cjs/media-resource-manager.d.ts +1 -1
- package/dist/cjs/media-tag-current-time-timestamp.d.ts +1 -1
- package/dist/cjs/no-react.d.ts +85 -91
- package/dist/cjs/no-react.js +2 -2
- package/dist/cjs/play-and-handle-not-allowed-error.d.ts +5 -4
- package/dist/cjs/playback-logging.d.ts +2 -1
- package/dist/cjs/playback-pitch-context.d.ts +1 -0
- package/dist/cjs/playback-pitch-context.js +5 -0
- package/dist/cjs/prefetch-state.js +1 -1
- package/dist/cjs/prefetch.d.ts +7 -6
- package/dist/cjs/props-if-has-props.d.ts +2 -1
- package/dist/cjs/prores-profile.d.ts +1 -1
- package/dist/cjs/register-root.d.ts +2 -2
- package/dist/cjs/render-resource-manager.d.ts +1 -1
- package/dist/cjs/render-types.d.ts +2 -2
- package/dist/cjs/resolve-video-config.d.ts +8 -8
- package/dist/cjs/runtime-value-store.d.ts +1 -1
- package/dist/cjs/scale-value.d.ts +1 -1
- package/dist/cjs/seek.d.ts +3 -2
- package/dist/cjs/sequence-activity-context.js +1 -1
- package/dist/cjs/sequence-crop.js +1 -4
- package/dist/cjs/series/flatten-children.d.ts +3 -1
- package/dist/cjs/series/index.js +4 -5
- package/dist/cjs/series/is-inside-series.js +2 -2
- package/dist/cjs/spring/index.d.ts +1 -1
- package/dist/cjs/spring/index.js +1 -1
- package/dist/cjs/spring/measure-spring.d.ts +1 -1
- package/dist/cjs/spring/spring-utils.d.ts +1 -1
- package/dist/cjs/spring/spring-utils.js +11 -5
- package/dist/cjs/timeline-position-state.d.ts +2 -1
- package/dist/cjs/timeline-position-state.js +23 -3
- package/dist/cjs/use-amplification.d.ts +4 -7
- package/dist/cjs/use-current-frame.d.ts +1 -0
- package/dist/cjs/use-current-frame.js +14 -7
- package/dist/cjs/use-current-scale.d.ts +2 -2
- package/dist/cjs/use-delay-render.d.ts +2 -1
- package/dist/cjs/use-lazy-component.d.ts +1 -1
- package/dist/cjs/use-lazy-component.js +15 -5
- package/dist/cjs/use-media-buffering.d.ts +3 -2
- package/dist/cjs/use-media-duration.d.ts +4 -0
- package/dist/cjs/use-media-duration.js +36 -0
- package/dist/cjs/use-media-enabled.d.ts +1 -1
- package/dist/cjs/use-media-enabled.js +1 -1
- package/dist/cjs/use-media-in-timeline.d.ts +1 -1
- package/dist/cjs/use-media-playback.d.ts +3 -3
- package/dist/cjs/use-media-tag.d.ts +2 -2
- package/dist/cjs/use-pixel-density.d.ts +1 -1
- package/dist/cjs/use-premounting.d.ts +1 -1
- package/dist/cjs/use-premounting.js +6 -2
- package/dist/cjs/use-request-video-callback-time.d.ts +3 -3
- package/dist/cjs/use-schema.d.ts +4 -4
- package/dist/cjs/use-video.js +1 -1
- package/dist/cjs/validate-media-props.d.ts +1 -1
- package/dist/cjs/validation/validate-default-props.d.ts +1 -1
- package/dist/cjs/validation/validate-duration-in-frames.js +3 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/video/MediaPlaybackError.js +0 -1
- package/dist/cjs/video/OffthreadVideo.js +5 -5
- package/dist/cjs/video/OffthreadVideoForRendering.js +9 -7
- package/dist/cjs/video/VideoForPreview.js +6 -28
- package/dist/cjs/video/VideoForRendering.d.ts +5 -3
- package/dist/cjs/video/VideoForRendering.js +4 -2
- package/dist/cjs/video/duration-state.d.ts +1 -0
- package/dist/cjs/video/duration-state.js +8 -2
- package/dist/cjs/video/emit-video-frame.d.ts +1 -1
- package/dist/cjs/video/html5-video.d.ts +36 -36
- package/dist/cjs/video/html5-video.js +8 -10
- package/dist/cjs/video/index.js +2 -2
- package/dist/cjs/video/seek-until-right.d.ts +3 -2
- package/dist/cjs/warn-about-non-seekable-media.d.ts +1 -1
- package/dist/cjs/with-interactivity-schema.d.ts +1 -1
- package/dist/cjs/with-interactivity-schema.js +15 -18
- package/dist/cjs/wrap-remotion-context.d.ts +4 -4
- package/dist/cjs/wrap-remotion-context.js +2 -2
- package/dist/esm/index.mjs +1060 -728
- package/dist/esm/no-react.mjs +30 -25
- package/dist/esm/version.mjs +1 -1
- package/package.json +4 -4
package/dist/cjs/internals.d.ts
CHANGED
|
@@ -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 {
|
|
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:
|
|
56
|
-
readonly createElementSourceProxy:
|
|
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:
|
|
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:
|
|
65
|
-
readonly evaluateSourcePropStatuses:
|
|
66
|
-
readonly AbsoluteFillElement: import("react").
|
|
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:
|
|
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:
|
|
136
|
+
readonly makeMediaResourceManager: typeof makeMediaResourceManager;
|
|
76
137
|
readonly MEDIABUNNY_DURATION_VALUE_KEY: "mediabunny-duration";
|
|
77
|
-
readonly makeRenderResourceManager:
|
|
138
|
+
readonly makeRenderResourceManager: typeof makeRenderResourceManager;
|
|
78
139
|
readonly RenderResourceManagerContext: import("react").Context<import("./render-resource-manager.js").RenderResourceManager | null>;
|
|
79
|
-
readonly createRuntimeValueStore:
|
|
80
|
-
readonly useUnsafeVideoConfig:
|
|
81
|
-
readonly useFrameForVolumeProp:
|
|
82
|
-
readonly useTimelinePosition:
|
|
83
|
-
readonly useAbsoluteTimelinePosition:
|
|
84
|
-
readonly useIsInsideFreeze:
|
|
85
|
-
readonly useIsInsideNonPremountFreeze:
|
|
86
|
-
readonly useMediaAudioState:
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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:
|
|
106
|
-
|
|
107
|
-
|
|
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
|
|
133
|
-
readonly crossOrigin?:
|
|
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:
|
|
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:
|
|
149
|
-
readonly useDragOverridesForNodePath:
|
|
150
|
-
readonly useSequenceManagerSequences:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
226
|
+
readonly type: 'number';
|
|
192
227
|
readonly default: 1;
|
|
193
228
|
readonly min: 0.01;
|
|
194
229
|
readonly step: 0.1;
|
|
195
|
-
readonly description:
|
|
230
|
+
readonly description: 'Playback rate';
|
|
196
231
|
readonly hiddenFromList: false;
|
|
197
232
|
readonly keyframable: false;
|
|
198
233
|
};
|
|
199
234
|
readonly freeze: {
|
|
200
|
-
readonly type:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
266
|
+
readonly type: 'number';
|
|
232
267
|
readonly default: 1;
|
|
233
268
|
readonly min: 0.01;
|
|
234
269
|
readonly step: 0.1;
|
|
235
|
-
readonly description:
|
|
270
|
+
readonly description: 'Playback rate';
|
|
236
271
|
readonly hiddenFromList: false;
|
|
237
272
|
readonly keyframable: false;
|
|
238
273
|
};
|
|
239
274
|
readonly freeze: {
|
|
240
|
-
readonly type:
|
|
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:
|
|
250
|
-
readonly default:
|
|
251
|
-
readonly description:
|
|
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:
|
|
290
|
+
readonly type: 'transform-origin';
|
|
256
291
|
readonly step: 1;
|
|
257
|
-
readonly default:
|
|
258
|
-
readonly description:
|
|
292
|
+
readonly default: '50% 50%';
|
|
293
|
+
readonly description: 'Transform origin';
|
|
259
294
|
};
|
|
260
295
|
readonly 'style.translate': {
|
|
261
|
-
readonly type:
|
|
296
|
+
readonly type: 'translate';
|
|
262
297
|
readonly step: 1;
|
|
263
|
-
readonly default:
|
|
264
|
-
readonly description:
|
|
298
|
+
readonly default: '0px 0px';
|
|
299
|
+
readonly description: 'Offset';
|
|
265
300
|
};
|
|
266
301
|
readonly 'style.scale': {
|
|
267
|
-
readonly type:
|
|
302
|
+
readonly type: 'scale';
|
|
268
303
|
readonly max: 100;
|
|
269
304
|
readonly step: 0.01;
|
|
270
305
|
readonly default: 1;
|
|
271
|
-
readonly description:
|
|
272
|
-
readonly defaultKeyframeOutput:
|
|
306
|
+
readonly description: 'Scale';
|
|
307
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
273
308
|
};
|
|
274
309
|
readonly 'style.rotate': {
|
|
275
|
-
readonly type:
|
|
310
|
+
readonly type: 'rotation-css';
|
|
276
311
|
readonly step: 1;
|
|
277
|
-
readonly default:
|
|
278
|
-
readonly description:
|
|
312
|
+
readonly default: '0deg';
|
|
313
|
+
readonly description: 'Rotation';
|
|
279
314
|
};
|
|
280
315
|
readonly 'style.opacity': {
|
|
281
|
-
readonly type:
|
|
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:
|
|
321
|
+
readonly description: 'Opacity';
|
|
287
322
|
readonly hiddenFromList: false;
|
|
288
323
|
};
|
|
289
324
|
readonly 'style.borderWidth': {
|
|
290
|
-
readonly type:
|
|
325
|
+
readonly type: 'number';
|
|
291
326
|
readonly default: undefined;
|
|
292
327
|
readonly min: 0;
|
|
293
328
|
readonly step: 1;
|
|
294
|
-
readonly description:
|
|
329
|
+
readonly description: 'Border width';
|
|
295
330
|
readonly hiddenFromList: false;
|
|
296
331
|
};
|
|
297
332
|
readonly 'style.borderStyle': {
|
|
298
|
-
readonly type:
|
|
299
|
-
readonly default:
|
|
300
|
-
readonly description:
|
|
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:
|
|
350
|
+
readonly type: 'color';
|
|
316
351
|
readonly default: undefined;
|
|
317
|
-
readonly description:
|
|
352
|
+
readonly description: 'Border color';
|
|
318
353
|
};
|
|
319
354
|
readonly 'style.borderRadius': {
|
|
320
|
-
readonly type:
|
|
355
|
+
readonly type: 'number';
|
|
321
356
|
readonly default: 0;
|
|
322
357
|
readonly min: 0;
|
|
323
358
|
readonly step: 1;
|
|
324
|
-
readonly description:
|
|
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:
|
|
364
|
+
readonly type: 'number';
|
|
330
365
|
readonly default: 0;
|
|
331
366
|
readonly min: 0;
|
|
332
367
|
readonly step: 1;
|
|
333
|
-
readonly description:
|
|
368
|
+
readonly description: 'Top left radius';
|
|
334
369
|
readonly hiddenFromList: false;
|
|
335
370
|
};
|
|
336
371
|
readonly 'style.borderTopRightRadius': {
|
|
337
|
-
readonly type:
|
|
372
|
+
readonly type: 'number';
|
|
338
373
|
readonly default: 0;
|
|
339
374
|
readonly min: 0;
|
|
340
375
|
readonly step: 1;
|
|
341
|
-
readonly description:
|
|
376
|
+
readonly description: 'Top right radius';
|
|
342
377
|
readonly hiddenFromList: false;
|
|
343
378
|
};
|
|
344
379
|
readonly 'style.borderBottomRightRadius': {
|
|
345
|
-
readonly type:
|
|
380
|
+
readonly type: 'number';
|
|
346
381
|
readonly default: 0;
|
|
347
382
|
readonly min: 0;
|
|
348
383
|
readonly step: 1;
|
|
349
|
-
readonly description:
|
|
384
|
+
readonly description: 'Bottom right radius';
|
|
350
385
|
readonly hiddenFromList: false;
|
|
351
386
|
};
|
|
352
387
|
readonly 'style.borderBottomLeftRadius': {
|
|
353
|
-
readonly type:
|
|
388
|
+
readonly type: 'number';
|
|
354
389
|
readonly default: 0;
|
|
355
390
|
readonly min: 0;
|
|
356
391
|
readonly step: 1;
|
|
357
|
-
readonly description:
|
|
392
|
+
readonly description: 'Bottom left radius';
|
|
358
393
|
readonly hiddenFromList: false;
|
|
359
394
|
};
|
|
360
395
|
readonly 'style.backgroundColor': {
|
|
361
|
-
readonly type:
|
|
362
|
-
readonly default:
|
|
363
|
-
readonly description:
|
|
396
|
+
readonly type: 'color';
|
|
397
|
+
readonly default: 'transparent';
|
|
398
|
+
readonly description: 'Color';
|
|
364
399
|
};
|
|
365
400
|
readonly premountFor: {
|
|
366
|
-
readonly type:
|
|
401
|
+
readonly type: 'number';
|
|
367
402
|
readonly default: undefined;
|
|
368
|
-
readonly description:
|
|
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:
|
|
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:
|
|
418
|
+
readonly type: 'number';
|
|
384
419
|
readonly default: 0;
|
|
385
|
-
readonly description:
|
|
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:
|
|
428
|
+
readonly type: 'number';
|
|
394
429
|
readonly default: 0;
|
|
395
|
-
readonly description:
|
|
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:
|
|
438
|
+
readonly type: 'number';
|
|
404
439
|
readonly default: 0;
|
|
405
|
-
readonly description:
|
|
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:
|
|
448
|
+
readonly type: 'number';
|
|
414
449
|
readonly default: 0;
|
|
415
|
-
readonly description:
|
|
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:
|
|
464
|
+
readonly type: 'number';
|
|
430
465
|
readonly default: 0;
|
|
431
466
|
readonly step: 1;
|
|
432
|
-
readonly description:
|
|
467
|
+
readonly description: 'From';
|
|
433
468
|
readonly hiddenFromList: false;
|
|
434
469
|
readonly keyframable: false;
|
|
435
470
|
};
|
|
436
471
|
readonly durationInFrames: {
|
|
437
|
-
readonly type:
|
|
472
|
+
readonly type: 'number';
|
|
438
473
|
readonly default: undefined;
|
|
439
474
|
readonly min: 1;
|
|
440
475
|
readonly step: 1;
|
|
441
|
-
readonly description:
|
|
476
|
+
readonly description: 'Duration';
|
|
442
477
|
readonly hiddenFromList: false;
|
|
443
478
|
readonly keyframable: false;
|
|
444
479
|
};
|
|
445
480
|
readonly trimBefore: {
|
|
446
|
-
readonly type:
|
|
481
|
+
readonly type: 'number';
|
|
447
482
|
readonly default: 0;
|
|
448
483
|
readonly min: 0;
|
|
449
484
|
readonly step: 1;
|
|
450
|
-
readonly description:
|
|
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:
|
|
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:
|
|
500
|
+
readonly type: 'transform-origin';
|
|
466
501
|
readonly step: 1;
|
|
467
|
-
readonly default:
|
|
468
|
-
readonly description:
|
|
502
|
+
readonly default: '50% 50%';
|
|
503
|
+
readonly description: 'Transform origin';
|
|
469
504
|
};
|
|
470
505
|
readonly 'style.translate': {
|
|
471
|
-
readonly type:
|
|
506
|
+
readonly type: 'translate';
|
|
472
507
|
readonly step: 1;
|
|
473
|
-
readonly default:
|
|
474
|
-
readonly description:
|
|
508
|
+
readonly default: '0px 0px';
|
|
509
|
+
readonly description: 'Offset';
|
|
475
510
|
};
|
|
476
511
|
readonly 'style.scale': {
|
|
477
|
-
readonly type:
|
|
512
|
+
readonly type: 'scale';
|
|
478
513
|
readonly max: 100;
|
|
479
514
|
readonly step: 0.01;
|
|
480
515
|
readonly default: 1;
|
|
481
|
-
readonly description:
|
|
482
|
-
readonly defaultKeyframeOutput:
|
|
516
|
+
readonly description: 'Scale';
|
|
517
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
483
518
|
};
|
|
484
519
|
readonly 'style.rotate': {
|
|
485
|
-
readonly type:
|
|
520
|
+
readonly type: 'rotation-css';
|
|
486
521
|
readonly step: 1;
|
|
487
|
-
readonly default:
|
|
488
|
-
readonly description:
|
|
522
|
+
readonly default: '0deg';
|
|
523
|
+
readonly description: 'Rotation';
|
|
489
524
|
};
|
|
490
525
|
readonly 'style.opacity': {
|
|
491
|
-
readonly type:
|
|
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:
|
|
531
|
+
readonly description: 'Opacity';
|
|
497
532
|
readonly hiddenFromList: false;
|
|
498
533
|
};
|
|
499
534
|
readonly 'style.borderWidth': {
|
|
500
|
-
readonly type:
|
|
535
|
+
readonly type: 'number';
|
|
501
536
|
readonly default: undefined;
|
|
502
537
|
readonly min: 0;
|
|
503
538
|
readonly step: 1;
|
|
504
|
-
readonly description:
|
|
539
|
+
readonly description: 'Border width';
|
|
505
540
|
readonly hiddenFromList: false;
|
|
506
541
|
};
|
|
507
542
|
readonly 'style.borderStyle': {
|
|
508
|
-
readonly type:
|
|
509
|
-
readonly default:
|
|
510
|
-
readonly description:
|
|
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:
|
|
560
|
+
readonly type: 'color';
|
|
526
561
|
readonly default: undefined;
|
|
527
|
-
readonly description:
|
|
562
|
+
readonly description: 'Border color';
|
|
528
563
|
};
|
|
529
564
|
readonly 'style.borderRadius': {
|
|
530
|
-
readonly type:
|
|
565
|
+
readonly type: 'number';
|
|
531
566
|
readonly default: 0;
|
|
532
567
|
readonly min: 0;
|
|
533
568
|
readonly step: 1;
|
|
534
|
-
readonly description:
|
|
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:
|
|
574
|
+
readonly type: 'number';
|
|
540
575
|
readonly default: 0;
|
|
541
576
|
readonly min: 0;
|
|
542
577
|
readonly step: 1;
|
|
543
|
-
readonly description:
|
|
578
|
+
readonly description: 'Top left radius';
|
|
544
579
|
readonly hiddenFromList: false;
|
|
545
580
|
};
|
|
546
581
|
readonly 'style.borderTopRightRadius': {
|
|
547
|
-
readonly type:
|
|
582
|
+
readonly type: 'number';
|
|
548
583
|
readonly default: 0;
|
|
549
584
|
readonly min: 0;
|
|
550
585
|
readonly step: 1;
|
|
551
|
-
readonly description:
|
|
586
|
+
readonly description: 'Top right radius';
|
|
552
587
|
readonly hiddenFromList: false;
|
|
553
588
|
};
|
|
554
589
|
readonly 'style.borderBottomRightRadius': {
|
|
555
|
-
readonly type:
|
|
590
|
+
readonly type: 'number';
|
|
556
591
|
readonly default: 0;
|
|
557
592
|
readonly min: 0;
|
|
558
593
|
readonly step: 1;
|
|
559
|
-
readonly description:
|
|
594
|
+
readonly description: 'Bottom right radius';
|
|
560
595
|
readonly hiddenFromList: false;
|
|
561
596
|
};
|
|
562
597
|
readonly 'style.borderBottomLeftRadius': {
|
|
563
|
-
readonly type:
|
|
598
|
+
readonly type: 'number';
|
|
564
599
|
readonly default: 0;
|
|
565
600
|
readonly min: 0;
|
|
566
601
|
readonly step: 1;
|
|
567
|
-
readonly description:
|
|
602
|
+
readonly description: 'Bottom left radius';
|
|
568
603
|
readonly hiddenFromList: false;
|
|
569
604
|
};
|
|
570
605
|
readonly 'style.backgroundColor': {
|
|
571
|
-
readonly type:
|
|
572
|
-
readonly default:
|
|
573
|
-
readonly description:
|
|
606
|
+
readonly type: 'color';
|
|
607
|
+
readonly default: 'transparent';
|
|
608
|
+
readonly description: 'Color';
|
|
574
609
|
};
|
|
575
610
|
readonly premountFor: {
|
|
576
|
-
readonly type:
|
|
611
|
+
readonly type: 'number';
|
|
577
612
|
readonly default: undefined;
|
|
578
|
-
readonly description:
|
|
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:
|
|
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:
|
|
628
|
+
readonly type: 'number';
|
|
594
629
|
readonly default: 0;
|
|
595
|
-
readonly description:
|
|
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:
|
|
638
|
+
readonly type: 'number';
|
|
604
639
|
readonly default: 0;
|
|
605
|
-
readonly description:
|
|
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:
|
|
648
|
+
readonly type: 'number';
|
|
614
649
|
readonly default: 0;
|
|
615
|
-
readonly description:
|
|
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:
|
|
658
|
+
readonly type: 'number';
|
|
624
659
|
readonly default: 0;
|
|
625
|
-
readonly description:
|
|
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:
|
|
670
|
+
readonly type: 'transform-origin';
|
|
636
671
|
readonly step: 1;
|
|
637
|
-
readonly default:
|
|
638
|
-
readonly description:
|
|
672
|
+
readonly default: '50% 50%';
|
|
673
|
+
readonly description: 'Transform origin';
|
|
639
674
|
};
|
|
640
675
|
readonly 'style.translate': {
|
|
641
|
-
readonly type:
|
|
676
|
+
readonly type: 'translate';
|
|
642
677
|
readonly step: 1;
|
|
643
|
-
readonly default:
|
|
644
|
-
readonly description:
|
|
678
|
+
readonly default: '0px 0px';
|
|
679
|
+
readonly description: 'Offset';
|
|
645
680
|
};
|
|
646
681
|
readonly 'style.scale': {
|
|
647
|
-
readonly type:
|
|
682
|
+
readonly type: 'scale';
|
|
648
683
|
readonly max: 100;
|
|
649
684
|
readonly step: 0.01;
|
|
650
685
|
readonly default: 1;
|
|
651
|
-
readonly description:
|
|
652
|
-
readonly defaultKeyframeOutput:
|
|
686
|
+
readonly description: 'Scale';
|
|
687
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
653
688
|
};
|
|
654
689
|
readonly 'style.rotate': {
|
|
655
|
-
readonly type:
|
|
690
|
+
readonly type: 'rotation-css';
|
|
656
691
|
readonly step: 1;
|
|
657
|
-
readonly default:
|
|
658
|
-
readonly description:
|
|
692
|
+
readonly default: '0deg';
|
|
693
|
+
readonly description: 'Rotation';
|
|
659
694
|
};
|
|
660
695
|
readonly 'style.opacity': {
|
|
661
|
-
readonly type:
|
|
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:
|
|
701
|
+
readonly description: 'Opacity';
|
|
667
702
|
readonly hiddenFromList: false;
|
|
668
703
|
};
|
|
669
704
|
};
|
|
670
705
|
readonly sequencePremountSchema: {
|
|
671
706
|
readonly premountFor: {
|
|
672
|
-
readonly type:
|
|
707
|
+
readonly type: 'number';
|
|
673
708
|
readonly default: undefined;
|
|
674
|
-
readonly description:
|
|
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:
|
|
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:
|
|
726
|
+
readonly type: 'number';
|
|
692
727
|
readonly default: 0;
|
|
693
|
-
readonly description:
|
|
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:
|
|
736
|
+
readonly type: 'number';
|
|
702
737
|
readonly default: 0;
|
|
703
|
-
readonly description:
|
|
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:
|
|
746
|
+
readonly type: 'number';
|
|
712
747
|
readonly default: 0;
|
|
713
|
-
readonly description:
|
|
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:
|
|
756
|
+
readonly type: 'number';
|
|
722
757
|
readonly default: 0;
|
|
723
|
-
readonly description:
|
|
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:
|
|
768
|
+
readonly type: 'color';
|
|
734
769
|
readonly default: undefined;
|
|
735
|
-
readonly description:
|
|
770
|
+
readonly description: 'Color';
|
|
736
771
|
};
|
|
737
772
|
readonly 'style.fontFamily': {
|
|
738
|
-
readonly type:
|
|
773
|
+
readonly type: 'font-family';
|
|
739
774
|
readonly default: undefined;
|
|
740
|
-
readonly description:
|
|
775
|
+
readonly description: 'Font family';
|
|
741
776
|
readonly keyframable: false;
|
|
742
777
|
};
|
|
743
778
|
readonly 'style.fontSize': {
|
|
744
|
-
readonly type:
|
|
779
|
+
readonly type: 'number';
|
|
745
780
|
readonly default: undefined;
|
|
746
781
|
readonly min: 0;
|
|
747
782
|
readonly step: 1;
|
|
748
|
-
readonly description:
|
|
783
|
+
readonly description: 'Font size';
|
|
749
784
|
readonly hiddenFromList: false;
|
|
750
785
|
};
|
|
751
786
|
readonly 'style.lineHeight': {
|
|
752
|
-
readonly type:
|
|
787
|
+
readonly type: 'number';
|
|
753
788
|
readonly default: undefined;
|
|
754
789
|
readonly min: 0;
|
|
755
790
|
readonly step: 0.05;
|
|
756
|
-
readonly description:
|
|
791
|
+
readonly description: 'Line height';
|
|
757
792
|
readonly hiddenFromList: false;
|
|
758
793
|
};
|
|
759
794
|
readonly 'style.fontWeight': {
|
|
760
|
-
readonly type:
|
|
795
|
+
readonly type: 'font-weight';
|
|
761
796
|
readonly default: 400;
|
|
762
|
-
readonly description:
|
|
797
|
+
readonly description: 'Font weight';
|
|
763
798
|
};
|
|
764
799
|
readonly 'style.fontStyle': {
|
|
765
|
-
readonly type:
|
|
766
|
-
readonly default:
|
|
767
|
-
readonly description:
|
|
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:
|
|
776
|
-
readonly default:
|
|
777
|
-
readonly description:
|
|
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:
|
|
823
|
+
readonly type: 'number';
|
|
789
824
|
readonly default: undefined;
|
|
790
825
|
readonly step: 0.1;
|
|
791
|
-
readonly description:
|
|
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:
|
|
832
|
+
readonly type: 'transform-origin';
|
|
798
833
|
readonly step: 1;
|
|
799
|
-
readonly default:
|
|
800
|
-
readonly description:
|
|
834
|
+
readonly default: '50% 50%';
|
|
835
|
+
readonly description: 'Transform origin';
|
|
801
836
|
};
|
|
802
837
|
readonly 'style.translate': {
|
|
803
|
-
readonly type:
|
|
838
|
+
readonly type: 'translate';
|
|
804
839
|
readonly step: 1;
|
|
805
|
-
readonly default:
|
|
806
|
-
readonly description:
|
|
840
|
+
readonly default: '0px 0px';
|
|
841
|
+
readonly description: 'Offset';
|
|
807
842
|
};
|
|
808
843
|
readonly 'style.scale': {
|
|
809
|
-
readonly type:
|
|
844
|
+
readonly type: 'scale';
|
|
810
845
|
readonly max: 100;
|
|
811
846
|
readonly step: 0.01;
|
|
812
847
|
readonly default: 1;
|
|
813
|
-
readonly description:
|
|
814
|
-
readonly defaultKeyframeOutput:
|
|
848
|
+
readonly description: 'Scale';
|
|
849
|
+
readonly defaultKeyframeOutput: 'perceptual-scale';
|
|
815
850
|
};
|
|
816
851
|
readonly 'style.rotate': {
|
|
817
|
-
readonly type:
|
|
852
|
+
readonly type: 'rotation-css';
|
|
818
853
|
readonly step: 1;
|
|
819
|
-
readonly default:
|
|
820
|
-
readonly description:
|
|
854
|
+
readonly default: '0deg';
|
|
855
|
+
readonly description: 'Rotation';
|
|
821
856
|
};
|
|
822
857
|
readonly 'style.opacity': {
|
|
823
|
-
readonly type:
|
|
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:
|
|
863
|
+
readonly description: 'Opacity';
|
|
829
864
|
readonly hiddenFromList: false;
|
|
830
865
|
};
|
|
831
866
|
};
|
|
832
867
|
readonly premountSchema: {
|
|
833
868
|
readonly premountFor: {
|
|
834
|
-
readonly type:
|
|
869
|
+
readonly type: 'number';
|
|
835
870
|
readonly default: undefined;
|
|
836
|
-
readonly description:
|
|
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:
|
|
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:
|
|
852
|
-
readonly getFlatSchemaWithAllKeys:
|
|
886
|
+
readonly flattenActiveSchema: typeof flattenActiveSchema;
|
|
887
|
+
readonly getFlatSchemaWithAllKeys: typeof getFlatSchemaWithAllKeys;
|
|
853
888
|
readonly RemotionRootContexts: import("react").FC<{
|
|
854
|
-
readonly children:
|
|
889
|
+
readonly children: React.ReactNode;
|
|
855
890
|
readonly numberOfAudioTags: number;
|
|
856
|
-
readonly logLevel: "
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
906
|
+
readonly children: React.ReactNode;
|
|
880
907
|
}>;
|
|
881
|
-
readonly getRoot:
|
|
882
|
-
readonly useMediaVolumeState:
|
|
883
|
-
readonly usePlayerMutedState:
|
|
884
|
-
readonly useMediaInTimeline:
|
|
885
|
-
|
|
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:
|
|
914
|
-
|
|
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:
|
|
921
|
+
readonly RemotionContextProvider: typeof RemotionContextProvider;
|
|
938
922
|
readonly CSSUtils: typeof CSSUtils;
|
|
939
|
-
readonly setupEnvVariables:
|
|
923
|
+
readonly setupEnvVariables: typeof setupEnvVariables;
|
|
940
924
|
readonly MediaVolumeContext: import("react").Context<MediaVolumeContextValue>;
|
|
941
925
|
readonly SetMediaVolumeContext: import("react").Context<SetMediaVolumeContextValue>;
|
|
942
|
-
readonly getRemotionEnvironment:
|
|
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:
|
|
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:
|
|
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:
|
|
981
|
+
readonly children: React.ReactNode;
|
|
1003
982
|
}>;
|
|
1004
|
-
readonly getAudioSyncAnchorTolerance:
|
|
983
|
+
readonly getAudioSyncAnchorTolerance: typeof getAudioSyncAnchorTolerance;
|
|
1005
984
|
readonly invalidCompositionErrorMessage: string;
|
|
1006
985
|
readonly invalidFolderNameErrorMessage: string;
|
|
1007
|
-
readonly calculateMediaDuration:
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
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:
|
|
1020
|
-
readonly setPortalNodeCurrentScale:
|
|
1021
|
-
readonly waitForRoot:
|
|
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:
|
|
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:
|
|
1002
|
+
readonly children: React.ReactNode;
|
|
1029
1003
|
}>;
|
|
1030
1004
|
readonly EnableInteractivityProvider: import("react").FC<{
|
|
1031
|
-
readonly children:
|
|
1005
|
+
readonly children: React.ReactNode;
|
|
1032
1006
|
}>;
|
|
1033
1007
|
readonly PrefetchProvider: import("react").FC<{
|
|
1034
|
-
readonly children:
|
|
1008
|
+
readonly children: React.ReactNode;
|
|
1035
1009
|
}>;
|
|
1036
1010
|
readonly DurationsContextProvider: import("react").FC<{
|
|
1037
|
-
readonly children:
|
|
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:
|
|
1016
|
+
readonly useIsPlayer: typeof useIsPlayer;
|
|
1043
1017
|
readonly EditorPropsProvider: import("react").FC<{
|
|
1044
|
-
readonly children:
|
|
1018
|
+
readonly children: React.ReactNode;
|
|
1045
1019
|
}>;
|
|
1046
1020
|
readonly EditorPropsContext: import("react").Context<import("./EditorProps.js").EditorPropsContextType>;
|
|
1047
|
-
readonly usePreload:
|
|
1048
|
-
readonly resolveVideoConfig:
|
|
1049
|
-
|
|
1050
|
-
|
|
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:
|
|
1027
|
+
type: 'loading';
|
|
1096
1028
|
} | {
|
|
1097
|
-
type:
|
|
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:
|
|
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:
|
|
1037
|
+
type: 'error';
|
|
1106
1038
|
error: Error;
|
|
1107
1039
|
}) | undefined;
|
|
1108
1040
|
} | null>;
|
|
1109
|
-
readonly useResolvedVideoConfig:
|
|
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:
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
readonly
|
|
1134
|
-
readonly
|
|
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:
|
|
1141
|
-
readonly useMediaStartsAt:
|
|
1057
|
+
readonly addSequenceStackTraces: typeof addSequenceStackTraces;
|
|
1058
|
+
readonly useMediaStartsAt: typeof useMediaStartsAt;
|
|
1142
1059
|
readonly BufferingProvider: import("react").FC<{
|
|
1143
|
-
readonly children:
|
|
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:
|
|
1151
|
-
readonly getSingleChildComponent:
|
|
1152
|
-
readonly getStackForControls:
|
|
1153
|
-
readonly makeOriginalSourceStack:
|
|
1154
|
-
|
|
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:
|
|
1073
|
+
readonly setComponentIdentityResolver: typeof setComponentIdentityResolver;
|
|
1161
1074
|
readonly CurrentScaleContext: import("react").Context<({
|
|
1162
|
-
type:
|
|
1075
|
+
type: 'scale';
|
|
1163
1076
|
scale: number;
|
|
1164
1077
|
} | ({
|
|
1165
|
-
type:
|
|
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:
|
|
1193
|
-
|
|
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: "
|
|
1109
|
+
logLevel: import("./log.js").LogLevel;
|
|
1205
1110
|
tag: string | null;
|
|
1206
1111
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1207
1112
|
verbose: (options: {
|
|
1208
|
-
logLevel: "
|
|
1113
|
+
logLevel: import("./log.js").LogLevel;
|
|
1209
1114
|
tag: string | null;
|
|
1210
1115
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1211
1116
|
info: (options: {
|
|
1212
|
-
logLevel: "
|
|
1117
|
+
logLevel: import("./log.js").LogLevel;
|
|
1213
1118
|
tag: string | null;
|
|
1214
1119
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1215
1120
|
warn: (options: {
|
|
1216
|
-
logLevel: "
|
|
1121
|
+
logLevel: import("./log.js").LogLevel;
|
|
1217
1122
|
tag: string | null;
|
|
1218
1123
|
}, message?: any, ...optionalParams: any[]) => void;
|
|
1219
1124
|
error: (options: {
|
|
1220
|
-
logLevel: "
|
|
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:
|
|
1226
|
-
readonly playbackLogging:
|
|
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?:
|
|
1135
|
+
play: (e?: import("react").SyntheticEvent | PointerEvent) => void;
|
|
1236
1136
|
pause: () => void;
|
|
1237
|
-
toggle: (e?:
|
|
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:
|
|
1145
|
+
readonly warnAboutTooHighVolume: typeof warnAboutTooHighVolume;
|
|
1246
1146
|
readonly AudioForPreview: import("react").ForwardRefExoticComponent<Omit<import("./audio/props.js").NativeAudioProps & {
|
|
1247
|
-
name?: string
|
|
1248
|
-
volume?: import("./volume-prop.js").VolumeProp
|
|
1249
|
-
playbackRate?: number
|
|
1250
|
-
preservePitch?: boolean
|
|
1251
|
-
acceptableTimeShiftInSeconds?: number
|
|
1252
|
-
allowAmplificationDuringRender?: boolean
|
|
1253
|
-
_remotionInternalNeedsDurationCalculation?: boolean
|
|
1254
|
-
_remotionInternalNativeLoopPassed?: boolean
|
|
1255
|
-
toneFrequency?: number
|
|
1256
|
-
useWebAudioApi?: boolean
|
|
1257
|
-
pauseWhenBuffering?: boolean
|
|
1258
|
-
showInTimeline?: boolean
|
|
1259
|
-
delayRenderTimeoutInMilliseconds?: number
|
|
1260
|
-
delayRenderRetries?: number
|
|
1261
|
-
loopVolumeCurveBehavior?: import("./index.js").LoopVolumeCurveBehavior
|
|
1262
|
-
onError?: (
|
|
1263
|
-
audioStreamIndex?: number
|
|
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:
|
|
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:
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
1307
|
-
collectAssets:
|
|
1190
|
+
children: React.ReactNode;
|
|
1191
|
+
collectAssets: null | React.RefObject<import("./RenderAssetManager.js").CollectAssetsRef | null>;
|
|
1308
1192
|
}>;
|
|
1309
|
-
readonly getEffectiveVisualModeValue:
|
|
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:
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
readonly
|
|
1321
|
-
readonly
|
|
1322
|
-
readonly
|
|
1323
|
-
readonly
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
readonly
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
readonly
|
|
1332
|
-
readonly
|
|
1333
|
-
readonly
|
|
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:
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
1427
|
-
readonly useCropStyle:
|
|
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';
|