@nodaro/shared 3.66.0 → 3.68.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.
Files changed (77) hide show
  1. package/dist/{chunk-JTYCJ5OL.cjs → chunk-4XR66IWF.cjs} +51 -13
  2. package/dist/chunk-4XR66IWF.cjs.map +1 -0
  3. package/dist/{chunk-6FQBKI2A.cjs → chunk-6JSYNKFL.cjs} +4 -4
  4. package/dist/{chunk-6FQBKI2A.cjs.map → chunk-6JSYNKFL.cjs.map} +1 -1
  5. package/dist/{chunk-23IKLMRL.cjs → chunk-BCY3A62O.cjs} +4 -4
  6. package/dist/{chunk-23IKLMRL.cjs.map → chunk-BCY3A62O.cjs.map} +1 -1
  7. package/dist/{chunk-RVQW623D.js → chunk-BHL7TAQO.js} +43 -12
  8. package/dist/chunk-BHL7TAQO.js.map +1 -0
  9. package/dist/{chunk-CLAKSLXF.js → chunk-E3PU7YC6.js} +3 -3
  10. package/dist/{chunk-CLAKSLXF.js.map → chunk-E3PU7YC6.js.map} +1 -1
  11. package/dist/{chunk-ALRXY4QH.cjs → chunk-N7ZJD4CK.cjs} +6 -2
  12. package/dist/chunk-N7ZJD4CK.cjs.map +1 -0
  13. package/dist/{chunk-O2QOBA6Q.js → chunk-NPGP6FMU.js} +43 -3
  14. package/dist/chunk-NPGP6FMU.js.map +1 -0
  15. package/dist/chunk-NWNRATS3.js +13 -0
  16. package/dist/chunk-NWNRATS3.js.map +1 -0
  17. package/dist/{chunk-NYZQOIXJ.cjs → chunk-Q2LEJXLZ.cjs} +93 -6
  18. package/dist/chunk-Q2LEJXLZ.cjs.map +1 -0
  19. package/dist/{chunk-O6TBB4IF.cjs → chunk-TZWXZDSX.cjs} +48 -2
  20. package/dist/chunk-TZWXZDSX.cjs.map +1 -0
  21. package/dist/{chunk-FGBGKBML.js → chunk-UVUHVY7F.js} +71 -4
  22. package/dist/chunk-UVUHVY7F.js.map +1 -0
  23. package/dist/{chunk-GTBW2KAY.js → chunk-XNJDAW3M.js} +3 -3
  24. package/dist/{chunk-GTBW2KAY.js.map → chunk-XNJDAW3M.js.map} +1 -1
  25. package/dist/entries/credits.cjs +192 -164
  26. package/dist/entries/credits.d.cts +82 -5
  27. package/dist/entries/credits.d.ts +82 -5
  28. package/dist/entries/credits.js +2 -2
  29. package/dist/entries/media.cjs +171 -87
  30. package/dist/entries/media.d.cts +118 -2
  31. package/dist/entries/media.d.ts +118 -2
  32. package/dist/entries/media.js +3 -3
  33. package/dist/entries/models.cjs +82 -82
  34. package/dist/entries/models.js +3 -3
  35. package/dist/entries/runtime-config.cjs +53 -29
  36. package/dist/entries/runtime-config.d.cts +53 -1
  37. package/dist/entries/runtime-config.d.ts +53 -1
  38. package/dist/entries/runtime-config.js +1 -1
  39. package/dist/entries/types.d.cts +12 -5
  40. package/dist/entries/types.d.ts +12 -5
  41. package/dist/index.cjs +495 -359
  42. package/dist/index.d.cts +3 -3
  43. package/dist/index.d.ts +3 -3
  44. package/dist/index.js +6 -6
  45. package/package.json +1 -1
  46. package/src/__tests__/add-captions-nemotron-pricing.test.ts +13 -1
  47. package/src/__tests__/fixtures/measured-input-quote-parity.json +1816 -1
  48. package/src/__tests__/fixtures/planned-length-quote-parity.json +55 -10
  49. package/src/__tests__/fixtures/video-utility-quote-parity.json +834 -38
  50. package/src/__tests__/freecut-ai-panel.test.ts +149 -0
  51. package/src/__tests__/nemotron-transcribe-pricing.test.ts +32 -0
  52. package/src/__tests__/runtime-config-lists.test.ts +92 -0
  53. package/src/catalog-projection.ts +12 -5
  54. package/src/credit-estimators/add-captions-nemotron.ts +11 -1
  55. package/src/credit-estimators/index.ts +6 -1
  56. package/src/credit-estimators/nemotron-transcribe.ts +35 -3
  57. package/src/credit-estimators/pitch-tempo.ts +14 -0
  58. package/src/credit-estimators/video-sfx.ts +15 -0
  59. package/src/credit-estimators/video-utils.ts +48 -12
  60. package/src/entries/credits.ts +1 -0
  61. package/src/entries/media.ts +1 -0
  62. package/src/entries/runtime-config.ts +10 -1
  63. package/src/freecut-ai-panel.ts +172 -0
  64. package/src/freecut-protocol.ts +13 -0
  65. package/src/lip-sync-pricing.ts +15 -0
  66. package/src/priced-clip-seconds.ts +19 -1
  67. package/src/runtime-config/lists.ts +87 -0
  68. package/src/runtime-config/worlds.ts +10 -0
  69. package/dist/chunk-ALRXY4QH.cjs.map +0 -1
  70. package/dist/chunk-FGBGKBML.js.map +0 -1
  71. package/dist/chunk-JTYCJ5OL.cjs.map +0 -1
  72. package/dist/chunk-NYZQOIXJ.cjs.map +0 -1
  73. package/dist/chunk-O2QOBA6Q.js.map +0 -1
  74. package/dist/chunk-O6TBB4IF.cjs.map +0 -1
  75. package/dist/chunk-RVQW623D.js.map +0 -1
  76. package/dist/chunk-SMOO5FAH.js +0 -10
  77. package/dist/chunk-SMOO5FAH.js.map +0 -1
