daily-video-editor 0.0.2 → 0.0.3

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.
@@ -3844,7 +3844,14 @@ declare function __VLS_template(): {
3844
3844
  rootEl: HTMLDivElement;
3845
3845
  };
3846
3846
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
3847
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3847
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
3848
+ validate: () => string | null;
3849
+ flush: () => void;
3850
+ reload: (model: VideoComposeEditorModel) => Promise<void>;
3851
+ exportComposePayload: () => import('../types/videoCompose').ComposeExportPayload;
3852
+ getMainVideoClips: () => import('../types/videoCompose').VideoClipItem[];
3853
+ requestUploadClip: () => void;
3854
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3848
3855
  ready: () => any;
3849
3856
  "update:modelValue": (value: VideoComposeEditorModel) => any;
3850
3857
  "remove-catalog-clip": (variant: ComposeSegmentClipAssets) => any;
@@ -3,6 +3,7 @@ import { ComposeEditorEmit, ComposeEditorProps } from './createComposeEditorStat
3
3
  * 视频剪辑会话。
4
4
  * 接线顺序固定:播放桥 → 右栏 → 素材库 → 草稿。后注册的 immediate watch 才能用到已经接好的交接函数。
5
5
  * 区域组件仍由外壳用 props / 事件连接,不在子组件里注入,避免改掉播放和写回的调用顺序。
6
+ * 宿主 ref 方法由本函数返回,须在 VideoComposeEditor 的 `<script setup>` 里 `defineExpose`。
6
7
  */
7
8
  export declare function useComposeEditorSession(props: ComposeEditorProps, emit: ComposeEditorEmit): {
8
9
  frameAspect: import('vue').ComputedRef<import('../../types/videoCompose').ComposeFrameAspect>;
@@ -7762,4 +7763,10 @@ export declare function useComposeEditorSession(props: ComposeEditorProps, emit:
7762
7763
  uploadSfxModalOpen: import('vue').Ref<boolean, boolean>;
7763
7764
  visiblePreviewSubtitles: import('vue').ComputedRef<import('../../types/composeMedia').SubtitleItem[]>;
7764
7765
  adjustPreviewSubtitles: import('vue').ComputedRef<import('../../types/composeMedia').SubtitleItem[]>;
7766
+ validate: () => string | null;
7767
+ flush: () => void;
7768
+ reload: (model: import('..').VideoComposeEditorModel) => Promise<void>;
7769
+ exportComposePayload: () => import('..').ComposeExportPayload;
7770
+ getMainVideoClips: () => import('..').VideoClipItem[];
7771
+ requestUploadClip: () => void;
7765
7772
  };