@vvfx/sdk 0.1.19-alpha.36 → 0.1.19-alpha.38

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 (96) hide show
  1. package/LICENSE +22 -0
  2. package/dist/index.js +87037 -14
  3. package/dist/index.js.map +1 -0
  4. package/dist/index.mjs +87141 -0
  5. package/dist/index.mjs.map +1 -0
  6. package/dist/src/config.d.ts +855 -0
  7. package/dist/src/exporter/config.d.ts +18 -0
  8. package/dist/src/exporter/const.d.ts +71 -0
  9. package/dist/src/exporter/export-media.d.ts +68 -0
  10. package/dist/src/exporter/exporter.d.ts +22 -0
  11. package/dist/src/exporter/index.d.ts +2 -0
  12. package/dist/src/exporter/types.d.ts +194 -0
  13. package/dist/src/exporter/utils.d.ts +22 -0
  14. package/dist/src/exporter/wav-audio.d.ts +27 -0
  15. package/dist/src/gesture-handler/gizmo/adsorption-gizmo.d.ts +68 -0
  16. package/dist/src/gesture-handler/gizmo/control-gizmo.d.ts +67 -0
  17. package/dist/src/gesture-handler/gizmo/gizmo.d.ts +59 -0
  18. package/dist/src/gesture-handler/gizmo/icon-gizmo.d.ts +44 -0
  19. package/dist/src/gesture-handler/gizmo/index.d.ts +6 -0
  20. package/dist/src/gesture-handler/gizmo/item-create-gizmo.d.ts +43 -0
  21. package/dist/src/gesture-handler/gizmo/loading-gizmo.d.ts +48 -0
  22. package/dist/src/gesture-handler/gizmo/mask-gizmo.d.ts +113 -0
  23. package/dist/src/gesture-handler/gizmo/picture-cut-gizmo.d.ts +94 -0
  24. package/dist/src/gesture-handler/gizmo/picture-expand-gizmo.d.ts +57 -0
  25. package/dist/src/gesture-handler/gizmo/preference-gizmo.d.ts +32 -0
  26. package/dist/src/gesture-handler/gizmo/selector-gizmo.d.ts +101 -0
  27. package/dist/src/gesture-handler/gizmo/sprite-text-edit-gizmo.d.ts +36 -0
  28. package/dist/src/gesture-handler/gizmo/text-gizmo.d.ts +128 -0
  29. package/dist/src/gesture-handler/gizmo/transform-gizmo.d.ts +233 -0
  30. package/dist/src/gesture-handler/gizmo/type.d.ts +402 -0
  31. package/dist/src/gesture-handler/index.d.ts +3 -0
  32. package/dist/src/gesture-handler/src/gesture-handler.d.ts +143 -0
  33. package/dist/src/gesture-handler/src/icons.d.ts +7 -0
  34. package/dist/src/gesture-handler/utils.d.ts +2 -0
  35. package/dist/src/html-overlay/document-runtime.d.ts +3 -0
  36. package/dist/src/html-overlay/document-transform.d.ts +7 -0
  37. package/dist/src/html-overlay/index.d.ts +1 -0
  38. package/dist/src/html-overlay/manager.d.ts +43 -0
  39. package/dist/src/html-overlay/mime-utils.d.ts +2 -0
  40. package/dist/src/html-overlay/path-utils.d.ts +8 -0
  41. package/dist/src/index.d.ts +14 -0
  42. package/dist/src/math/box2.d.ts +166 -0
  43. package/dist/src/math/circle.d.ts +82 -0
  44. package/dist/src/math/euler.d.ts +20 -0
  45. package/dist/src/math/index.d.ts +13 -0
  46. package/dist/src/math/line2.d.ts +93 -0
  47. package/dist/src/math/line3.d.ts +17 -0
  48. package/dist/src/math/matrix4.d.ts +28 -0
  49. package/dist/src/math/plane.d.ts +14 -0
  50. package/dist/src/math/quaternion.d.ts +3 -0
  51. package/dist/src/math/ray-caster.d.ts +10 -0
  52. package/dist/src/math/ray.d.ts +18 -0
  53. package/dist/src/math/type.d.ts +32 -0
  54. package/dist/src/math/utils.d.ts +19 -0
  55. package/dist/src/math/vector2.d.ts +30 -0
  56. package/dist/src/math/vector3.d.ts +29 -0
  57. package/dist/src/screen-shot/index.d.ts +1 -0
  58. package/dist/src/screen-shot/screen-shot.d.ts +35 -0
  59. package/dist/src/sdk-item/base-item.d.ts +126 -0
  60. package/dist/src/sdk-item/card-item.d.ts +57 -0
  61. package/dist/src/sdk-item/effects-item.d.ts +70 -0
  62. package/dist/src/sdk-item/frame-item.d.ts +112 -0
  63. package/dist/src/sdk-item/generator-item.d.ts +86 -0
  64. package/dist/src/sdk-item/group-item.d.ts +57 -0
  65. package/dist/src/sdk-item/index.d.ts +36 -0
  66. package/dist/src/sdk-item/sprite-item.d.ts +67 -0
  67. package/dist/src/sdk-item/text-item.d.ts +107 -0
  68. package/dist/src/sdk-item/types.d.ts +153 -0
  69. package/dist/src/sdk-item/video-item.d.ts +87 -0
  70. package/dist/src/sdk.d.ts +589 -0
  71. package/dist/src/service/UndoRedo.d.ts +48 -0
  72. package/dist/src/shared/index.d.ts +1 -0
  73. package/dist/src/shared/player.d.ts +9 -0
  74. package/dist/src/size-adapte/index.d.ts +1 -0
  75. package/dist/src/size-adapte/size-adapt.d.ts +28 -0
  76. package/dist/src/types.d.ts +1235 -0
  77. package/dist/src/utils/background-manager.d.ts +72 -0
  78. package/dist/src/utils/common-utils.d.ts +28 -0
  79. package/dist/src/utils/index.d.ts +8 -0
  80. package/dist/src/utils/interaction-utils.d.ts +60 -0
  81. package/dist/src/utils/json-data-utils.d.ts +165 -0
  82. package/dist/src/utils/layout-utils.d.ts +219 -0
  83. package/dist/src/utils/page-data-utils.d.ts +370 -0
  84. package/dist/src/utils/player-data-utils.d.ts +11 -0
  85. package/dist/src/utils/types.d.ts +114 -0
  86. package/dist/src/wireframe/common/box.d.ts +1 -0
  87. package/dist/src/wireframe/common/dashed-line.d.ts +1 -0
  88. package/dist/src/wireframe/common/line.d.ts +1 -0
  89. package/dist/src/wireframe/common/pixi-ext.d.ts +11 -0
  90. package/dist/src/wireframe/common/pixi.d.ts +18 -0
  91. package/dist/src/wireframe/index.d.ts +4 -0
  92. package/package.json +41 -23
  93. package/dist/index.cjs +0 -14
  94. package/dist/index.d.cts +0 -4891
  95. package/dist/index.d.ts +0 -4891
  96. package/dist/index.global.js +0 -333