@@ -9,6 +9,14 @@ declare const FREECUT_READY = "FREECUT_READY";
9
9
  declare const FREECUT_EXPORT_COMPLETE = "FREECUT_EXPORT_COMPLETE";
10
10
  declare const FREECUT_EXPORT_PROGRESS = "FREECUT_EXPORT_PROGRESS";
11
11
  declare const FREECUT_REQUEST_IMPORT = "FREECUT_REQUEST_IMPORT";
12
+ declare const NODARO_GET_TIMELINE = "NODARO_GET_TIMELINE";
13
+ declare const NODARO_APPLY_OPS = "NODARO_APPLY_OPS";
14
+ declare const NODARO_UNDO_EDIT = "NODARO_UNDO_EDIT";
15
+ declare const NODARO_PLAYBACK = "NODARO_PLAYBACK";
16
+ declare const NODARO_PRESENCE = "NODARO_PRESENCE";
17
+ declare const FREECUT_TIMELINE = "FREECUT_TIMELINE";
18
+ declare const FREECUT_OPS_RESULT = "FREECUT_OPS_RESULT";
19
+ declare const FREECUT_UNDO_RESULT = "FREECUT_UNDO_RESULT";
12
20
  interface FreecutImportFile {
13
21
  readonly name: string;
14
22
  readonly type: string;
@@ -46,6 +54,99 @@ interface FreecutRequestImportPayload {
46
54
  readonly multiple?: boolean;
47
55
  }
48
56
 
57
+ /** Where the platform serves the panel, under its app origin. */
58
+ declare const AI_PANEL_PATH = "/embed/edit-with-ai";
59
+ declare const AI_PANEL_PROTOCOL_VERSION = 1;
60
+ /** The panel is loaded and listening; repeated until the host answers with INIT. */
61
+ declare const NODARO_AI_PANEL_READY = "NODARO_AI_PANEL_READY";
62
+ /** The person closed the panel. */
63
+ declare const NODARO_AI_PANEL_CLOSE = "NODARO_AI_PANEL_CLOSE";
64
+ /** The panel asks for the whole editor area (`wide: true`, to show the original video) or its side column. */
65
+ declare const NODARO_AI_PANEL_LAYOUT = "NODARO_AI_PANEL_LAYOUT";
66
+ /** What the panel works on; sent again whenever it changes (a video imported, the editor ready). */
67
+ declare const NODARO_AI_PANEL_INIT = "NODARO_AI_PANEL_INIT";
68
+ /** What the editor must say it can do (its FREECUT_READY `capabilities`) for the panel to be offered. */
69
+ declare const AI_PANEL_EDITOR_CAPABILITIES: readonly ["edit-ops", "timeline-read", "playback", "presence"];
70
+ /** The editor's requests a host carries from the panel to the editor. */
71
+ declare const AI_PANEL_EDITOR_REQUESTS: readonly string[];
72
+ /** The editor's answers a host carries back to the panel: only to a request the panel made. */
73
+ declare const AI_PANEL_EDITOR_ANSWERS: readonly string[];
74
+ /** A video the host can give an address for, by the file name the editor shows for it. */
75
+ interface AiPanelVideo {
76
+ readonly url: string;
77
+ readonly name: string;
78
+ }
79
+ interface AiPanelInitPayload {
80
+ readonly version: number;
81
+ /** The editor's FREECUT_READY `capabilities`; empty until the editor is ready. */
82
+ readonly capabilities: readonly string[];
83
+ /** The videos the host knows an address for. The panel never edits one it cannot listen to. */
84
+ readonly videos: readonly AiPanelVideo[];
85
+ /** The video the editor was opened on, when there is one (its `url`). */
86
+ readonly openedVideoUrl?: string;
87
+ /**
88
+ * Which project the editor holds. The host changes it when it starts a fresh
89
+ * one, and the panel then forgets what it did in the old one.
90
+ */
91
+ readonly project?: number;
92
+ }
93
+ interface AiPanelLayoutPayload {
94
+ readonly wide: boolean;
95
+ }
96
+ /** Whether an editor with these capabilities can be edited by the panel. */
97
+ declare function aiPanelOffered(capabilities: readonly string[]): boolean;
98
+ /** The parts of a `MessageEvent` the route reads. */
99
+ interface AiPanelRelayEvent {
100
+ readonly data: unknown;
101
+ readonly origin: string;
102
+ readonly source: unknown;
103
+ }
104
+ interface AiPanelRelayContext {
105
+ readonly panel: unknown;
106
+ readonly panelOrigin: string;
107
+ readonly editor: unknown;
108
+ readonly editorOrigin: string;
109
+ /** The request ids the panel asked and the editor has not answered yet. Updated in place by `routeAiPanelMessage`. */
110
+ readonly asked: Set<string>;
111
+ }
112
+ /** Where a message goes, and the buffers to hand over with it. */
113
+ interface AiPanelRoute {
114
+ readonly to: "editor" | "panel";
115
+ readonly message: {
116
+ readonly type: string;
117
+ readonly payload: Record<string, unknown>;
118
+ };
119
+ readonly transfer: ArrayBuffer[];
120
+ }
121
+ /**
122
+ * Where a host passes one message, or null when it is not the panel's to pass.
123
+ * From the panel's own frame on its origin: one of the editor's requests, to the
124
+ * editor (an import hands its buffers over again). From the editor's frame on
125
+ * its origin: an answer to a request the panel made, back to the panel, once.
126
+ * Everything else (the host's own traffic, other frames) is left alone.
127
+ */
128
+ declare function routeAiPanelMessage(event: AiPanelRelayEvent, ctx: AiPanelRelayContext): AiPanelRoute | null;
129
+ /** A window a relay can listen on and post to (the host's own `window`). */
130
+ interface RelayWindow {
131
+ addEventListener(type: "message", listener: (event: MessageEvent) => void): void;
132
+ removeEventListener(type: "message", listener: (event: MessageEvent) => void): void;
133
+ }
134
+ interface PostTarget {
135
+ postMessage(message: unknown, targetOrigin: string, transfer?: Transferable[]): void;
136
+ }
137
+ interface AiPanelRelayOptions {
138
+ /** The host page's window, which both frames post to. */
139
+ readonly host: RelayWindow;
140
+ readonly panel: () => PostTarget | null | undefined;
141
+ readonly panelOrigin: string;
142
+ readonly editor: () => PostTarget | null | undefined;
143
+ readonly editorOrigin: string;
144
+ }
145
+ /** Carry the panel's edit requests to the editor and the answers back, until disposed. */
146
+ declare function createAiPanelRelay(options: AiPanelRelayOptions): {
147
+ dispose(): void;
148
+ };
149
+
49
150
  interface PixelBox {
50
151
  x: number;
51
152
  y: number;
@@ -84,8 +185,23 @@ declare function describeMaskRegion(box: PixelBox, image: {
84
185
  * It decides the price only. Each step's limits (the 300 s cap, the frame cap)
85
186
  * read the clip's real length. Other models round as they always have.
86
187
  */
87
- /** How far past a whole second a clip is still priced as that second. */
188
+ /**
189
+ * How far past a whole second a clip is still priced as that second — and how
190
+ * far past a mark a measured file may run and still be HELD and CHARGED at
191
+ * that mark by the steps that measure their input and round with no grace of
192
+ * their own (decided 2026-11-14: Video SFX's rows, Pitch & Tempo's and
193
+ * Dubbing's minutes, OmniHuman 2.0's seconds). Their quotes read the length
194
+ * exactly, so a quote is never below the charge of a file up to this past it.
195
+ */
88
196
  declare const CLIP_PRICE_GRACE_SEC = 0.05;
197
+ /**
198
+ * A measured length less the hair its hold and charge forgive
199
+ * (`CLIP_PRICE_GRACE_SEC`) and less float noise: the ONE arithmetic Video
200
+ * SFX's, Pitch & Tempo's, Dubbing's and OmniHuman 2.0's held rows are read
201
+ * from. It can be 0 or below for a file under the grace; each caller keeps its
202
+ * own floor.
203
+ */
204
+ declare function gracedMeasuredSec(measuredSec: number): number;
89
205
  /** At least one second. The caller has checked that `sec` is a real length. */
90
206
  declare function pricedClipSeconds(sec: number): number;
91
207
 
@@ -1064,4 +1180,4 @@ interface DubbingAddLanguageResult {
1064
1180
  declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
1065
1181
  type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
1066
1182
 
1067
- export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
1183
+ export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, gracedMeasuredSec, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
@@ -9,6 +9,14 @@ declare const FREECUT_READY = "FREECUT_READY";
9
9
  declare const FREECUT_EXPORT_COMPLETE = "FREECUT_EXPORT_COMPLETE";
10
10
  declare const FREECUT_EXPORT_PROGRESS = "FREECUT_EXPORT_PROGRESS";
11
11
  declare const FREECUT_REQUEST_IMPORT = "FREECUT_REQUEST_IMPORT";
12
+ declare const NODARO_GET_TIMELINE = "NODARO_GET_TIMELINE";
13
+ declare const NODARO_APPLY_OPS = "NODARO_APPLY_OPS";
14
+ declare const NODARO_UNDO_EDIT = "NODARO_UNDO_EDIT";
15
+ declare const NODARO_PLAYBACK = "NODARO_PLAYBACK";
16
+ declare const NODARO_PRESENCE = "NODARO_PRESENCE";
17
+ declare const FREECUT_TIMELINE = "FREECUT_TIMELINE";
18
+ declare const FREECUT_OPS_RESULT = "FREECUT_OPS_RESULT";
19
+ declare const FREECUT_UNDO_RESULT = "FREECUT_UNDO_RESULT";
12
20
  interface FreecutImportFile {
13
21
  readonly name: string;
14
22
  readonly type: string;
@@ -46,6 +54,99 @@ interface FreecutRequestImportPayload {
46
54
  readonly multiple?: boolean;
47
55
  }
48
56
 
57
+ /** Where the platform serves the panel, under its app origin. */
58
+ declare const AI_PANEL_PATH = "/embed/edit-with-ai";
59
+ declare const AI_PANEL_PROTOCOL_VERSION = 1;
60
+ /** The panel is loaded and listening; repeated until the host answers with INIT. */
61
+ declare const NODARO_AI_PANEL_READY = "NODARO_AI_PANEL_READY";
62
+ /** The person closed the panel. */
63
+ declare const NODARO_AI_PANEL_CLOSE = "NODARO_AI_PANEL_CLOSE";
64
+ /** The panel asks for the whole editor area (`wide: true`, to show the original video) or its side column. */
65
+ declare const NODARO_AI_PANEL_LAYOUT = "NODARO_AI_PANEL_LAYOUT";
66
+ /** What the panel works on; sent again whenever it changes (a video imported, the editor ready). */
67
+ declare const NODARO_AI_PANEL_INIT = "NODARO_AI_PANEL_INIT";
68
+ /** What the editor must say it can do (its FREECUT_READY `capabilities`) for the panel to be offered. */
69
+ declare const AI_PANEL_EDITOR_CAPABILITIES: readonly ["edit-ops", "timeline-read", "playback", "presence"];
70
+ /** The editor's requests a host carries from the panel to the editor. */
71
+ declare const AI_PANEL_EDITOR_REQUESTS: readonly string[];
72
+ /** The editor's answers a host carries back to the panel: only to a request the panel made. */
73
+ declare const AI_PANEL_EDITOR_ANSWERS: readonly string[];
74
+ /** A video the host can give an address for, by the file name the editor shows for it. */
75
+ interface AiPanelVideo {
76
+ readonly url: string;
77
+ readonly name: string;
78
+ }
79
+ interface AiPanelInitPayload {
80
+ readonly version: number;
81
+ /** The editor's FREECUT_READY `capabilities`; empty until the editor is ready. */
82
+ readonly capabilities: readonly string[];
83
+ /** The videos the host knows an address for. The panel never edits one it cannot listen to. */
84
+ readonly videos: readonly AiPanelVideo[];
85
+ /** The video the editor was opened on, when there is one (its `url`). */
86
+ readonly openedVideoUrl?: string;
87
+ /**
88
+ * Which project the editor holds. The host changes it when it starts a fresh
89
+ * one, and the panel then forgets what it did in the old one.
90
+ */
91
+ readonly project?: number;
92
+ }
93
+ interface AiPanelLayoutPayload {
94
+ readonly wide: boolean;
95
+ }
96
+ /** Whether an editor with these capabilities can be edited by the panel. */
97
+ declare function aiPanelOffered(capabilities: readonly string[]): boolean;
98
+ /** The parts of a `MessageEvent` the route reads. */
99
+ interface AiPanelRelayEvent {
100
+ readonly data: unknown;
101
+ readonly origin: string;
102
+ readonly source: unknown;
103
+ }
104
+ interface AiPanelRelayContext {
105
+ readonly panel: unknown;
106
+ readonly panelOrigin: string;
107
+ readonly editor: unknown;
108
+ readonly editorOrigin: string;
109
+ /** The request ids the panel asked and the editor has not answered yet. Updated in place by `routeAiPanelMessage`. */
110
+ readonly asked: Set<string>;
111
+ }
112
+ /** Where a message goes, and the buffers to hand over with it. */
113
+ interface AiPanelRoute {
114
+ readonly to: "editor" | "panel";
115
+ readonly message: {
116
+ readonly type: string;
117
+ readonly payload: Record<string, unknown>;
118
+ };
119
+ readonly transfer: ArrayBuffer[];
120
+ }
121
+ /**
122
+ * Where a host passes one message, or null when it is not the panel's to pass.
123
+ * From the panel's own frame on its origin: one of the editor's requests, to the
124
+ * editor (an import hands its buffers over again). From the editor's frame on
125
+ * its origin: an answer to a request the panel made, back to the panel, once.
126
+ * Everything else (the host's own traffic, other frames) is left alone.
127
+ */
128
+ declare function routeAiPanelMessage(event: AiPanelRelayEvent, ctx: AiPanelRelayContext): AiPanelRoute | null;
129
+ /** A window a relay can listen on and post to (the host's own `window`). */
130
+ interface RelayWindow {
131
+ addEventListener(type: "message", listener: (event: MessageEvent) => void): void;
132
+ removeEventListener(type: "message", listener: (event: MessageEvent) => void): void;
133
+ }
134
+ interface PostTarget {
135
+ postMessage(message: unknown, targetOrigin: string, transfer?: Transferable[]): void;
136
+ }
137
+ interface AiPanelRelayOptions {
138
+ /** The host page's window, which both frames post to. */
139
+ readonly host: RelayWindow;
140
+ readonly panel: () => PostTarget | null | undefined;
141
+ readonly panelOrigin: string;
142
+ readonly editor: () => PostTarget | null | undefined;
143
+ readonly editorOrigin: string;
144
+ }
145
+ /** Carry the panel's edit requests to the editor and the answers back, until disposed. */
146
+ declare function createAiPanelRelay(options: AiPanelRelayOptions): {
147
+ dispose(): void;
148
+ };
149
+
49
150
  interface PixelBox {
50
151
  x: number;
51
152
  y: number;
@@ -84,8 +185,23 @@ declare function describeMaskRegion(box: PixelBox, image: {
84
185
  * It decides the price only. Each step's limits (the 300 s cap, the frame cap)
85
186
  * read the clip's real length. Other models round as they always have.
86
187
  */
87
- /** How far past a whole second a clip is still priced as that second. */
188
+ /**
189
+ * How far past a whole second a clip is still priced as that second — and how
190
+ * far past a mark a measured file may run and still be HELD and CHARGED at
191
+ * that mark by the steps that measure their input and round with no grace of
192
+ * their own (decided 2026-11-14: Video SFX's rows, Pitch & Tempo's and
193
+ * Dubbing's minutes, OmniHuman 2.0's seconds). Their quotes read the length
194
+ * exactly, so a quote is never below the charge of a file up to this past it.
195
+ */
88
196
  declare const CLIP_PRICE_GRACE_SEC = 0.05;
197
+ /**
198
+ * A measured length less the hair its hold and charge forgive
199
+ * (`CLIP_PRICE_GRACE_SEC`) and less float noise: the ONE arithmetic Video
200
+ * SFX's, Pitch & Tempo's, Dubbing's and OmniHuman 2.0's held rows are read
201
+ * from. It can be 0 or below for a file under the grace; each caller keeps its
202
+ * own floor.
203
+ */
204
+ declare function gracedMeasuredSec(measuredSec: number): number;
89
205
  /** At least one second. The caller has checked that `sec` is a real length. */
90
206
  declare function pricedClipSeconds(sec: number): number;
91
207
 
@@ -1064,4 +1180,4 @@ interface DubbingAddLanguageResult {
1064
1180
  declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
1065
1181
  type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
1066
1182
 
1067
- export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
1183
+ export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, gracedMeasuredSec, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
@@ -1,7 +1,7 @@
1
- export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-FGBGKBML.js';
1
+ export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, aiPanelOffered, applySlots, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-UVUHVY7F.js';
2
2
  export { DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, isRtlText, overlayFontById, overlayImageEffectsSchema, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema } from '../chunk-ZNZDQAXN.js';
3
- export { FAL_VIDEO_DEPTH_PROVIDERS, REPLICATE_VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, checkVideoDepthLength, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass } from '../chunk-CLAKSLXF.js';
3
+ export { FAL_VIDEO_DEPTH_PROVIDERS, REPLICATE_VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, checkVideoDepthLength, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass } from '../chunk-E3PU7YC6.js';
4
4
  export { OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_VARIANT_HANDLE_PREFIX, overlayPlatformById, overlayVariantHandle, overlayVariantIdFromHandle } from '../chunk-5THUHJ3E.js';
5
- export { CLIP_PRICE_GRACE_SEC, pricedClipSeconds } from '../chunk-SMOO5FAH.js';
5
+ export { CLIP_PRICE_GRACE_SEC, gracedMeasuredSec, pricedClipSeconds } from '../chunk-NWNRATS3.js';
6
6
  //# sourceMappingURL=media.js.map
7
7
  //# sourceMappingURL=media.js.map