/// /// import './_check-rsc.js'; import './asset-types.js'; import type { Codec } from './codec.js'; import type { TRenderAsset } from './CompositionManager.js'; import type { StaticFile } from './get-static-files.js'; import type { ClipRegion } from './NativeLayers.js'; import type { VideoConfig } from './video-config.js'; export type VideoConfigWithSerializedProps = Omit & { serializedDefaultPropsWithCustomSchema: string; serializedResolvedPropsWithCustomSchema: string; }; declare global { interface Window { remotion_renderReady: boolean; remotion_delayRenderTimeouts: { [key: string]: { label: string | null; timeout: number | Timer; }; }; remotion_cancelledError: string | undefined; remotion_getCompositionNames: () => string[]; getStaticCompositions: () => Promise; remotion_calculateComposition: (compId: string) => Promise; remotion_setBundleMode: (bundleMode: BundleState) => void; remotion_staticBase: string; remotion_staticFiles: StaticFile[]; remotion_publicPath: string; remotion_publicFolderExists: string | null; remotion_editorName: string | null; remotion_ignoreFastRefreshUpdate: number | null; remotion_numberOfAudioTags: number; remotion_projectName: string; remotion_cwd: string; remotion_studioServerCommand: string; remotion_setFrame: (frame: number, composition: string, attempt: number) => void; remotion_attempt: number; remotion_initialFrame: number; remotion_proxyPort: number; remotion_audioEnabled: boolean; remotion_videoEnabled: boolean; remotion_puppeteerTimeout: number; remotion_inputProps: string; remotion_envVariables: string; remotion_collectAssets: () => TRenderAsset[]; remotion_getClipRegion: () => ClipRegion | null; remotion_isPlayer: boolean; remotion_isStudio: boolean; remotion_isBuilding: undefined | (() => void); remotion_finishedBuilding: undefined | (() => void); siteVersion: '11'; remotion_version: string; remotion_imported: string | boolean; remotion_unsavedProps: boolean | undefined; } } export type BundleState = { type: 'index'; } | { type: 'evaluation'; } | { type: 'composition'; compositionName: string; serializedResolvedPropsWithSchema: string; compositionHeight: number; compositionDurationInFrames: number; compositionWidth: number; compositionFps: number; compositionDefaultCodec: Codec; }; export * from './AbsoluteFill.js'; export { Artifact } from './Artifact.js'; export * from './audio/index.js'; export { cancelRender } from './cancel-render.js'; export { CalculateMetadataFunction, Composition, CompositionProps, CompProps, StillProps, } from './Composition.js'; export { AnyCompMetadata, AnyComposition, AudioOrVideoAsset, SmallTCompMetadata, TCompMetadata, TRenderAsset, } from './CompositionManager.js'; export type { CanvasContent } from './CompositionManagerContext.js'; export { getInputProps } from './config/input-props.js'; export { continueRender, delayRender } from './delay-render.js'; export * from './easing.js'; export * from './Folder.js'; export * from './freeze.js'; export { getRemotionEnvironment } from './get-remotion-environment.js'; export { getStaticFiles, StaticFile } from './get-static-files.js'; export * from './IFrame.js'; export { Img, ImgProps } from './Img.js'; export * from './internals.js'; export { interpolateColors } from './interpolate-colors.js'; export { Loop } from './loop/index.js'; export { ClipRegion } from './NativeLayers.js'; export { EasingFunction, ExtrapolateType, interpolate, InterpolateOptions, random, RandomSeed, } from './no-react'; export { prefetch, PrefetchOnProgress } from './prefetch.js'; export { registerRoot } from './register-root.js'; export { AbsoluteFillLayout, LayoutAndStyle, Sequence, SequenceProps, SequencePropsWithoutDuration, } from './Sequence.js'; export { Series } from './series/index.js'; export * from './spring/index.js'; export { staticFile } from './static-file.js'; export * from './Still.js'; export type { PlayableMediaTag } from './timeline-position-state.js'; export { useBufferState } from './use-buffer-state'; export { useCurrentFrame } from './use-current-frame.js'; export { CurrentScaleContextType, PreviewSize, PreviewSizeCtx, Translation, useCurrentScale, } from './use-current-scale'; export * from './use-video-config.js'; export * from './version.js'; export * from './video-config.js'; export * from './video/index.js'; export { watchStaticFile } from './watch-static-file.js'; export declare const Experimental: { /** * @description This is a special component that will cause Remotion to only partially capture the frame of the video. * @see [Documentation](https://www.remotion.dev/docs/clipper) */ Clipper: import("react").FC<{ width: number; height: number; x: number; y: number; }>; /** * @description This is a special component, that, when rendered, will skip rendering the frame altogether. * @see [Documentation](https://www.remotion.dev/docs/null) */ Null: import("react").FC<{}>; useIsPlayer: () => boolean; }; export declare const Config: {};