import type { ReactNode } from "react"; import { TimelineClip } from "./TimelineClip"; import { getTimelineEditCapabilities } from "./timelineEditing"; import { CLIP_Y, TRACK_H } from "./timelineLayout"; import type { TimelineTheme } from "./timelineTheme"; import type { TimelineElement } from "../store/playerStore"; interface TimelineDragGhostProps { element: TimelineElement; position: { left: number; top: number }; pps: number; selectedElementId: string | null; hasCustomContent: boolean; theme: TimelineTheme; children: ReactNode; } export function TimelineDragGhost({ element, position, pps, selectedElementId, hasCustomContent, theme, children, }: TimelineDragGhostProps) { return (