@@ -0,0 +1,57 @@
1
+ import type { GroupCreateInfo, GroupItemProperty } from '../types';
2
+ import { SDKItemType, type GroupItemOptions } from './types';
3
+ import { BaseItem } from './base-item';
4
+ /**
5
+ * @description 空节点/组 SDKItem 类
6
+ * @description 支持属性扩展
7
+ */
8
+ export declare class GroupItem extends BaseItem {
9
+ /**
10
+ * @description 元素类型
11
+ */
12
+ readonly type = SDKItemType.GROUP;
13
+ /**
14
+ * @description 元素属性
15
+ */
16
+ property: GroupItemProperty;
17
+ constructor(options: GroupItemOptions);
18
+ /**
19
+ * @description 位置
20
+ */
21
+ get position(): [number, number];
22
+ set position(value: [number, number]);
23
+ /**
24
+ * @description 大小
25
+ */
26
+ get scale(): [number, number];
27
+ set scale(value: [number, number]);
28
+ /**
29
+ * @description 旋转(二维旋转角度)
30
+ */
31
+ get rotation(): number;
32
+ set rotation(value: number);
33
+ /**
34
+ * @description 完整旋转(包含 x, y, z)
35
+ */
36
+ get fullRotation(): [number, number, number];
37
+ set fullRotation(value: [number, number, number]);
38
+ /**
39
+ * @description 是否正在编辑关键属性
40
+ * @deprecated 该属性即将废弃,使用 isCoreEditable 代替
41
+ */
42
+ get keyPropertyEditing(): boolean;
43
+ set keyPropertyEditing(value: boolean);
44
+ /**
45
+ * @description 转换为 CreateInfo
46
+ * @param withParent 是否包含父节点ID
47
+ */
48
+ toCreateInfo(withParent?: boolean): GroupCreateInfo;
49
+ /**
50
+ * @description 克隆 SDKItem
51
+ */
52
+ clone(): GroupItem;
53
+ }
54
+ /**
55
+ * @description 类型守卫:检查是否是 GroupItem
56
+ */
57
+ export declare function isGroupItem(obj: any): obj is GroupItem;
@@ -0,0 +1,36 @@
1
+ export type { SDKItemOptions, SpriteItemOptions, TextItemOptions, VideoItemOptions, GroupItemOptions, GeneratorItemOptions, EffectsItemOptions, FrameItemOptions, CardItemOptions,
2
+ /** @deprecated 使用 GeneratorItemOptions 替代 */
3
+ VideoGeneratorItemOptions, } from './types';
4
+ export { SDKItemType, } from './types';
5
+ export { BaseItem, isBaseItem } from './base-item';
6
+ export { SpriteItem, isSpriteItem } from './sprite-item';
7
+ export { TextItem, isTextItem } from './text-item';
8
+ export { VideoItem, isVideoItem } from './video-item';
9
+ export { GroupItem, isGroupItem } from './group-item';
10
+ export { GeneratorItem, isGeneratorItem } from './generator-item';
11
+ export { EffectsItem, isEffectsItem } from './effects-item';
12
+ export { FrameItem, isFrameItem } from './frame-item';
13
+ export { CardItem, isCardItem } from './card-item';
14
+ import { spec } from '../shared';
15
+ import { BaseItem } from './base-item';
16
+ import { SpriteItem } from './sprite-item';
17
+ import { GroupItem } from './group-item';
18
+ import { TextItem } from './text-item';
19
+ import { VideoItem } from './video-item';
20
+ import { GeneratorItem } from './generator-item';
21
+ import type { SDKItemOptions } from './types';
22
+ import { EffectsItem } from './effects-item';
23
+ import type { FrameItem } from './frame-item';
24
+ import type { CardItem } from './card-item';
25
+ /**
26
+ * @description 根据 item type 创建对应的 SDKItem 实例
27
+ * @param type 元素类型
28
+ * @param options SDKItem 选项
29
+ * @returns SDKItem 实例
30
+ */
31
+ export declare function createSDKItem(type: spec.ItemType, options: SDKItemOptions): BaseItem;
32
+ /**
33
+ * @description SDKItem 类型联合
34
+ * @description 用于替换原来的 SDKItem type
35
+ */
36
+ export type SDKItem = SpriteItem | TextItem | VideoItem | GroupItem | GeneratorItem | EffectsItem | FrameItem | CardItem;
@@ -0,0 +1,67 @@
1
+ import type { SpriteItemProperty, SpriteCreateInfo } from '../types';
2
+ import { SDKItemType, type SpriteItemOptions } from './types';
3
+ import { BaseItem } from './base-item';
4
+ /**
5
+ * @description 图片元素 SDKItem 类
6
+ * @description 支持属性扩展
7
+ */
8
+ export declare class SpriteItem extends BaseItem {
9
+ /**
10
+ * @description 元素类型
11
+ */
12
+ readonly type = SDKItemType.SPRITE;
13
+ /**
14
+ * @description 元素属性
15
+ */
16
+ property: SpriteItemProperty;
17
+ constructor(options: SpriteItemOptions);
18
+ /**
19
+ * @description 图片地址
20
+ */
21
+ get image(): string;
22
+ set image(value: string);
23
+ /**
24
+ * @description 位置
25
+ */
26
+ get position(): [number, number];
27
+ set position(value: [number, number]);
28
+ get width(): number;
29
+ set width(value: number);
30
+ get height(): number;
31
+ set height(value: number);
32
+ /**
33
+ * @description 旋转(二维旋转角度)
34
+ */
35
+ get rotation(): number;
36
+ set rotation(value: number);
37
+ /**
38
+ * @description 完整旋转(包含 x, y, z)
39
+ */
40
+ get fullRotation(): [number, number, number];
41
+ set fullRotation(value: [number, number, number]);
42
+ /**
43
+ * @description 是否正在编辑关键属性
44
+ * @deprecated 该属性即将废弃,使用 isCoreEditable 代替
45
+ */
46
+ get keyPropertyEditing(): boolean;
47
+ set keyPropertyEditing(value: boolean);
48
+ /**
49
+ * @description 转换为 CreateInfo
50
+ * @param withParent 是否包含父节点ID
51
+ */
52
+ toCreateInfo(withParent?: boolean): SpriteCreateInfo;
53
+ /**
54
+ * @description 克隆 SDKItem
55
+ */
56
+ clone(): SpriteItem;
57
+ /**
58
+ * @description 创建包含扩展属性的 CreateInfo
59
+ * @param withParent 是否包含父节点ID
60
+ * @param extraProps 额外的属性
61
+ */
62
+ toCreateInfoWithExtensions(withParent?: boolean, extraProps?: Record<string, any>): SpriteCreateInfo;
63
+ }
64
+ /**
65
+ * @description 类型守卫:检查是否是 SpriteItem
66
+ */
67
+ export declare function isSpriteItem(obj: any): obj is SpriteItem;
@@ -0,0 +1,107 @@
1
+ import type { TextItemProperty, TextCreateInfo } from '../types';
2
+ import { spec } from '../shared';
3
+ import { SDKItemType, type TextItemOptions } from './types';
4
+ import { BaseItem } from './base-item';
5
+ /**
6
+ * @description 文本元素 SDKItem 类
7
+ * @description 支持属性扩展
8
+ */
9
+ export declare class TextItem extends BaseItem {
10
+ /**
11
+ * @description 元素类型
12
+ */
13
+ readonly type = SDKItemType.TEXT;
14
+ /**
15
+ * @description 元素属性
16
+ */
17
+ property: TextItemProperty;
18
+ constructor(options: TextItemOptions);
19
+ /**
20
+ * @description 文本内容
21
+ */
22
+ get text(): string;
23
+ set text(value: string);
24
+ /**
25
+ * @description 字体名称
26
+ */
27
+ get fontFamily(): string;
28
+ set fontFamily(value: string);
29
+ /**
30
+ * @description 字号
31
+ */
32
+ get fontSize(): number;
33
+ set fontSize(value: number);
34
+ /**
35
+ * @description 字重
36
+ */
37
+ get fontWeight(): spec.TextWeight;
38
+ set fontWeight(value: spec.TextWeight);
39
+ /**
40
+ * @description 字体样式
41
+ */
42
+ get fontStyle(): spec.FontStyle;
43
+ set fontStyle(value: spec.FontStyle);
44
+ /**
45
+ * @description 文本对齐方式
46
+ */
47
+ get textAlign(): spec.TextAlignment;
48
+ set textAlign(value: spec.TextAlignment);
49
+ /**
50
+ * @description 文本颜色 [r, g, b, a]
51
+ */
52
+ get color(): [number, number, number, number];
53
+ set color(value: [number, number, number, number]);
54
+ /**
55
+ * @description 文本宽度
56
+ */
57
+ get width(): number;
58
+ set width(value: number);
59
+ /**
60
+ * @description 行高
61
+ */
62
+ get lineHeight(): number;
63
+ set lineHeight(value: number);
64
+ /**
65
+ * @description 文本高度
66
+ */
67
+ get height(): number;
68
+ set height(value: number);
69
+ /**
70
+ * @description 描边颜色
71
+ */
72
+ get outlineColor(): spec.vec4 | undefined;
73
+ set outlineColor(value: spec.vec4 | undefined);
74
+ /**
75
+ * @description 描边宽度
76
+ */
77
+ get outlineWidth(): number | undefined;
78
+ set outlineWidth(value: number | undefined);
79
+ /**
80
+ * @description 描边开关
81
+ */
82
+ get outlineEnabled(): boolean;
83
+ set outlineEnabled(value: boolean);
84
+ /**
85
+ * @description 位置
86
+ */
87
+ get position(): [number, number];
88
+ set position(value: [number, number]);
89
+ /**
90
+ * @description 旋转(二维旋转角度)
91
+ */
92
+ get rotation(): number;
93
+ set rotation(value: number);
94
+ /**
95
+ * @description 转换为 CreateInfo
96
+ * @param withParent 是否包含父节点ID
97
+ */
98
+ toCreateInfo(withParent?: boolean): TextCreateInfo;
99
+ /**
100
+ * @description 克隆 SDKItem
101
+ */
102
+ clone(): TextItem;
103
+ }
104
+ /**
105
+ * @description 类型守卫:检查是否是 TextItem
106
+ */
107
+ export declare function isTextItem(obj: any): obj is TextItem;
@@ -0,0 +1,153 @@
1
+ import type { SpriteItemProperty, TextItemProperty, VideoItemProperty, GeneratorItemProperty, GroupItemProperty, EffectsItemProperty, FrameItemProperty, CardItemProperty } from '../types';
2
+ import { spec } from '../shared';
3
+ /**
4
+ * @description SDKItem 基础选项接口
5
+ * @description 支持扩展属性,允许添加任意额外属性
6
+ */
7
+ export type SDKItemOptions = {
8
+ /**
9
+ * @description 元素ID
10
+ */
11
+ id: string;
12
+ /**
13
+ * @description 元素名称
14
+ */
15
+ name: string;
16
+ /**
17
+ * @description 父节点ID
18
+ */
19
+ parentId?: string;
20
+ /**
21
+ * @description 子元素ID列表
22
+ */
23
+ children?: string[];
24
+ /**
25
+ * @description 元素生命周期
26
+ */
27
+ duration?: number;
28
+ /**
29
+ * @description 元素生命周期延时
30
+ */
31
+ delay?: number;
32
+ /**
33
+ * @description 可视状态
34
+ */
35
+ visible?: boolean;
36
+ /**
37
+ * @description 元素结束行为
38
+ */
39
+ endBehavior?: spec.EndBehavior;
40
+ /**
41
+ * @description 是否处于锁定状态
42
+ */
43
+ isLocked?: boolean;
44
+ /**
45
+ * @description 关键属性是否可编辑
46
+ */
47
+ isCoreEditable: boolean;
48
+ /**
49
+ * @description 扩展属性存储(属性名 -> 属性值)
50
+ */
51
+ extension?: Record<string, any>;
52
+ /**
53
+ * @description 允许任意额外属性(用于兼容旧代码)
54
+ */
55
+ [extraProp: string]: any;
56
+ };
57
+ /**
58
+ * @description Sprite SDKItem 选项
59
+ */
60
+ export type SpriteItemOptions = SDKItemOptions & {
61
+ /**
62
+ * @description 元素属性
63
+ */
64
+ property?: Partial<SpriteItemProperty>;
65
+ };
66
+ /**
67
+ * @description Text SDKItem 选项
68
+ */
69
+ export type TextItemOptions = SDKItemOptions & {
70
+ /**
71
+ * @description 元素属性
72
+ */
73
+ property?: Partial<TextItemProperty>;
74
+ };
75
+ /**
76
+ * @description Video SDKItem 选项
77
+ */
78
+ export type VideoItemOptions = SDKItemOptions & {
79
+ /**
80
+ * @description 元素属性
81
+ */
82
+ property?: Partial<VideoItemProperty>;
83
+ };
84
+ /**
85
+ * @description Group SDKItem 选项(空节点/组)
86
+ */
87
+ export type GroupItemOptions = SDKItemOptions & {
88
+ /**
89
+ * @description 元素属性
90
+ */
91
+ property?: Partial<GroupItemProperty>;
92
+ };
93
+ /**
94
+ * @description Generator SDKItem 选项(资源生成器)
95
+ * @description 支持 image 和 video 两种生成器类型
96
+ * @description 使用 GeneratorItemProperty 包含 generatorType
97
+ */
98
+ export type GeneratorItemOptions = SDKItemOptions & {
99
+ /**
100
+ * @description 元素属性(包含 generatorType)
101
+ */
102
+ property?: Partial<GeneratorItemProperty>;
103
+ };
104
+ /**
105
+ * @deprecated 使用 GeneratorItemOptions 替代
106
+ */
107
+ export type VideoGeneratorItemOptions = GeneratorItemOptions;
108
+ export type EffectsItemOptions = SDKItemOptions & {
109
+ property?: Partial<EffectsItemProperty>;
110
+ };
111
+ /**
112
+ * @description Frame 画板元素 SDKItem 选项
113
+ */
114
+ export type FrameItemOptions = SDKItemOptions & {
115
+ /**
116
+ * @description 元素属性
117
+ */
118
+ property?: Partial<FrameItemProperty>;
119
+ };
120
+ /**
121
+ * @description SDKItem 类型(独立于 spec.ItemType)
122
+ * @description 包含所有 SDK 层级的元素类型,包括虚拟类型如 generator
123
+ */
124
+ export declare enum SDKItemType {
125
+ SPRITE = "sprite",
126
+ TEXT = "text",
127
+ VIDEO = "video",
128
+ GROUP = "group",
129
+ GENERATOR = "generator",
130
+ EFFECTS = "effects",
131
+ FRAME = "frame",
132
+ CARD = "card"
133
+ }
134
+ /**
135
+ * @description SDKItemType 与 spec.ItemType 的映射关系
136
+ */
137
+ export declare const SDKItemTypeToSpecItemType: Record<SDKItemType, spec.ItemType>;
138
+ /**
139
+ * @description Card 卡片元素 SDKItem 选项
140
+ * @description 在 Player 中以 SpriteItem 形式渲染
141
+ */
142
+ export type CardItemOptions = SDKItemOptions & {
143
+ /**
144
+ * @description 元素属性(包含 cardType)
145
+ */
146
+ property?: Partial<CardItemProperty>;
147
+ };
148
+ /**
149
+ * @description 根据 SDKItemType 获取对应的 spec.ItemType
150
+ * @param sdkItemType SDKItem 类型
151
+ * @returns 对应的 spec.ItemType
152
+ */
153
+ export declare function getSpecItemType(sdkItemType: SDKItemType): spec.ItemType;
@@ -0,0 +1,87 @@
1
+ import type { VideoItemProperty, VideoCreateInfo } from '../types';
2
+ import { SDKItemType, type VideoItemOptions } from './types';
3
+ import { BaseItem } from './base-item';
4
+ /**
5
+ * @description 视频元素 SDKItem 类
6
+ * @description 支持属性扩展
7
+ */
8
+ export declare class VideoItem extends BaseItem {
9
+ /**
10
+ * @description 元素类型
11
+ */
12
+ readonly type = SDKItemType.VIDEO;
13
+ /**
14
+ * @description 元素属性
15
+ */
16
+ property: VideoItemProperty;
17
+ constructor(options: VideoItemOptions);
18
+ /**
19
+ * @description 视频地址
20
+ */
21
+ get video(): string;
22
+ set video(value: string);
23
+ /**
24
+ * @description 位置
25
+ */
26
+ get position(): [number, number];
27
+ set position(value: [number, number]);
28
+ /**
29
+ * @description 宽度
30
+ */
31
+ get width(): number;
32
+ set width(value: number);
33
+ /**
34
+ * @description 高度
35
+ */
36
+ get height(): number;
37
+ set height(value: number);
38
+ /**
39
+ * @description 旋转(二维旋转角度)
40
+ */
41
+ get rotation(): number;
42
+ set rotation(value: number);
43
+ /**
44
+ * @description 完整旋转(包含 x, y, z)
45
+ */
46
+ get fullRotation(): [number, number, number];
47
+ set fullRotation(value: [number, number, number]);
48
+ /**
49
+ * @description 是否正在编辑关键属性
50
+ * @deprecated 该属性即将废弃,使用 isCoreEditable 代替
51
+ */
52
+ get keyPropertyEditing(): boolean;
53
+ set keyPropertyEditing(value: boolean);
54
+ /**
55
+ * @description 是否静音
56
+ */
57
+ get muted(): boolean;
58
+ set muted(state: boolean);
59
+ /**
60
+ * @description 是否为透明视频
61
+ */
62
+ get transparent(): boolean;
63
+ set transparent(state: boolean);
64
+ /**
65
+ * @description 播放音量
66
+ */
67
+ get volume(): number;
68
+ set volume(value: number);
69
+ /**
70
+ * @description 播放速率
71
+ */
72
+ get playbackRate(): number;
73
+ set playbackRate(value: number);
74
+ /**
75
+ * @description 转换为 CreateInfo
76
+ * @param withParent 是否包含父节点ID
77
+ */
78
+ toCreateInfo(withParent?: boolean): VideoCreateInfo;
79
+ /**
80
+ * @description 克隆 SDKItem
81
+ */
82
+ clone(): VideoItem;
83
+ }
84
+ /**
85
+ * @description 类型守卫:检查是否是 VideoItem
86
+ */
87
+ export declare function isVideoItem(obj: any): obj is VideoItem;