import { type CanvasKeyframeEasing } from '@remotion/sdk'; import type { CanUpdateSequencePropStatusKeyframed, DragOverrideValue, PropStatuses, SequencePropsSubscriptionKey, InteractivitySchema } from 'remotion'; import type { SequenceNodePathInfo, TimelineTrackData } from '../../helpers/get-timeline-sequence-sort-key'; import type { SetPropStatuses } from './save-sequence-prop'; import type { TimelineEasingSelection, TimelineSelection } from './TimelineSelection'; export type EasingSelection = TimelineEasingSelection; export type TimelineEasingValue = CanvasKeyframeEasing; export type SelectedEasingUpdate = { readonly type: 'sequence'; readonly fileName: string; readonly nodePath: SequencePropsSubscriptionKey; readonly nodePathInfo: SequenceNodePathInfo; readonly fieldKey: string; readonly schema: InteractivitySchema; readonly segmentIndex: number; readonly currentEasing: TimelineEasingValue; readonly propStatus: CanUpdateSequencePropStatusKeyframed; } | { readonly type: 'effect'; readonly fileName: string; readonly nodePath: SequencePropsSubscriptionKey; readonly nodePathInfo: SequenceNodePathInfo; readonly effectIndex: number; readonly fieldKey: string; readonly schema: InteractivitySchema; readonly segmentIndex: number; readonly currentEasing: TimelineEasingValue; readonly propStatus: CanUpdateSequencePropStatusKeyframed; }; export declare const getSelectedEasingUpdate: ({ selection, tracks, propStatuses, }: { selection: EasingSelection; tracks: readonly TimelineTrackData[]; propStatuses: PropStatuses; }) => SelectedEasingUpdate | null; export declare const getSelectedEasingUpdates: ({ selections, tracks, propStatuses, }: { readonly selections: readonly TimelineSelection[]; readonly tracks: readonly TimelineTrackData[]; readonly propStatuses: PropStatuses; }) => SelectedEasingUpdate[]; /** Previews an easing on the segment of a selected easing update. */ export declare const makeEasingDragOverride: ({ update, easing, }: { readonly update: SelectedEasingUpdate; readonly easing: TimelineEasingValue; }) => DragOverrideValue | null; export declare const getEasingSelections: (selections: readonly TimelineSelection[]) => EasingSelection[]; export declare const getTimelineEasingValueForSelection: ({ selection, tracks, propStatuses, }: { selection: EasingSelection; tracks: readonly TimelineTrackData[]; propStatuses: PropStatuses; }) => TimelineEasingValue | null; export declare const updateSelectedTimelineEasings: ({ selections, tracks, propStatuses, setPropStatuses, clientId, easing, }: { selections: readonly TimelineSelection[]; tracks: readonly TimelineTrackData[]; propStatuses: PropStatuses; setPropStatuses: SetPropStatuses; clientId: string; easing: TimelineEasingValue; }) => Promise | null;