@shotstack/shotstack-studio 1.5.1 → 1.6.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
@@ -50,6 +50,7 @@ export declare class Canvas {
50
50
  private minZoom;
51
51
  private maxZoom;
52
52
  private currentZoom;
53
+ private onTickBound;
53
54
  constructor(size: Size, edit: Edit);
54
55
  load(): Promise<void>;
55
56
  private setupTouchHandling;
@@ -63,6 +64,8 @@ export declare class Canvas {
63
64
  private configureStage;
64
65
  private onClick;
65
66
  private onBackgroundClick;
67
+ pauseTicker(): void;
68
+ resumeTicker(): void;
66
69
  dispose(): void;
67
70
  }
68
71
 
@@ -1361,6 +1364,8 @@ export declare class Edit extends Entity {
1361
1364
  getClipAt(trackIndex: number, clipIndex: number): Player | null;
1362
1365
  selectPlayer(player: Player): void;
1363
1366
  isPlayerSelected(player: Player): boolean;
1367
+ setExportMode(exporting: boolean): void;
1368
+ isInExportMode(): boolean;
1364
1369
  private setupIntentListeners;
1365
1370
  }
1366
1371
 
@@ -5418,19 +5423,23 @@ declare type Vector = {
5418
5423
  };
5419
5424
 
5420
5425
  export declare class VideoExporter {
5421
- private readonly ffmpeg;
5422
- private isReady;
5423
5426
  private readonly edit;
5424
- private readonly application;
5427
+ private readonly canvas;
5428
+ private readonly app;
5429
+ private isExporting;
5430
+ private videoProcessor;
5431
+ private audioProcessor;
5432
+ private progressUI;
5433
+ private exportCommand;
5425
5434
  constructor(edit: Edit, canvas: Canvas);
5426
- private init;
5427
5435
  export(filename?: string, fps?: number): Promise<void>;
5428
- private findAudioPlayers;
5429
- private searchContainerForPlayers;
5430
- private processAudioTrack;
5431
- private createProgressOverlay;
5432
- private updateProgressOverlay;
5433
- private removeProgressOverlay;
5436
+ private processFrames;
5437
+ private handleKeyDown;
5438
+ dispose(): void;
5439
+ private prepareConfig;
5440
+ private saveEditState;
5441
+ private restoreEditState;
5442
+ private isVideoPlayer;
5434
5443
  }
5435
5444
 
5436
5445
  declare class VisualClip extends Entity {