@remotion/cli
Version:
Control Remotion features using the `npx remotion` command
56 lines (55 loc) • 2.52 kB
TypeScript
import type { BundlingState, CopyingState } from '@remotion/studio-server';
import type { GitSource } from '@remotion/studio-shared';
export declare const bundleOnCliOrTakeServeUrl: ({ fullPath, remotionRoot, publicDir, onProgress, indentOutput, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, bufferStateDelayInMilliseconds, maxTimelineTracks, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
fullPath: string;
remotionRoot: string;
publicDir: string | null;
onProgress: (params: {
bundling: BundlingState;
copying: CopyingState;
}) => void;
indentOutput: boolean;
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
onDirectoryCreated: (path: string) => void;
quietProgress: boolean;
quietFlag: boolean;
outDir: string | null;
gitSource: GitSource | null;
bufferStateDelayInMilliseconds: number | null;
maxTimelineTracks: number | null;
publicPath: string | null;
audioLatencyHint: AudioContextLatencyCategory | null;
experimentalClientSideRenderingEnabled: boolean;
askAIEnabled: boolean;
keyboardShortcutsEnabled: boolean;
rspack: boolean;
shouldCache: boolean;
}) => Promise<{
urlOrBundle: string;
cleanup: () => void;
}>;
export declare const bundleOnCli: ({ fullPath, remotionRoot, publicDir, onProgressCallback, indent, logLevel, onDirectoryCreated, quietProgress, quietFlag, outDir, gitSource, maxTimelineTracks, bufferStateDelayInMilliseconds, publicPath, audioLatencyHint, experimentalClientSideRenderingEnabled, askAIEnabled, keyboardShortcutsEnabled, rspack, shouldCache, }: {
fullPath: string;
remotionRoot: string;
publicDir: string | null;
onProgressCallback: (params: {
bundling: BundlingState;
copying: CopyingState;
}) => void;
indent: boolean;
logLevel: "error" | "info" | "trace" | "verbose" | "warn";
onDirectoryCreated: (path: string) => void;
quietProgress: boolean;
quietFlag: boolean;
outDir: string | null;
gitSource: GitSource | null;
maxTimelineTracks: number | null;
bufferStateDelayInMilliseconds: number | null;
publicPath: string | null;
audioLatencyHint: AudioContextLatencyCategory | null;
experimentalClientSideRenderingEnabled: boolean;
keyboardShortcutsEnabled: boolean;
askAIEnabled: boolean;
rspack: boolean;
shouldCache: boolean;
}) => Promise<string>;