UNPKG

@remotion/studio

Version:

APIs for interacting with the Remotion Studio

23 lines (22 loc) 1.08 kB
import type { SequenceControls, SequenceFieldSchema } from 'remotion'; export declare const TIMELINE_PADDING = 16; export declare const TIMELINE_BORDER = 1; export declare const TIMELINE_ITEM_BORDER_BOTTOM = 1; export declare const TIMELINE_TRACK_EXPANDED_HEIGHT = 100; export declare const SCHEMA_FIELD_ROW_HEIGHT = 22; export declare const UNSUPPORTED_FIELD_ROW_HEIGHT = 22; export type SchemaFieldInfo = { key: string; description: string | undefined; typeName: string; supported: boolean; rowHeight: number; currentValue: unknown; fieldSchema: SequenceFieldSchema; }; export declare const getSchemaFields: (controls: SequenceControls | null) => SchemaFieldInfo[] | null; export declare const getExpandedTrackHeight: (controls: SequenceControls | null) => number; export declare const TIMELINE_LAYER_HEIGHT_VIDEO = 75; export declare const TIMELINE_LAYER_HEIGHT_IMAGE = 50; export declare const TIMELINE_LAYER_HEIGHT_AUDIO = 25; export declare const getTimelineLayerHeight: (type: "audio" | "image" | "other" | "sequence" | "video") => 25 | 50 | 75;