addClip
addClip: (
trackId: string,
mediaFile: MediaFile,
startTime: number,
duration?: number,
) => void
addSection
addSection: (
name: string,
startTime: number,
duration: number,
realStartTime?: Date,
) => void
addTrack
addTrack: (trackType: TrackType, sectionId?: string, name?: string) => void clearError
clearError: () => void
clearHistory
clearHistory: () => void
clearSelection
clearSelection: () => void
closeProject
closeProject: () => void
copySelection
copySelection: () => void
createProject
createProject: (name: string, settings?: any) => void
currentTime
currentTime: number
cutSelection
cutSelection: () => void
isPlaying
isPlaying: boolean
isRecording
isRecording: boolean
isSaving
isSaving: boolean
lastAction
lastAction: string
moveClip
moveClip: (clipId: string, newTrackId: string, newStartTime: number) => void
paste
paste: (targetTrackId?: string, targetTime?: number) => void
removeClip
removeClip: (clipId: string) => void
removeSection
removeSection: (sectionId: string) => void
removeTrack
removeTrack: (trackId: string) => void
reorderTracks
reorderTracks: (trackIds: string[]) => void
saveProject
saveProject: () => void
seek
seek: (time: number) => void
selectClips
selectClips: (clipIds: string[], addToSelection?: boolean) => void
selectSections
selectSections: (sectionIds: string[], addToSelection?: boolean) => void
selectTracks
selectTracks: (trackIds: string[], addToSelection?: boolean) => void
setEditMode
setEditMode: (mode: "trim" | "select" | "cut" | "move") => void
setPlaybackRate
setPlaybackRate: (rate: number) => void
setScrollPosition: (x: number, y: number) => void
setTimeScale
setTimeScale: (scale: number) => void
splitClip
splitClip: (clipId: string, splitTime: number) => void
toggleSnap
toggleSnap: (snapMode: "none" | "grid" | "clips" | "markers") => void
trimClip
trimClip: (clipId: string, newStartTime: number, newDuration: number) => void
updateClip
updateClip: (clipId: string, updates: Partial<TimelineClip>) => void updateSection
updateSection: (sectionId: string, updates: Partial<TimelineSection>) => void updateTrack
updateTrack: (trackId: string, updates: Partial<TimelineTrack>) => void