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

interface TrackBaseProps {
    duration: number;
    zoom: number;
    track: Track;
    trackWidth: number;
    selectedItem: TrackElement | null;
    allowOverlap?: boolean;
    onItemSelection: (element: TrackElement) => void;
    onDrag: ({ element, dragType, updates, }: {
        element: TrackElement;
        dragType: string;
        updates: {
            start: number;
            end: number;
        };
    }) => void;
    elementColors?: ElementColors;
}
declare const TrackBase: ({ duration, zoom, track, trackWidth, selectedItem, onItemSelection, onDrag, allowOverlap, elementColors, }: TrackBaseProps) => import("react/jsx-runtime").JSX.Element;
export default TrackBase;
