ugcinc-render 1.8.71 → 1.8.73

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.
@@ -40,7 +40,7 @@ type FitMode = 'cover' | 'contain' | 'fill';
40
40
  /**
41
41
  * Segment type identifiers
42
42
  */
43
- type SegmentType = 'video' | 'image' | 'text' | 'audio' | 'editor' | 'sequence';
43
+ type SegmentType = 'video' | 'image' | 'text' | 'audio' | 'editor' | 'image-sequence' | 'video-sequence';
44
44
  /**
45
45
  * Font type identifiers
46
46
  */
@@ -518,36 +518,35 @@ interface VideoEditorTextSegment extends VideoEditorVisualSegment, TextStyleProp
518
518
  text?: string;
519
519
  }
520
520
  /**
521
- * Item in a media sequence
521
+ * Image sequence segment (UI) - plays an array of images sequentially
522
+ *
523
+ * Does not support overlays.
522
524
  */
523
- interface VideoEditorMediaSequenceItem {
524
- /** URL of the media file */
525
- url: string;
526
- /** Type of media */
527
- type: 'image' | 'video';
528
- /** Duration in milliseconds - optional, uses segment's defaultDuration if not provided */
529
- duration?: number;
525
+ interface VideoEditorImageSequenceSegment extends VideoEditorVisualSegment {
526
+ type: 'image-sequence';
527
+ /** UI-only: reference to input array of image URLs - resolved to items before rendering */
528
+ inputRef?: string;
529
+ /** Duration per image in milliseconds */
530
+ defaultDuration: number;
531
+ /** How media fits in bounds */
532
+ fit?: FitMode;
530
533
  }
531
534
  /**
532
- * Sequence segment (UI) - plays an array of images/videos sequentially
535
+ * Video sequence segment (UI) - plays an array of videos sequentially
533
536
  *
534
537
  * Does not support overlays.
535
538
  */
536
- interface VideoEditorSequenceSegment extends VideoEditorVisualSegment {
537
- type: 'sequence';
538
- /** UI-only: reference to input array - resolved to items before rendering */
539
+ interface VideoEditorVideoSequenceSegment extends VideoEditorVisualSegment {
540
+ type: 'video-sequence';
541
+ /** UI-only: reference to input array of video URLs - resolved to items before rendering */
539
542
  inputRef?: string;
540
- /** Default duration per item in milliseconds */
541
- defaultDuration: number;
542
543
  /** How media fits in bounds */
543
544
  fit?: FitMode;
544
- /** UI-only: preview items for displaying in editor */
545
- items?: VideoEditorMediaSequenceItem[];
546
545
  }
547
546
  /**
548
547
  * Union of all video editor segment types
549
548
  */
550
- type VideoEditorSegment = VideoEditorVideoSegment | VideoEditorAudioSegment | VideoEditorImageSegment | VideoEditorTextSegment | VideoEditorSequenceSegment;
549
+ type VideoEditorSegment = VideoEditorVideoSegment | VideoEditorAudioSegment | VideoEditorImageSegment | VideoEditorTextSegment | VideoEditorImageSequenceSegment | VideoEditorVideoSequenceSegment;
551
550
  /**
552
551
  * Video editor channel
553
552
  */
@@ -1147,4 +1146,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1147
1146
  */
1148
1147
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1149
1148
 
1150
- export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, isSegmentVisibleAtTime as aA, calculateEstimatedDuration as aB, calculateTimelineContentEnd as aC, formatTime as aD, parseTime as aE, generateSegmentId as aF, generateOverlayId as aG, CAPTION_PRESETS as aH, DEFAULT_CAPTION_STYLE as aI, resolveCaptionStyle as aJ, getCaptionPresetNames as aK, isValidCaptionPreset as aL, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, resolveElementPositions as an, calculateAutoWidthDimensions as ao, canSetAsReference as ap, getDependentElements as aq, getReferenceElementX as ar, getReferenceElementY as as, type PositionResolutionError as at, calculateCropBounds as au, isDynamicCropEnabled as av, defaultOffset as aw, getBaseSegments as ax, getOverlays as ay, getSegmentTimelinePosition as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorMediaSequenceItem as y, type VideoEditorSequenceSegment as z };
1149
+ export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, isSegmentVisibleAtTime as aA, calculateEstimatedDuration as aB, calculateTimelineContentEnd as aC, formatTime as aD, parseTime as aE, generateSegmentId as aF, generateOverlayId as aG, CAPTION_PRESETS as aH, DEFAULT_CAPTION_STYLE as aI, resolveCaptionStyle as aJ, getCaptionPresetNames as aK, isValidCaptionPreset as aL, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, resolveElementPositions as an, calculateAutoWidthDimensions as ao, canSetAsReference as ap, getDependentElements as aq, getReferenceElementX as ar, getReferenceElementY as as, type PositionResolutionError as at, calculateCropBounds as au, isDynamicCropEnabled as av, defaultOffset as aw, getBaseSegments as ax, getOverlays as ay, getSegmentTimelinePosition as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorImageSequenceSegment as y, type VideoEditorVideoSequenceSegment as z };
@@ -40,7 +40,7 @@ type FitMode = 'cover' | 'contain' | 'fill';
40
40
  /**
41
41
  * Segment type identifiers
42
42
  */
