@mengine/medeo-client 2.1.1-dsl.9 → 3.0.1-caption-source.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.
@@ -1,4 +1,4 @@
1
- import { j as DslDiagnostic, o as VideoDraftContent, p as CommitOptions } from "./video-draft-types-GqXnsOzA.js";
1
+ import { O as DslEditor, P as MedeoDsl, Tt as MedeoDslSnapshot, Vt as TrackRole, c as VideoDraftProjection, h as VideoDraftContent, i as AudioScriptView, jt as ResourceSystem, k as UploadText, q as CommitOptions, vt as DslDiagnostic } from "./index-C1iiDt_Q.js";
2
2
  import { LoroDoc, PeerID, VersionVector } from "loro-crdt";
3
3
  import { DocState, LocalSaveState } from "@mengine/sync";
4
4
  import { BaseDocStorage, Connection, DocDiff, DocPushReceipt, DocSnapshotRecord, DocStorage, DocStorageOptions, DocUpdate, DocUpdateRecord } from "@mengine/storage";
@@ -255,7 +255,7 @@ type PushResultKind = 'ack' | 'duplicate' | 'rejected' | 'failed' | 'nothing_to_
255
255
  */
256
256
  interface PushResult {
257
257
  kind: PushResultKind;
258
- /** Server document sequence observed after a successful `ack` or `duplicate`. */
258
+ /** Server sequence from an `ack`/`duplicate`, retained on an idle retry so its revision can be verified. */
259
259
  mengineUpdateSeq?: number | undefined;
260
260
  /** @deprecated Ack-only sequence retained until consumers adopt `mengineUpdateSeq`. */
261
261
  updateSeq?: number | undefined;
@@ -301,10 +301,12 @@ interface ManualSyncDocOptions {
301
301
  }
302
302
  /** Shared explicit pull/push lifecycle; model-specific editors never implement transport. */
303
303
  declare class ManualSyncTransport {
304
- private readonly client;
304
+ protected readonly client: MengineHttpClient;
305
305
  protected readonly doc: LoroDoc;
306
306
  private watermark;
307
307
  private disposed;
308
+ /** A retry with no new bytes still verifies the revision from its last durable receipt. */
309
+ private confirmedSequence?;
308
310
  protected constructor(client: MengineHttpClient, doc: LoroDoc, watermark: VersionVector);
309
311
  editorPeerId(): PeerID;
310
312
  protected assertActive(): void;
@@ -360,6 +362,189 @@ declare class ManualSyncTransport {
360
362
  private serverVVFrom;
361
363
  }
362
364
  //#endregion
365
+ //#region src/manual-sync/manual-sync-doc.d.ts
366
+ /** Explicit synchronization over the same DSL/editor used by the live Session. */
367
+ declare class ManualSyncDoc extends ManualSyncTransport {
368
+ readonly dsl: MedeoDsl;
369
+ readonly editor: DslEditor;
370
+ private constructor();
371
+ /** `uploadText` stores raw content the editor writes, such as a PhoneticScript's text, in Memota. */
372
+ static open(options: ManualSyncDocOptions & {
373
+ uploadText?: UploadText;
374
+ }): Promise<ManualSyncDoc>;
375
+ snapshot(): {
376
+ readonly "timeline-entities": {
377
+ readonly [x: string]: {
378
+ readonly [x: string]: never;
379
+ };
380
+ };
381
+ readonly "track-entities": {
382
+ readonly [x: string]: {
383
+ readonly role: TrackRole;
384
+ readonly hidden?: boolean | undefined;
385
+ };
386
+ };
387
+ readonly "clip-entities": {
388
+ readonly [x: string]: {
389
+ readonly seqMarker: {
390
+ readonly inMs: number;
391
+ readonly outMs: number;
392
+ readonly rate?: number | undefined;
393
+ readonly fillTimeline?: true | undefined;
394
+ };
395
+ readonly volume?: number | undefined;
396
+ readonly source: string;
397
+ readonly anchor?: {
398
+ readonly to: string;
399
+ readonly offsetMs: number;
400
+ readonly fallback_abs_ms: number;
401
+ } | undefined;
402
+ };
403
+ };
404
+ readonly "media-entities": {
405
+ readonly [x: string]: {
406
+ readonly system: ResourceSystem;
407
+ readonly key: string;
408
+ readonly digest?: string | undefined;
409
+ readonly kind: "video";
410
+ readonly durationMs: number;
411
+ readonly storageKey?: string | undefined;
412
+ } | {
413
+ readonly system: ResourceSystem;
414
+ readonly key: string;
415
+ readonly digest?: string | undefined;
416
+ readonly kind: "audio" | "voiceover-recording";
417
+ readonly durationMs: number;
418
+ readonly storageKey: string;
419
+ } | {
420
+ readonly system: ResourceSystem;
421
+ readonly key: string;
422
+ readonly digest?: string | undefined;
423
+ readonly kind: "image";
424
+ readonly storageKey?: string | undefined;
425
+ };
426
+ };
427
+ readonly "audio-script-entities": {
428
+ readonly [x: string]: {
429
+ readonly segments: readonly {
430
+ readonly id: string;
431
+ readonly text: string;
432
+ readonly startMs?: number | undefined;
433
+ readonly endMs?: number | undefined;
434
+ }[];
435
+ readonly defaultLanguage?: string | undefined;
436
+ readonly system?: "memota" | undefined;
437
+ readonly key?: string | undefined;
438
+ readonly storageKey?: string | undefined;
439
+ readonly digest?: string | undefined;
440
+ };
441
+ };
442
+ readonly "phonetic-script-entities": {
443
+ readonly [x: string]: {
444
+ readonly phoneme: {
445
+ readonly phonemeScript?: string | undefined;
446
+ readonly audioScriptId: string;
447
+ readonly segmentId: string;
448
+ readonly start?: import("loro-crdt").Cursor | undefined;
449
+ readonly end?: import("loro-crdt").Cursor | undefined;
450
+ };
451
+ readonly system?: "memota" | undefined;
452
+ readonly key?: string | undefined;
453
+ readonly storageKey?: string | undefined;
454
+ readonly digest?: string | undefined;
455
+ };
456
+ };
457
+ readonly "caption-entities": {
458
+ readonly [x: string]: {
459
+ readonly selection?: {
460
+ readonly audioScriptId: string;
461
+ readonly segmentId: string;
462
+ readonly start?: import("loro-crdt").Cursor | undefined;
463
+ readonly end?: import("loro-crdt").Cursor | undefined;
464
+ } | undefined;
465
+ readonly text?: string | undefined;
466
+ readonly style?: {
467
+ readonly font?: {
468
+ readonly system: "font-library";
469
+ readonly key: string;
470
+ } | undefined;
471
+ readonly fontSize?: number | undefined;
472
+ readonly fontColor?: string | undefined;
473
+ readonly fontWeight?: number | undefined;
474
+ readonly entranceAnimation?: string | undefined;
475
+ readonly entranceAnimationDurationMs?: number | undefined;
476
+ readonly strokeColor?: string | undefined;
477
+ readonly strokeWidth?: number | undefined;
478
+ readonly positionX?: number | undefined;
479
+ readonly positionY?: number | undefined;
480
+ } | undefined;
481
+ };
482
+ };
483
+ readonly "voice-entities": {
484
+ readonly [x: string]: {
485
+ readonly system: "voice-library";
486
+ readonly key: string;
487
+ readonly name?: string | undefined;
488
+ };
489
+ };
490
+ readonly "voice-timbre-relations": {
491
+ readonly [x: string]: {
492
+ readonly recordingId: string;
493
+ readonly voiceId: string;
494
+ };
495
+ };
496
+ readonly "derived-from-relations": {
497
+ readonly [x: string]: {
498
+ readonly entityId: string;
499
+ readonly sourceId: string;
500
+ readonly sourceDigest?: string | undefined;
501
+ };
502
+ };
503
+ readonly 'contain-relations': readonly {
504
+ readonly treeId: import("loro-crdt").TreeID;
505
+ readonly entityId: string;
506
+ readonly children: readonly /*elided*/any[];
507
+ }[];
508
+ readonly richText: {
509
+ readonly [x: string]: {
510
+ readonly bodyId: string;
511
+ readonly plainText: string;
512
+ readonly delta: readonly {
513
+ readonly insert: string;
514
+ readonly attributes?: {
515
+ readonly [x: string]: unknown;
516
+ } | undefined;
517
+ }[];
518
+ };
519
+ };
520
+ readonly captionText: {
521
+ readonly [x: string]: {
522
+ readonly text: string;
523
+ readonly start: number;
524
+ readonly end: number;
525
+ readonly bodyId: string;
526
+ };
527
+ };
528
+ readonly phoneticText: {
529
+ readonly [x: string]: {
530
+ readonly text: string;
531
+ readonly start: number;
532
+ readonly end: number;
533
+ readonly bodyId: string;
534
+ };
535
+ };
536
+ readonly diagnostics: readonly {
537
+ readonly code: string;
538
+ readonly path: string;
539
+ readonly message: string;
540
+ }[];
541
+ };
542
+ projectVideoDraft(): VideoDraftProjection;
543
+ /** Read the acknowledged server revision; without a new push, confirm against the current server view. */
544
+ readPersistedDraft(updateSeq?: number): Promise<MengineDraftResponse>;
545
+ dispose(): void;
546
+ }
547
+ //#endregion
363
548
  //#region src/storage/medeo-http-doc-storage.d.ts
364
549
  interface MedeoHttpDocStorageOptions {
365
550
  docId: string;
@@ -581,6 +766,7 @@ type DocumentSessionModel<Snapshot, Editor, Document> = (doc: LoroDoc, guard: Do
581
766
  declare class DocumentSession<Snapshot, Editor, Document> {
582
767
  private readonly options;
583
768
  private readonly model;
769
+ private readonly validateDocument;
584
770
  private readonly docId;
585
771
  private readonly local;
586
772
  private readonly server;
@@ -607,7 +793,7 @@ declare class DocumentSession<Snapshot, Editor, Document> {
607
793
  * doc (e.g. nothing was edited since the last confirmed push).
608
794
  */
609
795
  private serverVVValue;
610
- constructor(options: MengineDocSessionOptions, model: DocumentSessionModel<Snapshot, Editor, Document>);
796
+ constructor(options: MengineDocSessionOptions, model: DocumentSessionModel<Snapshot, Editor, Document>, validateDocument: (doc: LoroDoc) => void);
611
797
  /**
612
798
  * Observe every push verdict, including `duplicate` and failures.
613
799
  *
@@ -719,6 +905,20 @@ declare class DocumentSession<Snapshot, Editor, Document> {
719
905
  private waitForInitialLoad;
720
906
  }
721
907
  //#endregion
908
+ //#region src/session/mengine-doc-session.d.ts
909
+ type MengineDocSessionUpdateEvent = DocumentSessionUpdateEvent<MedeoDslSnapshot>;
910
+ /** Default collaborative session: one DSL handle and one editor over the synchronized LoroDoc. */
911
+ declare class MengineDocSession extends DocumentSession<MedeoDslSnapshot, DslEditor, MedeoDsl> {
912
+ /** `uploadText` stores raw content the editor writes, such as a PhoneticScript's text, in Memota. */
913
+ constructor(options: MengineDocSessionOptions & {
914
+ uploadText?: UploadText;
915
+ });
916
+ get dsl(): MedeoDsl;
917
+ projectVideoDraft(): VideoDraftProjection;
918
+ /** The document's AudioScripts with what says and shows them; read from the same snapshot as the VideoDraft. */
919
+ projectAudioScripts(): AudioScriptView[];
920
+ }
921
+ //#endregion
722
922
  //#region src/storage/memory-doc-storage.d.ts
723
923
  /**
724
924
  * Runtime-neutral local `DocStorage` backed by in-process memory.
@@ -744,4 +944,4 @@ declare class MemoryDocStorage extends BaseDocStorage {
744
944
  private now;
745
945
  }
746
946
  //#endregion
747
- export { MenginePushRejectedError as A, MengineSyncResponse as B, PushResult as C, MengineHttpClient as D, readMengineEventStream as E, MenginePushResponse as F, base64ToBytes as H, MenginePushUpdateResponse as I, MengineRejectedResponse as L, MengineAuditResponse as M, MengineDocumentVersion as N, MengineHttpClientOptions as O, MengineDraftResponse as P, MengineSnapshotResponse as R, PullResult as S, MengineEventStreamOptions as T, bytesToBase64 as U, MengineUpdateMeta as V, ManualSyncTransport as _, MengineDocSessionOptions as a, DocVersionMark as b, WaitForLocalSaveOptions as c, MengineUndoState as d, MedeoHttpDocStorage as f, ManualSyncDocOptions as g, PushOutcomeKind as h, MengineAckFailedError as i, MengineAuditEntry as j, MengineHttpRequestError as k, WaitForServerAckOptions as l, PushOutcome as m, DocumentSession as n, MengineDocSyncState as o, MedeoHttpDocStorageOptions as p, DocumentSessionUpdateEvent as r, MengineLocalSaveState as s, MemoryDocStorage as t, DocStorageLike as u, decodeDocVersionMark as v, PushResultKind as w, PullFailureReason as x, encodeDocVersionMark as y, MengineSseUpdateEvent as z };
947
+ export { MenginePushRejectedError as A, MengineSyncResponse as B, PushResult as C, MengineHttpClient as D, readMengineEventStream as E, MenginePushResponse as F, base64ToBytes as H, MenginePushUpdateResponse as I, MengineRejectedResponse as L, MengineAuditResponse as M, MengineDocumentVersion as N, MengineHttpClientOptions as O, MengineDraftResponse as P, MengineSnapshotResponse as R, PullResult as S, MengineEventStreamOptions as T, bytesToBase64 as U, MengineUpdateMeta as V, ManualSyncDocOptions as _, MengineDocSessionOptions as a, DocVersionMark as b, WaitForLocalSaveOptions as c, MengineUndoState as d, MedeoHttpDocStorage as f, ManualSyncDoc as g, PushOutcomeKind as h, MengineAckFailedError as i, MengineAuditEntry as j, MengineHttpRequestError as k, WaitForServerAckOptions as l, PushOutcome as m, MengineDocSession as n, MengineDocSyncState as o, MedeoHttpDocStorageOptions as p, MengineDocSessionUpdateEvent as r, MengineLocalSaveState as s, MemoryDocStorage as t, DocStorageLike as u, decodeDocVersionMark as v, PushResultKind as w, PullFailureReason as x, encodeDocVersionMark as y, MengineSseUpdateEvent as z };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { $ as TextMutation, A as DeepReadonly, C as CaptionContent, D as Clip, E as CaptionText, F as EntityTables, G as ResourceSystem, H as RelationTable, I as EntityValues, K as RichTextSnapshot, L as FieldPatch, M as DslMutation, N as EntityMutation, O as ContainMutation, P as EntityTable, Q as TextMark, R as MedeoDslSnapshot, S as Caption, T as CaptionStyle, U as RelationTables, V as RelationMutation, W as RelationValues, X as TextDelta, Y as StoredFile, Z as TextEdit, _ as defaultIdFactory, a as VideoDraftCaptionStyle, b as tupleHash, c as VideoDraftInput, d as VideoDraftTrack, et as TextRun, f as VideoDraftTrackItem, g as EntityIdKind, h as DslIdFactory, i as VideoDraft, it as Voice, j as DslDiagnostic, k as ContainNode, l as VideoDraftPartUnion, m as OpActor, n as DEFAULT_UNIT_TIME_MS, nt as Track, o as VideoDraftContent, p as CommitOptions, r as VideoCreationSettings, rt as TrackRole, s as VideoDraftContentPartUnion, t as CaptionDisplayCue, tt as TimeAnchor, u as VideoDraftTimeline, v as relationId, w as CaptionSelection, x as AudioScript, y as resourceId, z as Media } from "./video-draft-types-GqXnsOzA.js";
2
- import { A as MedeoDslDraft, C as UnsupportedDocumentFormatError, D as captionContentCodec, E as InvalidAtomic, F as ClipSource, I as DslClipUpdate, L as MoveDslClipsInput, M as medeoDslLoroShape, N as AddDslClip, O as isInvalidAtomic, P as AddDslClipsInput, R as ReplaceDslClipsInput, S as DslTransaction, T as documentFormat, _ as VoiceoverCaptionInput, a as toAudioScriptViews, b as MedeoDsl, c as resolveDslLayout, d as DslProjectionError, f as DslTrackLayout, g as ApplyVoiceoverInput, h as UploadText, i as AudioScriptView, j as MedeoDslLoroState, k as timeAnchorCodec, l as DslClipLayout, m as DslEditor, n as ImportedVideoDraft, o as VideoDraftProjection, p as createInitialMedeoDsl, r as fromVideoDraft, s as toVideoDraft, t as FromVideoDraftOptions, u as DslLayout, v as VoiceoverResult, w as assertDslDocument, x as DslAudit, y as CreateMedeoDslOptions, z as ClipPlacement } from "./index-C5wDKYqC.js";
3
- import { A as MenginePushRejectedError, B as MengineSyncResponse, C as PushResult, D as MengineHttpClient, E as readMengineEventStream, F as MenginePushResponse, H as base64ToBytes, I as MenginePushUpdateResponse, L as MengineRejectedResponse, M as MengineAuditResponse, N as MengineDocumentVersion, O as MengineHttpClientOptions, P as MengineDraftResponse, R as MengineSnapshotResponse, S as PullResult, T as MengineEventStreamOptions, U as bytesToBase64, V as MengineUpdateMeta, a as MengineDocSessionOptions, b as DocVersionMark, c as WaitForLocalSaveOptions, d as MengineUndoState, f as MedeoHttpDocStorage, g as ManualSyncDocOptions, h as PushOutcomeKind, i as MengineAckFailedError, j as MengineAuditEntry, k as MengineHttpRequestError, l as WaitForServerAckOptions, m as PushOutcome, o as MengineDocSyncState, p as MedeoHttpDocStorageOptions, s as MengineLocalSaveState, t as MemoryDocStorage, u as DocStorageLike, v as decodeDocVersionMark, w as PushResultKind, x as PullFailureReason, y as encodeDocVersionMark, z as MengineSseUpdateEvent } from "./index-DAfOkcnZ.js";
4
- import { n as MengineDocSessionUpdateEvent, r as ManualSyncDoc, t as MengineDocSession } from "./index-CHiPztZr.js";
5
- export { type AddDslClip, type AddDslClipsInput, type ApplyVoiceoverInput, type AudioScript, type AudioScriptView, type Caption, type CaptionContent, type CaptionDisplayCue, type CaptionSelection, type CaptionStyle, type CaptionText, type Clip, type ClipPlacement, type ClipSource, type CommitOptions, type ContainMutation, type ContainNode, type CreateMedeoDslOptions, DEFAULT_UNIT_TIME_MS, type DeepReadonly, type DocStorageLike, type DocVersionMark, type DslAudit, type DslClipLayout, type DslClipUpdate, type DslDiagnostic, DslEditor, type DslIdFactory, type DslLayout, type DslMutation, DslProjectionError, type DslTrackLayout, type DslTransaction, type EntityIdKind, type EntityMutation, type EntityTable, type EntityTables, type EntityValues, type FieldPatch, type FromVideoDraftOptions, type ImportedVideoDraft, type InvalidAtomic, ManualSyncDoc, type ManualSyncDocOptions, MedeoDsl, type MedeoDslDraft, type MedeoDslLoroState, type MedeoDslSnapshot, MedeoHttpDocStorage, type MedeoHttpDocStorageOptions, type Media, MemoryDocStorage, MengineAckFailedError, type MengineAuditEntry, type MengineAuditResponse, MengineDocSession, type MengineDocSessionOptions, type MengineDocSessionUpdateEvent, type MengineDocSyncState, type MengineDocumentVersion, type MengineDraftResponse, type MengineEventStreamOptions, MengineHttpClient, type MengineHttpClientOptions, MengineHttpRequestError, type MengineLocalSaveState, MenginePushRejectedError, type MenginePushResponse, type MenginePushUpdateResponse, type MengineRejectedResponse, type MengineSnapshotResponse, type MengineSseUpdateEvent, type MengineSyncResponse, type MengineUndoState, type MengineUpdateMeta, type MoveDslClipsInput, type OpActor, type PullFailureReason, type PullResult, type PushOutcome, type PushOutcomeKind, type PushResult, type PushResultKind, type RelationMutation, type RelationTable, type RelationTables, type RelationValues, type ReplaceDslClipsInput, type ResourceSystem, type RichTextSnapshot, type StoredFile, type TextDelta, type TextEdit, type TextMark, type TextMutation, type TextRun, type TimeAnchor, type Track, type TrackRole, UnsupportedDocumentFormatError, type UploadText, type VideoCreationSettings, type VideoDraft, type VideoDraftCaptionStyle, type VideoDraftContent, type VideoDraftContentPartUnion, type VideoDraftInput, type VideoDraftPartUnion, type VideoDraftProjection, type VideoDraftTimeline, type VideoDraftTrack, type VideoDraftTrackItem, type Voice, type VoiceoverCaptionInput, type VoiceoverResult, type WaitForLocalSaveOptions, type WaitForServerAckOptions, assertDslDocument, base64ToBytes, bytesToBase64, captionContentCodec, createInitialMedeoDsl, decodeDocVersionMark, defaultIdFactory, documentFormat, encodeDocVersionMark, fromVideoDraft, isInvalidAtomic, medeoDslLoroShape, readMengineEventStream, relationId, resolveDslLayout, resourceId, timeAnchorCodec, toAudioScriptViews, toVideoDraft, tupleHash };
1
+ import { $ as MoveDslClipsInput, A as ApplyVoiceoverInput, At as RelationValues, B as InvalidAtomic, Bt as Track, C as DslClipLayout, Ct as EntityValues, D as createInitialMedeoDsl, Dt as RelationMutation, E as DslTrackLayout, Et as Media, F as DslAudit, Ft as TextEdit, G as MedeoDslLoroState, H as isInvalidAtomic, Ht as Voice, I as DslTransaction, It as TextMark, J as OpActor, K as medeoDslLoroShape, L as UnsupportedDocumentFormatError, Lt as TextMutation, M as VoiceoverResult, Mt as RichTextSnapshot, N as CreateMedeoDslOptions, Nt as StoredFile, O as DslEditor, Ot as RelationTable, P as MedeoDsl, Pt as TextDelta, Q as DslClipUpdate, R as assertDslDocument, Rt as TextRun, S as resolveDslLayout, St as EntityTables, T as DslProjectionError, Tt as MedeoDslSnapshot, U as timeAnchorCodec, V as captionContentCodec, Vt as TrackRole, W as MedeoDslDraft, X as AddDslClipsInput, Y as AddDslClip, Z as ClipSource, _ as VideoDraftInput, _t as DeepReadonly, a as SpokenScript, at as relationId, b as VideoDraftTrack, bt as EntityMutation, c as VideoDraftProjection, ct as AudioScript, d as DEFAULT_UNIT_TIME_MS, dt as CaptionSelection, et as ReplaceDslClipsInput, f as VideoCreationSettings, ft as CaptionStyle, g as VideoDraftContentPartUnion, gt as ContainNode, h as VideoDraftContent, ht as ContainMutation, i as AudioScriptView, it as defaultIdFactory, j as VoiceoverCaptionInput, jt as ResourceSystem, k as UploadText, kt as RelationTables, l as toVideoDraft, lt as Caption, m as VideoDraftCaptionStyle, mt as Clip, n as ImportedVideoDraft, nt as DslIdFactory, o as spokenScripts, ot as resourceId, p as VideoDraft, pt as CaptionText, q as CommitOptions, r as fromVideoDraft, rt as EntityIdKind, s as toAudioScriptViews, st as tupleHash, t as FromVideoDraftOptions, tt as ClipPlacement, u as CaptionDisplayCue, ut as CaptionContent, v as VideoDraftPartUnion, vt as DslDiagnostic, w as DslLayout, wt as FieldPatch, x as VideoDraftTrackItem, xt as EntityTable, y as VideoDraftTimeline, yt as DslMutation, z as documentFormat, zt as TimeAnchor } from "./index-C1iiDt_Q.js";
2
+ import { A as MenginePushRejectedError, B as MengineSyncResponse, C as PushResult, D as MengineHttpClient, E as readMengineEventStream, F as MenginePushResponse, H as base64ToBytes, I as MenginePushUpdateResponse, L as MengineRejectedResponse, M as MengineAuditResponse, N as MengineDocumentVersion, O as MengineHttpClientOptions, P as MengineDraftResponse, R as MengineSnapshotResponse, S as PullResult, T as MengineEventStreamOptions, U as bytesToBase64, V as MengineUpdateMeta, _ as ManualSyncDocOptions, a as MengineDocSessionOptions, b as DocVersionMark, c as WaitForLocalSaveOptions, d as MengineUndoState, f as MedeoHttpDocStorage, g as ManualSyncDoc, h as PushOutcomeKind, i as MengineAckFailedError, j as MengineAuditEntry, k as MengineHttpRequestError, l as WaitForServerAckOptions, m as PushOutcome, n as MengineDocSession, o as MengineDocSyncState, p as MedeoHttpDocStorageOptions, r as MengineDocSessionUpdateEvent, s as MengineLocalSaveState, t as MemoryDocStorage, u as DocStorageLike, v as decodeDocVersionMark, w as PushResultKind, x as PullFailureReason, y as encodeDocVersionMark, z as MengineSseUpdateEvent } from "./index-CSjqNIoR.js";
3
+ export { type AddDslClip, type AddDslClipsInput, type ApplyVoiceoverInput, type AudioScript, type AudioScriptView, type Caption, type CaptionContent, type CaptionDisplayCue, type CaptionSelection, type CaptionStyle, type CaptionText, type Clip, type ClipPlacement, type ClipSource, type CommitOptions, type ContainMutation, type ContainNode, type CreateMedeoDslOptions, DEFAULT_UNIT_TIME_MS, type DeepReadonly, type DocStorageLike, type DocVersionMark, type DslAudit, type DslClipLayout, type DslClipUpdate, type DslDiagnostic, DslEditor, type DslIdFactory, type DslLayout, type DslMutation, DslProjectionError, type DslTrackLayout, type DslTransaction, type EntityIdKind, type EntityMutation, type EntityTable, type EntityTables, type EntityValues, type FieldPatch, type FromVideoDraftOptions, type ImportedVideoDraft, type InvalidAtomic, ManualSyncDoc, type ManualSyncDocOptions, MedeoDsl, type MedeoDslDraft, type MedeoDslLoroState, type MedeoDslSnapshot, MedeoHttpDocStorage, type MedeoHttpDocStorageOptions, type Media, MemoryDocStorage, MengineAckFailedError, type MengineAuditEntry, type MengineAuditResponse, MengineDocSession, type MengineDocSessionOptions, type MengineDocSessionUpdateEvent, type MengineDocSyncState, type MengineDocumentVersion, type MengineDraftResponse, type MengineEventStreamOptions, MengineHttpClient, type MengineHttpClientOptions, MengineHttpRequestError, type MengineLocalSaveState, MenginePushRejectedError, type MenginePushResponse, type MenginePushUpdateResponse, type MengineRejectedResponse, type MengineSnapshotResponse, type MengineSseUpdateEvent, type MengineSyncResponse, type MengineUndoState, type MengineUpdateMeta, type MoveDslClipsInput, type OpActor, type PullFailureReason, type PullResult, type PushOutcome, type PushOutcomeKind, type PushResult, type PushResultKind, type RelationMutation, type RelationTable, type RelationTables, type RelationValues, type ReplaceDslClipsInput, type ResourceSystem, type RichTextSnapshot, type SpokenScript, type StoredFile, type TextDelta, type TextEdit, type TextMark, type TextMutation, type TextRun, type TimeAnchor, type Track, type TrackRole, UnsupportedDocumentFormatError, type UploadText, type VideoCreationSettings, type VideoDraft, type VideoDraftCaptionStyle, type VideoDraftContent, type VideoDraftContentPartUnion, type VideoDraftInput, type VideoDraftPartUnion, type VideoDraftProjection, type VideoDraftTimeline, type VideoDraftTrack, type VideoDraftTrackItem, type Voice, type VoiceoverCaptionInput, type VoiceoverResult, type WaitForLocalSaveOptions, type WaitForServerAckOptions, assertDslDocument, base64ToBytes, bytesToBase64, captionContentCodec, createInitialMedeoDsl, decodeDocVersionMark, defaultIdFactory, documentFormat, encodeDocVersionMark, fromVideoDraft, isInvalidAtomic, medeoDslLoroShape, readMengineEventStream, relationId, resolveDslLayout, resourceId, spokenScripts, timeAnchorCodec, toAudioScriptViews, toVideoDraft, tupleHash };