@shotstack/shotstack-studio 2.19.7 → 2.20.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.
@@ -526,6 +526,11 @@ declare type EventPayloadMap<TPayload = any> = Record<string, TPayload>;
526
526
 
527
527
  declare type GenerationModelCatalogueResponse = operations["getModels"]["responses"][200]["content"]["application/json"];
528
528
 
529
+ declare type GenerationSettingsHandler = (request: {
530
+ clipId: string;
531
+ model: string;
532
+ }) => void;
533
+
529
534
  /**
530
535
  * Thrown by mutation methods (addClip, addTrack, addFont, setFonts) when a
531
536
  * referenced asset/font URL fails preflight.
@@ -630,6 +635,8 @@ declare interface ReadonlyEventEmitter<TEventPayloadMap extends EventPayloadMap>
630
635
  off<K extends keyof TEventPayloadMap>(name: K, listener: Listener<TEventPayloadMap[K]>): void;
631
636
  }
632
637
 
638
+ export declare function registerGenerationSettings(edit: Edit, handler: GenerationSettingsHandler): () => void;
639
+
633
640
  /**
634
641
  * A number representing time in seconds.
635
642
  * Used at API/configuration boundaries where users specify timing.