import { TrackElement } from '@twick/timeline';
import { ElementColors } from '../../helpers/types';

export declare const TrackElementView: React.FC<{
    element: TrackElement;
    selectedItem: TrackElement | null;
    parentWidth: number;
    duration: number;
    nextStart: number | null;
    prevEnd: number;
    allowOverlap: boolean;
    onSelection: (element: TrackElement) => void;
    onDrag: ({ element, dragType, updates, }: {
        element: TrackElement;
        dragType: string;
        updates: {
            start: number;
            end: number;
        };
    }) => void;
    elementColors?: ElementColors;
}>;
export default TrackElementView;
