@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
28 lines (27 loc) • 1.36 kB
TypeScript
import type { BrowserExecutable, ChromeMode, ChromiumOptions, HeadlessBrowser, LogLevel, OnBrowserDownload, RemotionServer } from '@remotion/renderer';
import type { VideoConfig } from 'remotion';
export declare const getCompositionId: ({ args, compositionIdFromUi, serializedInputPropsWithCustomSchema, puppeteerInstance, envVariables, timeoutInMilliseconds, chromiumOptions, port, browserExecutable, serveUrlOrWebpackUrl, logLevel, indent, server, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, binariesDirectory, onBrowserDownload, chromeMode, }: {
args: (string | number)[];
compositionIdFromUi: string | null;
serializedInputPropsWithCustomSchema: string;
puppeteerInstance: HeadlessBrowser | undefined;
envVariables: Record<string, string>;
timeoutInMilliseconds: number;
chromiumOptions: ChromiumOptions;
port: number | null;
browserExecutable: BrowserExecutable;
serveUrlOrWebpackUrl: string;
logLevel: LogLevel;
indent: boolean;
server: RemotionServer;
offthreadVideoCacheSizeInBytes: number | null;
offthreadVideoThreads: number | null;
binariesDirectory: string | null;
onBrowserDownload: OnBrowserDownload;
chromeMode: ChromeMode;
}) => Promise<{
compositionId: string;
reason: string;
config: VideoConfig;
argsAfterComposition: (string | number)[];
}>;