43
- type SegmentType = 'video' | 'image' | 'text' | 'audio' | 'editor' | 'sequence';
43
+ type SegmentType = 'video' | 'image' | 'text' | 'audio' | 'editor' | 'image-sequence' | 'video-sequence';
44
44
  /**
45
45
  * Font type identifiers
46
46
  */
@@ -518,36 +518,35 @@ interface VideoEditorTextSegment extends VideoEditorVisualSegment, TextStyleProp
518
518
  text?: string;
519
519
  }
520
520
  /**
521
- * Item in a media sequence
521
+ * Image sequence segment (UI) - plays an array of images sequentially
522
+ *
523
+ * Does not support overlays.
522
524
  */
523
- interface VideoEditorMediaSequenceItem {
524
- /** URL of the media file */
525
- url: string;
526
- /** Type of media */
527
- type: 'image' | 'video';
528
- /** Duration in milliseconds - optional, uses segment's defaultDuration if not provided */
529
- duration?: number;
525
+ interface VideoEditorImageSequenceSegment extends VideoEditorVisualSegment {
526
+ type: 'image-sequence';
527
+ /** UI-only: reference to input array of image URLs - resolved to items before rendering */
528
+ inputRef?: string;
529
+ /** Duration per image in milliseconds */
530
+ defaultDuration: number;
531
+ /** How media fits in bounds */
532
+ fit?: FitMode;
530
533
  }
531
534
  /**
532
- * Sequence segment (UI) - plays an array of images/videos sequentially
535
+ * Video sequence segment (UI) - plays an array of videos sequentially
533
536
  *
534
537
  * Does not support overlays.
535
538
  */
536
- interface VideoEditorSequenceSegment extends VideoEditorVisualSegment {
537
- type: 'sequence';
538
- /** UI-only: reference to input array - resolved to items before rendering */
539
+ interface VideoEditorVideoSequenceSegment extends VideoEditorVisualSegment {
540
+ type: 'video-sequence';
541
+ /** UI-only: reference to input array of video URLs - resolved to items before rendering */
539
542
  inputRef?: string;
540
- /** Default duration per item in milliseconds */
541
- defaultDuration: number;
542
543
  /** How media fits in bounds */
543
544
  fit?: FitMode;
544
- /** UI-only: preview items for displaying in editor */
545
- items?: VideoEditorMediaSequenceItem[];
546
545
  }
547
546
  /**
548
547
  * Union of all video editor segment types
549
548
  */
550
- type VideoEditorSegment = VideoEditorVideoSegment | VideoEditorAudioSegment | VideoEditorImageSegment | VideoEditorTextSegment | VideoEditorSequenceSegment;
549
+ type VideoEditorSegment = VideoEditorVideoSegment | VideoEditorAudioSegment | VideoEditorImageSegment | VideoEditorTextSegment | VideoEditorImageSequenceSegment | VideoEditorVideoSequenceSegment;
551
550
  /**
552
551
  * Video editor channel
553
552
  */
@@ -1147,4 +1146,4 @@ declare function getCaptionPresetNames(): CaptionPreset[];
1147
1146
  */
1148
1147
  declare function isValidCaptionPreset(name: string): name is CaptionPreset;
1149
1148
 
1150
- export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, isSegmentVisibleAtTime as aA, calculateEstimatedDuration as aB, calculateTimelineContentEnd as aC, formatTime as aD, parseTime as aE, generateSegmentId as aF, generateOverlayId as aG, CAPTION_PRESETS as aH, DEFAULT_CAPTION_STYLE as aI, resolveCaptionStyle as aJ, getCaptionPresetNames as aK, isValidCaptionPreset as aL, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, resolveElementPositions as an, calculateAutoWidthDimensions as ao, canSetAsReference as ap, getDependentElements as aq, getReferenceElementX as ar, getReferenceElementY as as, type PositionResolutionError as at, calculateCropBounds as au, isDynamicCropEnabled as av, defaultOffset as aw, getBaseSegments as ax, getOverlays as ay, getSegmentTimelinePosition as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorMediaSequenceItem as y, type VideoEditorSequenceSegment as z };
1149
+ export { SCREENSHOT_ANIMATION_DEFAULTS as $, type AutoCaptionCompositionProps as A, type BorderRadiusConfig as B, type CaptionOverlayProps as C, type DynamicCropConfig as D, type VideoEditorSegment as E, type FitMode as F, type VideoEditorChannel as G, type Hyphenation as H, type ImageEditorElement as I, type VideoEditorNodeConfig as J, type SegmentTimelinePosition as K, type CropBoundary as L, type CropAxisConfig as M, type CropBounds as N, type CaptionWord as O, type PositionResolutionResult as P, type CaptionPage as Q, type RelativePositionConfigX as R, type SegmentType as S, type TimeValue as T, type CaptionPreset as U, type VerticalAlignment as V, type WordBreak as W, type CaptionPosition as X, type CaptionFontWeight as Y, type CaptionStyle as Z, type ScreenshotAnimationConfig as _, type RelativePositionConfigY as a, calculateScreenshotAnimationDuration as a0, FONT_FAMILIES as a1, APPLE_EMOJI_FONT as a2, getFontFamily as a3, buildFontString as a4, FONT_URLS as a5, preloadFonts as a6, areFontsLoaded as a7, debugFontStatus as a8, calculateFitDimensions as a9, isSegmentVisibleAtTime as aA, calculateEstimatedDuration as aB, calculateTimelineContentEnd as aC, formatTime as aD, parseTime as aE, generateSegmentId as aF, generateOverlayId as aG, CAPTION_PRESETS as aH, DEFAULT_CAPTION_STYLE as aI, resolveCaptionStyle as aJ, getCaptionPresetNames as aK, isValidCaptionPreset as aL, type FitDimensions as aa, TEXT_DEFAULTS as ab, IMAGE_DEFAULTS as ac, VIDEO_DEFAULTS as ad, VISUAL_DEFAULTS as ae, applyTextDefaults as af, applyImageDefaults as ag, applyVideoDefaults as ah, wrapText as ai, calculateLineWidth as aj, getBorderRadii as ak, parseHexColor as al, hexToRgba as am, resolveElementPositions as an, calculateAutoWidthDimensions as ao, canSetAsReference as ap, getDependentElements as aq, getReferenceElementX as ar, getReferenceElementY as as, type PositionResolutionError as at, calculateCropBounds as au, isDynamicCropEnabled as av, defaultOffset as aw, getBaseSegments as ax, getOverlays as ay, getSegmentTimelinePosition as az, type TextStyleProperties as b, type ScreenshotAnimationProps as c, type FontWeight as d, type FontType as e, type TextAlignment as f, type TextDirection as g, type TextWrap as h, type TextOverflow as i, type VerticalAnchor as j, type HorizontalAnchor as k, type HorizontalSelfAnchor as l, type VerticalSelfAnchor as m, type ImageEditorNodeConfig as n, type DimensionPresetKey as o, type DimensionPreset as p, DIMENSION_PRESETS as q, type TimeMode as r, type VideoEditorBaseSegment as s, type VideoEditorVisualSegment as t, type VideoEditorVideoSegment as u, type VideoEditorAudioSegment as v, type VideoEditorImageSegment as w, type VideoEditorTextSegment as x, type VideoEditorImageSequenceSegment as y, type VideoEditorVideoSequenceSegment as z };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-CYL6OV6o.mjs';
2
- export { a2 as APPLE_EMOJI_FONT, aH as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aI as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, at as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorMediaSequenceItem, J as VideoEditorNodeConfig, E as VideoEditorSegment, z as VideoEditorSequenceSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ao as calculateAutoWidthDimensions, au as calculateCropBounds, aB as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aC as calculateTimelineContentEnd, ap as canSetAsReference, a8 as debugFontStatus, aw as defaultOffset, aD as formatTime, aG as generateOverlayId, aF as generateSegmentId, ax as getBaseSegments, ak as getBorderRadii, aK as getCaptionPresetNames, aq as getDependentElements, a3 as getFontFamily, ay as getOverlays, ar as getReferenceElementX, as as getReferenceElementY, az as getSegmentTimelinePosition, am as hexToRgba, av as isDynamicCropEnabled, aA as isSegmentVisibleAtTime, aL as isValidCaptionPreset, al as parseHexColor, aE as parseTime, a6 as preloadFonts, aJ as resolveCaptionStyle, an as resolveElementPositions, ai as wrapText } from './index-CYL6OV6o.mjs';
1
+ import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-Be_MW5c-.mjs';
2
+ export { a2 as APPLE_EMOJI_FONT, aH as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aI as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, at as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorImageSequenceSegment, J as VideoEditorNodeConfig, E as VideoEditorSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, z as VideoEditorVideoSequenceSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ao as calculateAutoWidthDimensions, au as calculateCropBounds, aB as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aC as calculateTimelineContentEnd, ap as canSetAsReference, a8 as debugFontStatus, aw as defaultOffset, aD as formatTime, aG as generateOverlayId, aF as generateSegmentId, ax as getBaseSegments, ak as getBorderRadii, aK as getCaptionPresetNames, aq as getDependentElements, a3 as getFontFamily, ay as getOverlays, ar as getReferenceElementX, as as getReferenceElementY, az as getSegmentTimelinePosition, am as hexToRgba, av as isDynamicCropEnabled, aA as isSegmentVisibleAtTime, aL as isValidCaptionPreset, al as parseHexColor, aE as parseTime, a6 as preloadFonts, aJ as resolveCaptionStyle, an as resolveElementPositions, ai as wrapText } from './index-Be_MW5c-.mjs';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
 
@@ -40,10 +40,10 @@ interface BaseSegment {
40
40
  fadeIn?: number;
41
41
  }
42
42
  /**
43
- * Visual segment properties (video, image, text, sequence)
43
+ * Visual segment properties (video, image, text, image-sequence, video-sequence)
44
44
  */
45
45
  interface VisualSegment extends BaseSegment {
46
- type: 'video' | 'image' | 'text' | 'sequence';
46
+ type: 'video' | 'image' | 'text' | 'image-sequence' | 'video-sequence';
47
47
  /** Horizontal position from left edge in pixels */
48
48
  xOffset: number;
49
49
  /** Vertical position from top edge in pixels */
@@ -116,41 +116,47 @@ interface AudioSegment extends BaseSegment {
116
116
  speed?: number;
117
117
  }
118
118
  /**
119
- * Individual item in a media sequence
119
+ * Image sequence segment - plays an array of images sequentially
120
+ *
121
+ * Accepts an array of image URLs at runtime, each image is displayed
122
+ * for the specified duration one after another using the segment's visual properties.
123
+ * Does not support overlays.
120
124
  */
121
- interface MediaSequenceItem {
122
- /** URL of the media file */
123
- url: string;
124
- /** Type of media */
125
- type: 'image' | 'video';
126
- /** Duration in milliseconds - optional, uses segment's defaultDuration if not provided */
127
- duration?: number;
125
+ interface ImageSequenceSegment extends VisualSegment {
126
+ type: 'image-sequence';
127
+ source: '';
128
+ /** Duration per image in milliseconds */
129
+ defaultDuration: number;
130
+ /** How media fits in bounds: cover (fill+crop), contain (fit+letterbox), fill (stretch) (default: 'cover') */
131
+ fit?: FitMode;
132
+ /** The image URLs - populated at runtime from input port */
133
+ items?: string[];
128
134
  }
129
135
  /**
130
- * Sequence segment - plays an array of images/videos sequentially
136
+ * Video sequence segment - plays an array of videos sequentially
131
137
  *
132
- * Accepts an array of MediaSequenceItem at runtime, each item is displayed
138
+ * Accepts an array of video URLs at runtime, each video plays for its full duration
133
139
  * one after another using the segment's visual properties.
134
140
  * Does not support overlays.
135
141
  */
136
- interface SequenceSegment extends VisualSegment {
137
- type: 'sequence';
142
+ interface VideoSequenceSegment extends VisualSegment {
143
+ type: 'video-sequence';
138
144
  source: '';
139
- /** Default duration per item in milliseconds (used for images and as fallback for videos) */
140
- defaultDuration: number;
141
145
  /** How media fits in bounds: cover (fill+crop), contain (fit+letterbox), fill (stretch) (default: 'cover') */
142
146
  fit?: FitMode;
143
- /** The sequence items - populated at runtime from input port */
144
- items?: MediaSequenceItem[];
147
+ /** The video URLs - populated at runtime from input port */
148
+ items?: string[];
149
+ /** Video durations in milliseconds - populated at runtime, parallel array to items */
150
+ durations?: number[];
145
151
  }
146
152
  /**
147
153
  * Union type for all segment types
148
154
  */
149
- type Segment = VideoSegment | ImageSegment | TextSegment | AudioSegment | SequenceSegment;
155
+ type Segment = VideoSegment | ImageSegment | TextSegment | AudioSegment | ImageSequenceSegment | VideoSequenceSegment;
150
156
  /**
151
157
  * Union type for visual segments only (for rendering)
152
158
  */
153
- type VisualSegmentUnion = VideoSegment | ImageSegment | TextSegment | SequenceSegment;
159
+ type VisualSegmentUnion = VideoSegment | ImageSegment | TextSegment | ImageSequenceSegment | VideoSequenceSegment;
154
160
  /**
155
161
  * Static segments (for image output - no video/audio)
156
162
  */
@@ -200,7 +206,7 @@ interface EditorConfig extends BaseEditorConfig {
200
206
  * Supports all segment types including video and audio
201
207
  */
202
208
  interface VideoEditorConfig extends BaseEditorConfig {
203
- channels: Channel<VideoSegment | ImageSegment | TextSegment | AudioSegment | SequenceSegment>[];
209
+ channels: Channel<VideoSegment | ImageSegment | TextSegment | AudioSegment | ImageSequenceSegment | VideoSequenceSegment>[];
204
210
  /** Dynamic crop configuration (optional) */
205
211
  dynamicCrop?: DynamicCropConfig;
206
212
  }
@@ -1160,4 +1166,4 @@ declare function useResolvedPositions(elements: ImageEditorElement[], textValues
1160
1166
 
1161
1167
  declare const RenderRoot: React.FC;
1162
1168
 
1163
- export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, type IgTheme, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, InstagramDmComposition, type InstagramDmCompositionProps, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type MediaSequenceItem, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SequenceSegment, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions };
1169
+ export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, type IgTheme, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-CYL6OV6o.js';
2
- export { a2 as APPLE_EMOJI_FONT, aH as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aI as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, at as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorMediaSequenceItem, J as VideoEditorNodeConfig, E as VideoEditorSegment, z as VideoEditorSequenceSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ao as calculateAutoWidthDimensions, au as calculateCropBounds, aB as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aC as calculateTimelineContentEnd, ap as canSetAsReference, a8 as debugFontStatus, aw as defaultOffset, aD as formatTime, aG as generateOverlayId, aF as generateSegmentId, ax as getBaseSegments, ak as getBorderRadii, aK as getCaptionPresetNames, aq as getDependentElements, a3 as getFontFamily, ay as getOverlays, ar as getReferenceElementX, as as getReferenceElementY, az as getSegmentTimelinePosition, am as hexToRgba, av as isDynamicCropEnabled, aA as isSegmentVisibleAtTime, aL as isValidCaptionPreset, al as parseHexColor, aE as parseTime, a6 as preloadFonts, aJ as resolveCaptionStyle, an as resolveElementPositions, ai as wrapText } from './index-CYL6OV6o.js';
1
+ import { S as SegmentType, T as TimeValue, R as RelativePositionConfigX, a as RelativePositionConfigY, F as FitMode, B as BorderRadiusConfig, b as TextStyleProperties, D as DynamicCropConfig, I as ImageEditorElement, A as AutoCaptionCompositionProps, c as ScreenshotAnimationProps, d as FontWeight, C as CaptionOverlayProps, P as PositionResolutionResult } from './index-Be_MW5c-.js';
2
+ export { a2 as APPLE_EMOJI_FONT, aH as CAPTION_PRESETS, Y as CaptionFontWeight, Q as CaptionPage, X as CaptionPosition, U as CaptionPreset, Z as CaptionStyle, O as CaptionWord, M as CropAxisConfig, L as CropBoundary, N as CropBounds, aI as DEFAULT_CAPTION_STYLE, q as DIMENSION_PRESETS, p as DimensionPreset, o as DimensionPresetKey, a1 as FONT_FAMILIES, a5 as FONT_URLS, aa as FitDimensions, e as FontType, k as HorizontalAnchor, l as HorizontalSelfAnchor, H as Hyphenation, ac as IMAGE_DEFAULTS, n as ImageEditorNodeConfig, at as PositionResolutionError, $ as SCREENSHOT_ANIMATION_DEFAULTS, _ as ScreenshotAnimationConfig, K as SegmentTimelinePosition, ab as TEXT_DEFAULTS, f as TextAlignment, g as TextDirection, i as TextOverflow, h as TextWrap, r as TimeMode, ad as VIDEO_DEFAULTS, ae as VISUAL_DEFAULTS, V as VerticalAlignment, j as VerticalAnchor, m as VerticalSelfAnchor, v as VideoEditorAudioSegment, s as VideoEditorBaseSegment, G as VideoEditorChannel, w as VideoEditorImageSegment, y as VideoEditorImageSequenceSegment, J as VideoEditorNodeConfig, E as VideoEditorSegment, x as VideoEditorTextSegment, u as VideoEditorVideoSegment, z as VideoEditorVideoSequenceSegment, t as VideoEditorVisualSegment, W as WordBreak, ag as applyImageDefaults, af as applyTextDefaults, ah as applyVideoDefaults, a7 as areFontsLoaded, a4 as buildFontString, ao as calculateAutoWidthDimensions, au as calculateCropBounds, aB as calculateEstimatedDuration, a9 as calculateFitDimensions, aj as calculateLineWidth, a0 as calculateScreenshotAnimationDuration, aC as calculateTimelineContentEnd, ap as canSetAsReference, a8 as debugFontStatus, aw as defaultOffset, aD as formatTime, aG as generateOverlayId, aF as generateSegmentId, ax as getBaseSegments, ak as getBorderRadii, aK as getCaptionPresetNames, aq as getDependentElements, a3 as getFontFamily, ay as getOverlays, ar as getReferenceElementX, as as getReferenceElementY, az as getSegmentTimelinePosition, am as hexToRgba, av as isDynamicCropEnabled, aA as isSegmentVisibleAtTime, aL as isValidCaptionPreset, al as parseHexColor, aE as parseTime, a6 as preloadFonts, aJ as resolveCaptionStyle, an as resolveElementPositions, ai as wrapText } from './index-Be_MW5c-.js';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React from 'react';
5
5
 
@@ -40,10 +40,10 @@ interface BaseSegment {
40
40
  fadeIn?: number;
41
41
  }
42
42
  /**
43
- * Visual segment properties (video, image, text, sequence)
43
+ * Visual segment properties (video, image, text, image-sequence, video-sequence)
44
44
  */
45
45
  interface VisualSegment extends BaseSegment {
46
- type: 'video' | 'image' | 'text' | 'sequence';
46
+ type: 'video' | 'image' | 'text' | 'image-sequence' | 'video-sequence';
47
47
  /** Horizontal position from left edge in pixels */
48
48
  xOffset: number;
49
49
  /** Vertical position from top edge in pixels */
@@ -116,41 +116,47 @@ interface AudioSegment extends BaseSegment {
116
116
  speed?: number;
117
117
  }
118
118
  /**
119
- * Individual item in a media sequence
119
+ * Image sequence segment - plays an array of images sequentially
120
+ *
121
+ * Accepts an array of image URLs at runtime, each image is displayed
122
+ * for the specified duration one after another using the segment's visual properties.
123
+ * Does not support overlays.
120
124
  */
121
- interface MediaSequenceItem {
122
- /** URL of the media file */
123
- url: string;
124
- /** Type of media */
125
- type: 'image' | 'video';
126
- /** Duration in milliseconds - optional, uses segment's defaultDuration if not provided */
127
- duration?: number;
125
+ interface ImageSequenceSegment extends VisualSegment {
126
+ type: 'image-sequence';
127
+ source: '';
128
+ /** Duration per image in milliseconds */
129
+ defaultDuration: number;
130
+ /** How media fits in bounds: cover (fill+crop), contain (fit+letterbox), fill (stretch) (default: 'cover') */
131
+ fit?: FitMode;
132
+ /** The image URLs - populated at runtime from input port */
133
+ items?: string[];
128
134
  }
129
135
  /**
130
- * Sequence segment - plays an array of images/videos sequentially
136
+ * Video sequence segment - plays an array of videos sequentially
131
137
  *
132
- * Accepts an array of MediaSequenceItem at runtime, each item is displayed
138
+ * Accepts an array of video URLs at runtime, each video plays for its full duration
133
139
  * one after another using the segment's visual properties.
134
140
  * Does not support overlays.
135
141
  */
136
- interface SequenceSegment extends VisualSegment {
137
- type: 'sequence';
142
+ interface VideoSequenceSegment extends VisualSegment {
143
+ type: 'video-sequence';
138
144
  source: '';
139
- /** Default duration per item in milliseconds (used for images and as fallback for videos) */
140
- defaultDuration: number;
141
145
  /** How media fits in bounds: cover (fill+crop), contain (fit+letterbox), fill (stretch) (default: 'cover') */
142
146
  fit?: FitMode;
143
- /** The sequence items - populated at runtime from input port */
144
- items?: MediaSequenceItem[];
147
+ /** The video URLs - populated at runtime from input port */
148
+ items?: string[];
149
+ /** Video durations in milliseconds - populated at runtime, parallel array to items */
150
+ durations?: number[];
145
151
  }
146
152
  /**
147
153
  * Union type for all segment types
148
154
  */
149
- type Segment = VideoSegment | ImageSegment | TextSegment | AudioSegment | SequenceSegment;
155
+ type Segment = VideoSegment | ImageSegment | TextSegment | AudioSegment | ImageSequenceSegment | VideoSequenceSegment;
150
156
  /**
151
157
  * Union type for visual segments only (for rendering)
152
158
  */
153
- type VisualSegmentUnion = VideoSegment | ImageSegment | TextSegment | SequenceSegment;
159
+ type VisualSegmentUnion = VideoSegment | ImageSegment | TextSegment | ImageSequenceSegment | VideoSequenceSegment;
154
160
  /**
155
161
  * Static segments (for image output - no video/audio)
156
162
  */
@@ -200,7 +206,7 @@ interface EditorConfig extends BaseEditorConfig {
200
206
  * Supports all segment types including video and audio
201
207
  */
202
208
  interface VideoEditorConfig extends BaseEditorConfig {
203
- channels: Channel<VideoSegment | ImageSegment | TextSegment | AudioSegment | SequenceSegment>[];
209
+ channels: Channel<VideoSegment | ImageSegment | TextSegment | AudioSegment | ImageSequenceSegment | VideoSequenceSegment>[];
204
210
  /** Dynamic crop configuration (optional) */
205
211
  dynamicCrop?: DynamicCropConfig;
206
212
  }
@@ -1160,4 +1166,4 @@ declare function useResolvedPositions(elements: ImageEditorElement[], textValues
1160
1166
 
1161
1167
  declare const RenderRoot: React.FC;
1162
1168
 
1163
- export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, type IgTheme, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, InstagramDmComposition, type InstagramDmCompositionProps, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type MediaSequenceItem, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SequenceSegment, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions };
1169
+ export { type Acceleration, type AudioConfig, type AudioSegment, AutoCaptionComposition, AutoCaptionCompositionProps, AutoCaptionCompositionWithVideo, type BaseBubbleStyle, type BaseEditorConfig, type BaseMessage, type BaseMessageType, type BaseSegment, type BlendMode, BorderRadiusConfig, type BubbleRadii, CaptionOverlay, CaptionOverlayProps, type Channel, type ColorFilterConfig, type ColorShiftConfig, type CropConfig, type CuttingConfig, DEDUPLICATION_LEVELS, type DeduplicationConfig, type DeduplicationInput, type DeduplicationLevel, type DiagonalFilterConfig, type DiagonalFilterType, DynamicCropConfig, type EditorConfig, type EditorSegment, type EnhanceLevel, type EnhancementConfig, FitMode, FontWeight, type FrameManipulationConfig, type GifOverlayConfig, type GifSource, type GradientColor, type GradientOverlayConfig, type IgTheme, ImageEditorComposition, type ImageEditorCompositionProps, type ImageEditorConfig, ImageEditorElement, ImageElement, type ImageElementProps, type ImageMessage, type ImageSegment, type ImageSequenceSegment, InstagramDmComposition, type InstagramDmCompositionProps, LEVEL_1_CONFIG, LEVEL_2_CONFIG, LEVEL_3_CONFIG, LEVEL_4_CONFIG, LEVEL_5_CONFIG, type LensCorrectionConfig, MediaBubble, type MediaBubbleProps, type Message, MessageBubble, type MessageBubbleProps, type MessageGroup, type MessageOrTyping, type MessagePosition, type MessageReaction, type MessageSender, type MobileEncodingConfig, type ParticleOverlayConfig, type PhoneConfig, type PhoneModel, type PhoneType, type PictureSegment, PositionResolutionResult, type PositionedMessage, ProfilePic, type ProfilePicProps, Reaction, type ReactionProps, type ReadReceipt, type ReadReceiptState, RelativePositionConfigX, RelativePositionConfigY, RenderRoot, ScreenshotAnimation, ScreenshotAnimationProps, type Segment, SegmentType, type SpeedConfig, type StaticSegment, TYPING_ANIMATION, TextElement, type TextElementProps, type TextMessage, type TextSegment, TextStyleProperties, TimeValue, type TraceRemovalConfig, TypingIndicator, type TypingIndicatorProps, type TypingIndicatorStyle, type TypingMessage, type UserProfile, type VideoCodec, VideoEditorComposition, type VideoEditorCompositionProps, type VideoEditorConfig, VideoElement, type VideoElementProps, type VideoExtension, type VideoSegment, type VideoSequenceSegment, type VisualAdjustmentsConfig, type VisualSegment, type VisualSegmentUnion, bubbleRadiiToCss, calculateBubbleRadii, defaultInstagramDmProps, flattenGroups, groupMessages, isDeduplicationLevel, resolveDeduplicationConfig, useFontsLoaded, useImageLoader, useImagePreloader, useResolvedPositions };