@shotstack/shotstack-studio 2.7.1 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -177,6 +177,10 @@ export declare class Edit {
177
177
  * Clear the error for a deleted clip and shift indices for remaining errors.
178
178
  */
179
179
  private clearClipErrorAndShift;
180
+ /**
181
+ * Whether the clip at `(trackIdx, clipIdx)` can be deleted.
182
+ */
183
+ canDeleteClip(trackIdx: number, clipIdx: number): boolean;
180
184
  deleteClip(trackIdx: number, clipIdx: number): Promise<void>;
181
185
  addTrack(trackIdx: number, track: Track): Promise<void>;
182
186
  /**
@@ -431,6 +435,7 @@ export declare class Timeline {
431
435
  private playheadGhost;
432
436
  private feedbackLayer;
433
437
  private interactionController;
438
+ private clipContextMenu;
434
439
  private resizeHandle;
435
440
  private animationFrameId;
436
441
  private isRenderLoopActive;
@@ -89,6 +89,10 @@ export declare class Edit {
89
89
  * Clear the error for a deleted clip and shift indices for remaining errors.
90
90
  */
91
91
  private clearClipErrorAndShift;
92
+ /**
93
+ * Whether the clip at `(trackIdx, clipIdx)` can be deleted.
94
+ */
95
+ canDeleteClip(trackIdx: number, clipIdx: number): boolean;
92
96
  deleteClip(trackIdx: number, clipIdx: number): Promise<void>;
93
97
  addTrack(trackIdx: number, track: Track): Promise<void>;
94
98
  /**