UNPKG

remotion

Version:

Make videos programmatically

122 lines (121 loc) 5.2 kB
export type { ArtifactAsset, AudioOrVideoAsset, InlineAudioAsset, TRenderAsset, } from './CompositionManager'; export type { DownloadBehavior } from './download-behavior'; export { assertValidInterpolateEasingOption, interpolate } from './interpolate'; export type { EasingFunction, ExtrapolateType, InterpolateOptions, } from './interpolate'; export { random } from './random.js'; export type { RandomSeed } from './random.js'; export type { VideoConfig } from './video-config'; import { processColor } from './interpolate-colors'; import { truthy } from './truthy'; import { validateCodec } from './validation/validate-default-codec'; import { validateDimension } from './validation/validate-dimensions'; import { validateDurationInFrames } from './validation/validate-duration-in-frames'; import { validateFps } from './validation/validate-fps'; export declare const NoReactInternals: { processColor: typeof processColor; truthy: typeof truthy; validateFps: typeof validateFps; validateDimension: typeof validateDimension; validateDurationInFrames: typeof validateDurationInFrames; validateDefaultAndInputProps: (defaultProps: unknown, name: "defaultProps" | "inputProps", compositionId: string | null) => void; validateFrame: ({ allowFloats, durationInFrames, frame, }: { frame: number; durationInFrames: number; allowFloats: boolean; }) => void; serializeJSONWithSpecialTypes: ({ data, indent, staticBase, }: { data: Record<string, unknown>; indent: number | undefined; staticBase: string | null; }) => import("./input-props-serialization").SerializedJSONWithCustomFields; bundleName: string; bundleMapName: string; deserializeJSONWithSpecialTypes: <T = Record<string, unknown>>(data: string) => T; DELAY_RENDER_CALLSTACK_TOKEN: string; DELAY_RENDER_RETRY_TOKEN: string; DELAY_RENDER_CLEAR_TOKEN: string; DELAY_RENDER_ATTEMPT_TOKEN: string; getOffthreadVideoSource: ({ src, transparent, currentTime, toneMapped, }: { src: string; transparent: boolean; currentTime: number; toneMapped: boolean; }) => string; getExpectedMediaFrameUncorrected: ({ frame, playbackRate, startFrom, }: { frame: number; playbackRate: number; startFrom: number; }) => number; ENABLE_V5_BREAKING_CHANGES: false; MIN_NODE_VERSION: number; MIN_BUN_VERSION: string; colorNames: { [key: string]: number; }; DATE_TOKEN: string; FILE_TOKEN: string; validateCodec: typeof validateCodec; proResProfileOptions: readonly ["4444-xq", "4444", "hq", "standard", "light", "proxy"]; findPropsToDelete: ({ schema, key, value, }: { schema: import("./sequence-field-schema").SequenceSchema; key: string; value: unknown; }) => string[]; sequenceSchema: { readonly hidden: import("./sequence-field-schema").BooleanFieldSchema; readonly layout: { readonly type: "enum"; readonly default: "absolute-fill"; readonly description: "Layout"; readonly variants: { readonly 'absolute-fill': { readonly premountFor: { readonly type: "number"; readonly default: 0; readonly description: "Premount For"; readonly min: 0; readonly step: 1; }; readonly postmountFor: { readonly type: "hidden"; }; readonly styleWhilePremounted: { readonly type: "hidden"; }; readonly styleWhilePostmounted: { readonly type: "hidden"; }; readonly 'style.translate': { readonly type: "translate"; readonly step: 1; readonly default: "0px 0px"; readonly description: "Offset"; }; readonly 'style.scale': { readonly type: "number"; readonly min: 0.05; readonly max: 100; readonly step: 0.01; readonly default: 1; readonly description: "Scale"; }; readonly 'style.rotate': { readonly type: "rotation"; readonly step: 1; readonly default: "0deg"; readonly description: "Rotation"; }; readonly 'style.opacity': { readonly type: "number"; readonly min: 0; readonly max: 1; readonly step: 0.01; readonly default: 1; readonly description: "Opacity"; }; }; readonly none: {}; }; }; }; };