import { type AnySchemaFieldInfo, type DragOverrides, type EffectSchemaFieldInfo, type InteractivitySchemaFieldInfo, type SchemaFieldGroup, type SchemaFieldGroupInfo, type PropStatuses, type SchemaFieldInfo, type SequenceControls, type SaveSequencePropSourceEdit } from '@remotion/studio-shared'; import { Internals } from 'remotion'; import type { GetDragOverrides, GetEffectDragOverrides, InteractivitySchema as InteractivitySchemaShape, RuntimeValueStore, TSequence } from 'remotion'; import type { GetIsExpanded } from '../components/ExpandedTracksProvider'; import type { SequenceNodePathInfo } from './get-timeline-sequence-sort-key'; export { SCHEMA_FIELD_GROUPS, getEffectFieldsToShow, getFieldsToShow, getSchemaFieldGroup, SCHEMA_FIELD_ROW_HEIGHT, } from '@remotion/studio-shared'; export type { AnySchemaFieldInfo, DragOverrides, EffectSchemaFieldInfo, InteractivitySchemaFieldInfo, PropStatuses, SchemaFieldGroup, SchemaFieldGroupInfo, SchemaFieldInfo, SequenceControls, }; 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 TREE_GROUP_ROW_HEIGHT = 22; export declare const EXPANDED_SECTION_PADDING_RIGHT = 10; export type TimelineFieldOnSave = (value: unknown, options?: { sourceEdit?: SaveSequencePropSourceEdit; }) => Promise; export type TimelineFieldOnDragEnd = (reason: 'commit' | 'cancel') => void; export type TimelineFieldOnDragValueChange = (value: unknown) => void; export type TimelineEffectGroupInfo = { readonly effectIndex: number; readonly effectSchema: InteractivitySchemaShape; readonly effects: TSequence['effects']; readonly documentationLink: string | null; }; export type TimelineTreeNode = { readonly kind: 'group'; readonly nodePathInfo: SequenceNodePathInfo; readonly label: string; readonly children: TimelineTreeNode[]; readonly effectInfo: TimelineEffectGroupInfo | null; } | { readonly kind: 'field'; readonly nodePathInfo: SequenceNodePathInfo; readonly label: string; readonly field: AnySchemaFieldInfo | null; readonly runtimeValueStore: RuntimeValueStore | null; }; export declare const buildTimelineTree: ({ sequence, nodePathInfo, getDragOverrides, getEffectDragOverrides, propStatuses, includeTextContent, includeSourceControls, includeInspectorOnlyFields, runtimeValues, pendingEffectDeletion, }: { pendingEffectDeletion: ReturnType; sequence: TSequence; nodePathInfo: SequenceNodePathInfo; getDragOverrides: GetDragOverrides; getEffectDragOverrides: GetEffectDragOverrides; propStatuses: PropStatuses; includeTextContent: boolean; includeSourceControls: boolean; includeInspectorOnlyFields: boolean; runtimeValues: Readonly> | null; }) => TimelineTreeNode[]; export type FlatTreeRow = { readonly node: TimelineTreeNode; readonly depth: number; }; export declare const flattenVisibleTreeNodes: ({ nodes, getIsExpanded, depth, }: { nodes: TimelineTreeNode[]; getIsExpanded: GetIsExpanded; depth?: number; }) => FlatTreeRow[]; export declare const getTreeRowHeight: (node: TimelineTreeNode) => number; export declare const getExpandedTrackHeight: ({ sequence, nodePathInfo, getIsExpanded, propStatuses, }: { sequence: TSequence; nodePathInfo: SequenceNodePathInfo; getIsExpanded: GetIsExpanded; propStatuses: PropStatuses; }) => number; export declare const TIMELINE_LAYER_FILMSTRIP_HEIGHT = 26; export declare const TIMELINE_VIDEO_INFO_WAVEFORM_HEIGHT = 19; export declare const TIMELINE_LAYER_HEIGHT_VIDEO: number; export declare const TIMELINE_LAYER_HEIGHT_AUDIO = 34; export declare const TIMELINE_LAYER_HEIGHT_IMAGE = 34; export declare const TIMELINE_LAYER_HEIGHT_DEFAULT = 21; export declare const TIMELINE_LIST_ITEM_ROW_HEIGHT = 21; export declare const getTimelineLayerHeight: (type: 'video' | 'image' | 'audio' | 'sequence' | 'other') => number;