@remotion/cli 3.3.6 → 3.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/ansi/ansi-diff.d.ts +1 -1
  2. package/dist/ansi/ansi-regex.d.ts +2 -2
  3. package/dist/benchmark.d.ts +1 -1
  4. package/dist/compositions.d.ts +1 -1
  5. package/dist/config/chromium-flags.d.ts +2 -3
  6. package/dist/config/codec.d.ts +1 -4
  7. package/dist/config/concurrency.d.ts +1 -1
  8. package/dist/config/image-format.d.ts +2 -3
  9. package/dist/config/index.d.ts +5 -5
  10. package/dist/config/log.d.ts +2 -3
  11. package/dist/config/number-of-gif-loops.d.ts +1 -1
  12. package/dist/config/override-webpack.d.ts +1 -1
  13. package/dist/config/pixel-format.d.ts +2 -3
  14. package/dist/config/scale.d.ts +1 -1
  15. package/dist/download-progress.d.ts +1 -1
  16. package/dist/editor/components/CompositionSelectorItem.d.ts +1 -1
  17. package/dist/editor/components/FramePersistor.d.ts +2 -2
  18. package/dist/editor/components/Menu/MenuItem.d.ts +2 -2
  19. package/dist/editor/components/Menu/MenuSubItem.d.ts +1 -1
  20. package/dist/editor/components/Menu/portals.d.ts +1 -1
  21. package/dist/editor/components/NewComposition/ComboBox.d.ts +4 -4
  22. package/dist/editor/components/NewComposition/InputDragger.d.ts +1 -1
  23. package/dist/editor/components/NewComposition/NewCompCode.d.ts +1 -2
  24. package/dist/editor/components/NewComposition/render-aspect-ratio.d.ts +1 -1
  25. package/dist/editor/components/Notifications/NotificationCenter.d.ts +2 -2
  26. package/dist/editor/components/QuickSwitcher/NoResults.d.ts +1 -1
  27. package/dist/editor/components/QuickSwitcher/QuickSwitcherResult.d.ts +2 -2
  28. package/dist/editor/components/SizeSelector.d.ts +1 -1
  29. package/dist/editor/components/Timeline/MaxTimelineTracks.d.ts +1 -1
  30. package/dist/editor/components/Timeline/timeline-scroll-logic.d.ts +3 -3
  31. package/dist/editor/components/Timeline/timeline-state-reducer.d.ts +2 -2
  32. package/dist/editor/components/UpdateCheck.d.ts +1 -1
  33. package/dist/editor/components/ZoomPersistor.d.ts +1 -1
  34. package/dist/editor/helpers/calculate-timeline.d.ts +1 -1
  35. package/dist/editor/helpers/get-effective-translation.d.ts +4 -4
  36. package/dist/editor/helpers/get-timeline-sequence-layout.d.ts +2 -2
  37. package/dist/editor/helpers/get-timeline-sequence-sort-key.d.ts +3 -3
  38. package/dist/editor/helpers/is-current-selected-still.d.ts +2 -2
  39. package/dist/editor/helpers/use-keybinding.d.ts +1 -0
  40. package/dist/editor/helpers/use-menu-structure.d.ts +1 -1
  41. package/dist/editor/state/checkerboard.d.ts +1 -1
  42. package/dist/editor/state/folders.d.ts +1 -1
  43. package/dist/editor/state/highest-z-index.d.ts +1 -1
  44. package/dist/editor/state/in-out.d.ts +2 -2
  45. package/dist/editor/state/keybindings.d.ts +4 -4
  46. package/dist/editor/state/modals.d.ts +3 -3
  47. package/dist/editor/state/playbackrate.d.ts +1 -1
  48. package/dist/editor/state/preview-size.d.ts +1 -1
  49. package/dist/editor/state/rich-timeline.d.ts +1 -1
  50. package/dist/editor/state/sidebar.d.ts +2 -2
  51. package/dist/editor/state/timeline-ref.d.ts +1 -1
  52. package/dist/editor/state/z-index.d.ts +1 -1
  53. package/dist/get-cli-options.d.ts +4 -35
  54. package/dist/get-composition-id.d.ts +1 -1
  55. package/dist/get-composition-with-dimension-override.d.ts +1 -1
  56. package/dist/get-filename.d.ts +1 -1
  57. package/dist/get-final-output-codec.js +31 -32
  58. package/dist/get-latest-remotion-version.d.ts +1 -1
  59. package/dist/get-render-media-options.d.ts +1 -1
  60. package/dist/handle-common-errors.d.ts +1 -1
  61. package/dist/image-formats.d.ts +1 -3
  62. package/dist/index.d.ts +15 -51
  63. package/dist/initialize-cli.d.ts +1 -1
  64. package/dist/install.d.ts +1 -1
  65. package/dist/lambda-command.d.ts +1 -1
  66. package/dist/log.d.ts +4 -4
  67. package/dist/parse-command-line.d.ts +1 -1
  68. package/dist/preview-server/dev-middleware/get-paths.d.ts +1 -1
  69. package/dist/preview-server/dev-middleware/is-color-supported.d.ts +1 -1
  70. package/dist/preview-server/dev-middleware/middleware.d.ts +1 -1
  71. package/dist/preview-server/dev-middleware/range-parser.d.ts +2 -2
  72. package/dist/preview-server/error-overlay/react-overlay/effects/map-error-to-react-stack.d.ts +1 -1
  73. package/dist/preview-server/error-overlay/react-overlay/utils/stack-frame.d.ts +4 -4
  74. package/dist/preview-server/error-overlay/remotion-overlay/format-location.d.ts +1 -1
  75. package/dist/preview-server/error-overlay/remotion-overlay/get-help-link.d.ts +1 -1
  76. package/dist/preview-server/get-absolute-public-dir.d.ts +4 -0
  77. package/dist/preview-server/get-absolute-public-dir.js +14 -0
  78. package/dist/preview-server/get-files-in-public-folder.d.ts +2 -0
  79. package/dist/preview-server/get-files-in-public-folder.js +7 -0
  80. package/dist/preview-server/get-package-manager.d.ts +2 -2
  81. package/dist/preview-server/hot-middleware/strip-ansi.d.ts +1 -1
  82. package/dist/preview-server/live-events.d.ts +1 -1
  83. package/dist/preview-server/project-info.d.ts +1 -1
  84. package/dist/preview-server/public-folder.d.ts +12 -0
  85. package/dist/preview-server/public-folder.js +39 -0
  86. package/dist/preview-server/routes.d.ts +1 -1
  87. package/dist/preview-server/serve-static.d.ts +1 -1
  88. package/dist/preview-server/update-available.d.ts +1 -10
  89. package/dist/preview-server/write-files-definition-file.d.ts +2 -0
  90. package/dist/preview-server/write-files-definition-file.js +37 -0
  91. package/dist/preview.d.ts +1 -1
  92. package/dist/print-error.d.ts +1 -1
  93. package/dist/progress-bar.d.ts +10 -10
  94. package/dist/render.d.ts +1 -1
  95. package/dist/setup-cache.d.ts +1 -1
  96. package/dist/step.d.ts +1 -1
  97. package/dist/still.d.ts +1 -1
  98. package/dist/truthy.d.ts +1 -1
  99. package/dist/upgrade.d.ts +1 -1
  100. package/dist/user-passed-output-location.d.ts +2 -2
  101. package/dist/versions.d.ts +2 -2
  102. package/package.json +7 -7
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- declare type Options = {
2
+ type Options = {
3
3
  width?: number;
4
4
  height?: number;
5
5
  };
@@ -1,2 +1,2 @@
1
- export declare const ansiRegex: () => RegExp;
2
- export declare const stripAnsi: (str: string) => string;
1
+ export declare const ansiRegex: () => any;
2
+ export declare const stripAnsi: (str: string) => any;
@@ -1 +1 @@
1
- export declare const benchmarkCommand: (remotionRoot: string, args: string[]) => Promise<void>;
1
+ export declare const benchmarkCommand: (remotionRoot: string, args: string[]) => any;
@@ -1 +1 @@
1
- export declare const listCompositionsCommand: (remotionRoot: string, args: string[]) => Promise<void>;
1
+ export declare const listCompositionsCommand: (remotionRoot: string, args: string[]) => any;
@@ -1,9 +1,8 @@
1
- import type { OpenGlRenderer } from '@remotion/renderer';
2
1
  export declare const getChromiumDisableWebSecurity: () => boolean;
3
2
  export declare const setChromiumDisableWebSecurity: (should: boolean) => void;
4
3
  export declare const getIgnoreCertificateErrors: () => boolean;
5
4
  export declare const setChromiumIgnoreCertificateErrors: (should: boolean) => void;
6
- export declare const getChromiumOpenGlRenderer: () => "swangle" | "angle" | "egl" | "swiftshader" | null;
7
- export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void;
5
+ export declare const getChromiumOpenGlRenderer: () => any;
6
+ export declare const setChromiumOpenGlRenderer: (renderer: any) => void;
8
7
  export declare const getChromiumHeadlessMode: () => boolean;
9
8
  export declare const setChromiumHeadlessMode: (should: boolean) => void;
@@ -1,7 +1,4 @@
1
1
  import type { CodecOrUndefined } from '@remotion/renderer';
2
- declare const validLegacyFormats: readonly ["mp4", "png-sequence"];
3
- declare type LegacyFormat = typeof validLegacyFormats[number];
4
2
  export declare const setCodec: (newCodec: CodecOrUndefined) => void;
5
3
  export declare const getOutputCodecOrUndefined: () => CodecOrUndefined;
6
- export declare const setOutputFormat: (newLegacyFormat: LegacyFormat) => void;
7
- export {};
4
+ export declare const setOutputFormat: (newLegacyFormat: any) => void;
@@ -1,3 +1,3 @@
1
- export declare type Concurrency = number | null;
1
+ export type Concurrency = number | null;
2
2
  export declare const setConcurrency: (newConcurrency: Concurrency) => void;
3
3
  export declare const getConcurrency: () => number | null;
@@ -1,3 +1,2 @@
1
- import type { ImageFormat } from '@remotion/renderer';
2
- export declare const setImageFormat: (format: ImageFormat) => void;
3
- export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
1
+ export declare const setImageFormat: (format: any) => void;
2
+ export declare const getUserPreferredImageFormat: () => any;
@@ -7,11 +7,11 @@ export declare const Config: ConfigType;
7
7
  export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
8
8
  export declare const ConfigInternals: {
9
9
  getRange: () => import("@remotion/renderer").FrameRange | null;
10
- getOutputCodecOrUndefined: () => import("@remotion/renderer").CodecOrUndefined;
10
+ getOutputCodecOrUndefined: () => any;
11
11
  getCustomFfmpegExecutable: () => import("@remotion/renderer").FfmpegExecutable;
12
12
  getBrowser: () => import("@remotion/renderer").Browser | null;
13
- getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
14
- getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
13
+ getPixelFormat: () => any;
14
+ getProResProfile: () => any;
15
15
  getShouldOverwrite: ({ defaultValue, }: {
16
16
  defaultValue: boolean;
17
17
  }) => boolean;
@@ -22,7 +22,7 @@ export declare const ConfigInternals: {
22
22
  getChromiumDisableWebSecurity: () => boolean;
23
23
  getIgnoreCertificateErrors: () => boolean;
24
24
  getChromiumHeadlessMode: () => boolean;
25
- getChromiumOpenGlRenderer: () => "swangle" | "angle" | "egl" | "swiftshader" | null;
25
+ getChromiumOpenGlRenderer: () => any;
26
26
  getEveryNthFrame: () => number;
27
27
  getConcurrency: () => number | null;
28
28
  getCurrentPuppeteerTimeout: () => number;
@@ -30,7 +30,7 @@ export declare const ConfigInternals: {
30
30
  getStillFrame: () => number;
31
31
  getShouldOutputImageSequence: (frameRange: import("@remotion/renderer").FrameRange | null) => boolean;
32
32
  getDotEnvLocation: () => string | null;
33
- getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
33
+ getUserPreferredImageFormat: () => any;
34
34
  getWebpackOverrideFn: () => WebpackOverrideFn;
35
35
  getWebpackCaching: () => boolean;
36
36
  getOutputLocation: () => string | null;
@@ -1,3 +1,2 @@
1
- import type { LogLevel } from '@remotion/renderer';
2
- export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn";
3
- export declare const setLogLevel: (newLogLevel: LogLevel) => void;
1
+ export declare const getLogLevel: () => any;
2
+ export declare const setLogLevel: (newLogLevel: any) => void;
@@ -1,3 +1,3 @@
1
- export declare type Loop = number | null;
1
+ export type Loop = number | null;
2
2
  export declare const setNumberOfGifLoops: (newLoop: Loop | null) => void;
3
3
  export declare const getNumberOfGifLoops: () => Loop;
@@ -1,5 +1,5 @@
1
1
  import type { WebpackConfiguration } from '@remotion/bundler';
2
- export declare type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
2
+ export type WebpackOverrideFn = (currentConfiguration: WebpackConfiguration) => WebpackConfiguration;
3
3
  export declare const defaultOverrideFunction: WebpackOverrideFn;
4
4
  export declare const getWebpackOverrideFn: () => WebpackOverrideFn;
5
5
  export declare const overrideWebpackConfig: (fn: WebpackOverrideFn) => void;
@@ -1,3 +1,2 @@
1
- import type { PixelFormat } from '@remotion/renderer';
2
- export declare const setPixelFormat: (format: PixelFormat) => void;
3
- export declare const getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
1
+ export declare const setPixelFormat: (format: any) => void;
2
+ export declare const getPixelFormat: () => any;
@@ -1,3 +1,3 @@
1
- export declare type Scale = number;
1
+ export type Scale = number;
2
2
  export declare const setScale: (newScale: Scale) => void;
3
3
  export declare const getScale: () => number;
@@ -1,3 +1,3 @@
1
1
  import type { DownloadProgress } from './progress-bar';
2
2
  export declare const getFileSizeDownloadBar: (downloaded: number) => string;
3
- export declare const makeMultiDownloadProgress: (progresses: DownloadProgress[]) => string | null;
3
+ export declare const makeMultiDownloadProgress: (progresses: DownloadProgress[]) => any;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { TComposition } from 'remotion';
3
- export declare type CompositionSelectorItemType = {
3
+ export type CompositionSelectorItemType = {
4
4
  key: string;
5
5
  type: 'composition';
6
6
  composition: TComposition<unknown>;
@@ -1,5 +1,5 @@
1
1
  import type React from 'react';
2
- export declare const getCurrentCompositionFromUrl: () => string;
2
+ export declare const getCurrentCompositionFromUrl: () => any;
3
3
  export declare const persistCurrentFrame: (frame: number) => void;
4
- export declare const getFrameForComposition: (composition: string) => number;
4
+ export declare const getFrameForComposition: (composition: string) => any;
5
5
  export declare const FramePersistor: React.FC;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ComboboxValue } from '../NewComposition/ComboBox';
3
- export declare type MenuId = 'remotion' | 'file' | 'view' | 'tools' | 'help';
4
- export declare type Menu = {
3
+ export type MenuId = 'remotion' | 'file' | 'view' | 'tools' | 'help';
4
+ export type Menu = {
5
5
  id: MenuId;
6
6
  label: React.ReactNode;
7
7
  items: ComboboxValue[];
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { SubMenu } from '../NewComposition/ComboBox';
3
3
  export declare const MENU_SUBMENU_BUTTON_CLASS_NAME = "remotion-submenu-button";
4
- export declare type SubMenuActivated = false | 'with-mouse' | 'without-mouse';
4
+ export type SubMenuActivated = false | 'with-mouse' | 'without-mouse';
5
5
  export declare const MenuSubItem: React.FC<{
6
6
  label: React.ReactNode;
7
7
  id: string;
@@ -1 +1 @@
1
- export declare const getPortal: (i: number) => Element;
1
+ export declare const getPortal: (i: number) => any;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- declare type DividerItem = {
2
+ type DividerItem = {
3
3
  type: 'divider';
4
4
  id: string;
5
5
  };
6
- export declare type SubMenu = {
6
+ export type SubMenu = {
7
7
  preselectIndex: number | false;
8
8
  leaveLeftSpace: boolean;
9
9
  items: ComboboxValue[];
10
10
  };
11
- export declare type SelectionItem = {
11
+ export type SelectionItem = {
12
12
  type: 'item';
13
13
  id: string;
14
14
  label: React.ReactNode;
@@ -19,7 +19,7 @@ export declare type SelectionItem = {
19
19
  subMenu: SubMenu | null;
20
20
  quickSwitcherLabel: string | null;
21
21
  };
22
- export declare type ComboboxValue = DividerItem | SelectionItem;
22
+ export type ComboboxValue = DividerItem | SelectionItem;
23
23
  export declare const Combobox: React.FC<{
24
24
  values: ComboboxValue[];
25
25
  selectedId: string | number;
@@ -1,6 +1,6 @@
1
1
  import type { InputHTMLAttributes } from 'react';
2
2
  import React from 'react';
3
- declare type Props = InputHTMLAttributes<HTMLInputElement> & {
3
+ type Props = InputHTMLAttributes<HTMLInputElement> & {
4
4
  onValueChange: (newVal: number) => void;
5
5
  };
6
6
  export declare const InputDragger: React.FC<Props>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const getNewCompositionCode: ({ type, height, width, fps, durationInFrames, name, raw, }: {
3
2
  type: 'still' | 'composition';
4
3
  height: number;
@@ -7,4 +6,4 @@ export declare const getNewCompositionCode: ({ type, height, width, fps, duratio
7
6
  durationInFrames: number;
8
7
  name: string;
9
8
  raw: boolean;
10
- }) => string | (string | JSX.Element | (string | JSX.Element)[])[];
9
+ }) => any;
@@ -1 +1 @@
1
- export declare const aspectRatio: (width: number, height: number) => string;
1
+ export declare const aspectRatio: (width: number, height: number) => any;
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
- declare type TNotification = {
2
+ type TNotification = {
3
3
  id: string;
4
4
  content: React.ReactNode;
5
5
  created: number;
6
6
  duration: number;
7
7
  };
8
- declare type TNotificationCenter = {
8
+ type TNotificationCenter = {
9
9
  addNotification: (notification: TNotification) => void;
10
10
  };
11
11
  export declare const notificationCenter: React.RefObject<TNotificationCenter>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type QuickSwitcherMode = 'commands' | 'compositions' | 'docs';
2
+ export type QuickSwitcherMode = 'commands' | 'compositions' | 'docs';
3
3
  export declare const QuickSwitcherNoResults: React.FC<{
4
4
  query: string;
5
5
  mode: QuickSwitcherMode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type QuickSwitcherResultDetail = {
2
+ type QuickSwitcherResultDetail = {
3
3
  type: 'composition';
4
4
  compositionType: 'composition' | 'still';
5
5
  } | {
@@ -9,7 +9,7 @@ declare type QuickSwitcherResultDetail = {
9
9
  titleLine: string;
10
10
  subtitleLine: string;
11
11
  };
12
- export declare type TQuickSwitcherResult = {
12
+ export type TQuickSwitcherResult = {
13
13
  title: string;
14
14
  id: string;
15
15
  onSelected: () => void;
@@ -2,5 +2,5 @@ import type { PreviewSize } from '@remotion/player';
2
2
  import React from 'react';
3
3
  export declare const commonPreviewSizes: PreviewSize[];
4
4
  export declare const getPreviewSizeLabel: (previewSize: PreviewSize) => string;
5
- export declare const getUniqueSizes: (size: PreviewSize) => PreviewSize[];
5
+ export declare const getUniqueSizes: (size: PreviewSize) => any;
6
6
  export declare const SizeSelector: React.FC;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare const MAX_TIMELINE_TRACKS: number;
2
+ export declare const MAX_TIMELINE_TRACKS: any;
3
3
  export declare const MAX_TIMELINE_TRACKS_NOTICE_HEIGHT = 24;
4
4
  export declare const MaxTimelineTracksReached: React.FC;
@@ -5,7 +5,7 @@ export declare const canScrollTimelineIntoDirection: () => {
5
5
  export declare const getFrameWhileScrollingLeft: ({ durationInFrames, width, }: {
6
6
  durationInFrames: number;
7
7
  width: number;
8
- }) => number;
8
+ }) => any;
9
9
  export declare const isCursorInViewport: ({ frame, durationInFrames, }: {
10
10
  frame: number;
11
11
  durationInFrames: number;
@@ -29,13 +29,13 @@ export declare const getFrameIncrementFromWidth: (durationInFrames: number, widt
29
29
  export declare const getFrameWhileScrollingRight: ({ durationInFrames, width, }: {
30
30
  durationInFrames: number;
31
31
  width: number;
32
- }) => number;
32
+ }) => any;
33
33
  export declare const getFrameFromX: ({ clientX, durationInFrames, width, extrapolate, }: {
34
34
  clientX: number;
35
35
  durationInFrames: number;
36
36
  width: number;
37
37
  extrapolate: 'clamp' | 'extend';
38
- }) => number;
38
+ }) => any;
39
39
  export declare const zoomAndPreserveCursor: ({ oldZoom, newZoom, currentFrame, currentDurationInFrames, }: {
40
40
  oldZoom: number;
41
41
  newZoom: number;
@@ -1,9 +1,9 @@
1
- export declare type TimelineViewState = {
1
+ export type TimelineViewState = {
2
2
  collapsed: {
3
3
  [key: string]: boolean;
4
4
  };
5
5
  };
6
- export declare type TimelineActionState = {
6
+ export type TimelineActionState = {
7
7
  type: 'collapse';
8
8
  hash: string;
9
9
  } | {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { PackageManager } from '../../preview-server/get-package-manager';
3
- export declare type UpdateInfo = {
3
+ export type UpdateInfo = {
4
4
  currentVersion: string;
5
5
  latestVersion: string;
6
6
  updateAvailable: boolean;
@@ -1,4 +1,4 @@
1
1
  import type React from 'react';
2
2
  export declare const persistCurrentZoom: (zoom: number) => void;
3
- export declare const getZoomForComposition: (composition: string) => number;
3
+ export declare const getZoomForComposition: (composition: string) => any;
4
4
  export declare const ZoomPersistor: React.FC;
@@ -1,6 +1,6 @@
1
1
  import type { TSequence } from 'remotion';
2
2
  import type { TrackWithHash } from './get-timeline-sequence-sort-key';
3
- export declare type SequenceWithOverlap = {
3
+ export type SequenceWithOverlap = {
4
4
  sequence: TSequence;
5
5
  overlaps: TSequence[];
6
6
  };
@@ -9,8 +9,8 @@ export declare const getEffectiveTranslation: ({ canvasSize, scale, compositionH
9
9
  y: number;
10
10
  };
11
11
  }) => {
12
- x: number;
13
- y: number;
12
+ x: any;
13
+ y: any;
14
14
  };
15
15
  export declare const getCenterPointWhileScrolling: ({ size, clientX, clientY, compositionWidth, compositionHeight, scale, translation, }: {
16
16
  size: Size;
@@ -21,6 +21,6 @@ export declare const getCenterPointWhileScrolling: ({ size, clientX, clientY, co
21
21
  scale: number;
22
22
  translation: Translation;
23
23
  }) => {
24
- centerX: number;
25
- centerY: number;
24
+ centerX: any;
25
+ centerY: any;
26
26
  };
@@ -8,6 +8,6 @@ export declare const getTimelineSequenceLayout: ({ durationInFrames, startFrom,
8
8
  video: TComposition<unknown>;
9
9
  windowWidth: number;
10
10
  }) => {
11
- marginLeft: number;
12
- width: number;
11
+ marginLeft: any;
12
+ width: any;
13
13
  };
@@ -1,13 +1,13 @@
1
1
  import type { TSequence } from 'remotion';
2
- export declare type Track = {
2
+ export type Track = {
3
3
  sequence: TSequence;
4
4
  depth: number;
5
5
  };
6
- export declare type TrackWithHash = Track & {
6
+ export type TrackWithHash = Track & {
7
7
  hash: string;
8
8
  canCollapse: boolean;
9
9
  };
10
- export declare type TrackWithHashAndOriginalTimings = TrackWithHash & {
10
+ export type TrackWithHashAndOriginalTimings = TrackWithHash & {
11
11
  hash: string;
12
12
  cascadedStart: number;
13
13
  cascadedDuration: number;
@@ -1,5 +1,5 @@
1
1
  export declare const useIsStill: () => boolean;
2
2
  export declare const useDimensions: () => {
3
- width: number;
4
- height: number;
3
+ width: any;
4
+ height: any;
5
5
  } | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { KeyEventType } from '../state/keybindings';
2
3
  export declare const areKeyboardShortcutsDisabled: () => boolean;
3
4
  export declare const useKeybinding: () => {
@@ -1,7 +1,7 @@
1
1
  import type { Menu } from '../components/Menu/MenuItem';
2
2
  import type { TQuickSwitcherResult } from '../components/QuickSwitcher/QuickSwitcherResult';
3
3
  import type { ModalState } from '../state/modals';
4
- declare type Structure = Menu[];
4
+ type Structure = Menu[];
5
5
  export declare const useMenuStructure: (closeMenu: () => void) => Structure;
6
6
  export declare const makeSearchResults: (actions: Structure, setSelectedModal: (value: React.SetStateAction<ModalState | null>) => void) => TQuickSwitcherResult[];
7
7
  export {};
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type State = {
2
+ type State = {
3
3
  checkerboard: boolean;
4
4
  setCheckerboard: (cb: (prevState: boolean) => boolean) => void;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ExpandedFoldersState } from '../helpers/persist-open-folders';
3
- declare type TFolderContext = {
3
+ type TFolderContext = {
4
4
  foldersExpanded: ExpandedFoldersState;
5
5
  setFoldersExpanded: React.Dispatch<React.SetStateAction<ExpandedFoldersState>>;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type HighestZIndexContainer = {
2
+ type HighestZIndexContainer = {
3
3
  highestIndex: number;
4
4
  registerZIndex: (index: number) => void;
5
5
  unregisterZIndex: (index: number) => void;
@@ -1,9 +1,9 @@
1
1
  import type React from 'react';
2
- export declare type TimelineInOutContextValue = {
2
+ export type TimelineInOutContextValue = {
3
3
  inFrame: number | null;
4
4
  outFrame: number | null;
5
5
  };
6
- export declare type SetTimelineInOutContextValue = {
6
+ export type SetTimelineInOutContextValue = {
7
7
  setInAndOutFrames: (u: React.SetStateAction<TimelineInOutContextValue>) => void;
8
8
  };
9
9
  export declare const TimelineInOutContext: React.Context<TimelineInOutContextValue>;
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- export declare type KeyEventType = 'keydown' | 'keyup' | 'keypress';
3
- export declare type KeyListenerCallback = (e: KeyboardEvent) => void;
4
- export declare type RegisteredKeybinding = {
2
+ export type KeyEventType = 'keydown' | 'keyup' | 'keypress';
3
+ export type KeyListenerCallback = (e: KeyboardEvent) => void;
4
+ export type RegisteredKeybinding = {
5
5
  registeredFromPane: string;
6
6
  id: string;
7
7
  key: string;
8
8
  event: KeyEventType;
9
9
  callback: KeyListenerCallback;
10
10
  };
11
- export declare type KeybindingContextType = {
11
+ export type KeybindingContextType = {
12
12
  registerKeybinding: (binding: RegisteredKeybinding) => void;
13
13
  unregisterKeybinding: (binding: RegisteredKeybinding) => void;
14
14
  unregisterPane: (paneId: string) => void;
@@ -1,8 +1,8 @@
1
1
  import type React from 'react';
2
2
  import type { QuickSwitcherMode } from '../components/QuickSwitcher/NoResults';
3
3
  import type { UpdateInfo } from '../components/UpdateCheck';
4
- export declare type CompType = 'composition' | 'still';
5
- export declare type ModalState = {
4
+ export type CompType = 'composition' | 'still';
5
+ export type ModalState = {
6
6
  type: 'new-comp';
7
7
  compType: CompType;
8
8
  } | {
@@ -13,7 +13,7 @@ export declare type ModalState = {
13
13
  mode: QuickSwitcherMode;
14
14
  invocationTimestamp: number;
15
15
  };
16
- export declare type ModalContextType = {
16
+ export type ModalContextType = {
17
17
  selectedModal: ModalState | null;
18
18
  setSelectedModal: React.Dispatch<React.SetStateAction<ModalState | null>>;
19
19
  };
@@ -1,2 +1,2 @@
1
1
  export declare const persistPlaybackRate: (option: number) => void;
2
- export declare const loadPlaybackRate: () => number;
2
+ export declare const loadPlaybackRate: () => any;
@@ -1,6 +1,6 @@
1
1
  import type { PreviewSize } from '@remotion/player';
2
2
  import React from 'react';
3
- declare type PreviewSizeCtx = {
3
+ type PreviewSizeCtx = {
4
4
  size: PreviewSize;
5
5
  setSize: (cb: (oldSize: PreviewSize) => PreviewSize) => void;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type State = {
2
+ type State = {
3
3
  richTimeline: boolean;
4
4
  setRichTimeline: (cb: (prevState: boolean) => boolean) => void;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- export declare type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
3
- declare type Context = {
2
+ export type SidebarCollapsedState = 'collapsed' | 'expanded' | 'responsive';
3
+ type Context = {
4
4
  sidebarCollapsedState: SidebarCollapsedState;
5
5
  setSidebarCollapsedState: (newState: SidebarCollapsedState) => void;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare type TimelineRef = {
2
+ export type TimelineRef = {
3
3
  collapseAll: () => void;
4
4
  expandAll: () => void;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type ZIndex = {
2
+ type ZIndex = {
3
3
  currentIndex: number;
4
4
  };
5
5
  export declare const ZIndexContext: React.Context<ZIndex>;
@@ -1,10 +1,10 @@
1
- import type { BrowserExecutable, ChromiumOptions, Codec, FrameRange } from '@remotion/renderer';
2
- export declare const validateFfmepgCanUseCodec: (codec: Codec, remotionRoot: string) => Promise<void>;
1
+ import type { Codec } from '@remotion/renderer';
2
+ export declare const validateFfmepgCanUseCodec: (codec: any, remotionRoot: string) => any;
3
3
  export declare const getFinalCodec: (options: {
4
4
  downloadName: string | null;
5
5
  outName: string | null;
6
6
  }) => {
7
- codec: Codec;
7
+ codec: any;
8
8
  reason: string;
9
9
  };
10
10
  export declare const getAndValidateAbsoluteOutputFile: (relativeOutputLocation: string, overwrite: boolean) => string;
@@ -12,35 +12,4 @@ export declare const getCliOptions: (options: {
12
12
  isLambda: boolean;
13
13
  type: 'still' | 'series' | 'get-compositions';
14
14
  remotionRoot: string;
15
- }) => Promise<{
16
- puppeteerTimeout: number;
17
- concurrency: number | null;
18
- frameRange: FrameRange | null;
19
- shouldOutputImageSequence: boolean;
20
- inputProps: object;
21
- envVariables: Record<string, string>;
22
- quality: number | undefined;
23
- browser: import("@remotion/renderer").Browser;
24
- crf: import("@remotion/renderer").Crf | null;
25
- pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
26
- proResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
27
- everyNthFrame: number;
28
- numberOfGifLoops: import("./config/number-of-gif-loops").Loop;
29
- stillFrame: number;
30
- browserExecutable: BrowserExecutable;
31
- ffmpegExecutable: import("@remotion/renderer").FfmpegExecutable;
32
- ffprobeExecutable: import("@remotion/renderer").FfmpegExecutable;
33
- logLevel: "error" | "verbose" | "info" | "warn";
34
- scale: number;
35
- chromiumOptions: ChromiumOptions;
36
- overwrite: boolean;
37
- port: number | null;
38
- muted: boolean;
39
- enforceAudioTrack: boolean;
40
- publicDir: string | null;
41
- ffmpegOverride: import("@remotion/renderer").FfmpegOverrideFn;
42
- audioBitrate: string | null;
43
- videoBitrate: string | null;
44
- height: number | null;
45
- width: number | null;
46
- }>;
15
+ }) => unknown;
@@ -2,6 +2,6 @@ import type { TCompMetadata } from 'remotion';
2
2
  export declare const getCompositionId: (validCompositions: TCompMetadata[], args: string[]) => Promise<{
3
3
  compositionId: string;
4
4
  reason: string;
5
- config: TCompMetadata;
5
+ config: Pick<import("remotion").TComposition<unknown>, "height" | "width" | "id" | "fps" | "durationInFrames" | "defaultProps">;
6
6
  argsAfterComposition: string[];
7
7
  }>;
@@ -7,6 +7,6 @@ export declare const getCompositionWithDimensionOverride: ({ validCompositions,
7
7
  }) => Promise<{
8
8
  compositionId: string;
9
9
  reason: string;
10
- config: TCompMetadata;
10
+ config: Pick<import("remotion").TComposition<unknown>, "height" | "width" | "id" | "fps" | "durationInFrames" | "defaultProps">;
11
11
  argsAfterComposition: string[];
12
12
  }>;