@wevu/compiler 7.0.4 → 7.1.1

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.
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { WevuBindingUpdateMode, WevuBindingUpdateMode as WevuBindingUpdateMode$1, WevuRuntimeBindingManifestV1, WevuRuntimeBindingRecordV1 } from "@weapp-core/constants";
1
2
  import { MpPlatform } from "@weapp-core/shared";
2
3
  import * as t from "@weapp-vite/ast/babelTypes";
3
4
  import { Expression } from "@weapp-vite/ast/babelTypes";
@@ -15,6 +16,106 @@ export declare const builtinComponentsSet: Set<string>;
15
16
  */
16
17
  export declare function isBuiltinComponent(tag: string): boolean;
17
18
  //#endregion
19
+ //#region src/types/diagnostics.d.ts
20
+ type CompilerDiagnosticCode = 'WV1002' | 'WV1003' | 'WV2002' | 'WV2001' | 'WV1001';
21
+ type CompilerDiagnosticSeverity = 'error' | 'warning';
22
+ type CompilerDiagnosticSource = 'expression' | 'jsx' | 'script' | 'sfc' | 'style' | 'template';
23
+ /**
24
+ * 编译源码中的位置。行号和列号均从 1 开始,偏移量从 0 开始。
25
+ */
26
+ interface SourcePosition {
27
+ offset: number;
28
+ line: number;
29
+ column: number;
30
+ }
31
+ /**
32
+ * 编译源码中的半开区间,结束位置不包含在范围内。
33
+ */
34
+ interface SourceSpan {
35
+ start: SourcePosition;
36
+ end: SourcePosition;
37
+ }
38
+ /**
39
+ * 可供构建工具和编辑器稳定消费的编译诊断。
40
+ */
41
+ interface CompilerDiagnostic {
42
+ code: CompilerDiagnosticCode;
43
+ severity: CompilerDiagnosticSeverity;
44
+ message: string;
45
+ filename: string;
46
+ source: CompilerDiagnosticSource;
47
+ loc?: SourceSpan;
48
+ }
49
+ //#endregion
50
+ //#region src/types/bindingManifest.d.ts
51
+ /**
52
+ * 模板绑定的语义类型。
53
+ */
54
+ type WevuBindingKind = 'text' | 'attribute' | 'class' | 'style' | 'if' | 'for' | 'component-prop';
55
+ /**
56
+ * 单个源码依赖及其独立更新策略。
57
+ */
58
+ interface WevuBindingDependencyV1 {
59
+ root: string;
60
+ path?: string;
61
+ updateMode: WevuBindingUpdateMode$1;
62
+ }
63
+ /**
64
+ * 模板绑定所在的词法作用域。
65
+ */
66
+ interface WevuBindingScopeV1 {
67
+ kind: 'root' | 'for' | 'slot-owner' | 'slot-props';
68
+ depth: number;
69
+ locals?: string[];
70
+ }
71
+ /**
72
+ * 单个模板输出与其源码依赖之间的稳定映射。
73
+ */
74
+ interface WevuBindingRecordV1 {
75
+ id: string;
76
+ kind: WevuBindingKind;
77
+ outputPath: string;
78
+ /** 仅在绑定源码归属不同于清单默认文件时记录。 */
79
+ sourceFile?: string;
80
+ sourceRoots: string[];
81
+ sourcePaths?: string[];
82
+ dependencies: WevuBindingDependencyV1[];
83
+ scopes: WevuBindingScopeV1[];
84
+ updateMode: WevuBindingUpdateMode$1;
85
+ sourceLocation?: SourceSpan;
86
+ }
87
+ /**
88
+ * 当前模板使用的按需编译能力。
89
+ */
90
+ interface WevuBindingManifestFeaturesV1 {
91
+ inlineEvents?: true;
92
+ templateRefs?: true;
93
+ scopedSlots?: true;
94
+ model?: true;
95
+ layout?: true;
96
+ functionProps?: true;
97
+ jsxIslands?: true;
98
+ }
99
+ /**
100
+ * 由编译器拥有的第一版完整模板绑定 IR。
101
+ */
102
+ interface WevuBindingManifestV1 {
103
+ version: 1;
104
+ sourceFile: string;
105
+ bindings: WevuBindingRecordV1[];
106
+ features: WevuBindingManifestFeaturesV1;
107
+ }
108
+ /**
109
+ * 注入运行时的 Binding Manifest 精简级别。
110
+ */
111
+ type WevuRuntimeBindingManifestMode = 'compact' | 'diagnostic';
112
+ //#endregion
113
+ //#region src/bindingManifest.d.ts
114
+ /**
115
+ * 将编译期完整 IR 投影为运行时更新和诊断所需的最小元数据。
116
+ */
117
+ export declare function createRuntimeBindingManifest(manifest: WevuBindingManifestV1, mode?: WevuRuntimeBindingManifestMode): WevuRuntimeBindingManifestV1;
118
+ //#endregion
18
119
  //#region src/constants.d.ts
19
120
  export declare const WE_VU_PAGE_HOOK_TO_FEATURE: {
20
121
  readonly onPageScroll: "enableOnPageScroll";
@@ -82,7 +183,7 @@ export type WevuRuntimeApiName = (typeof WE_VU_RUNTIME_APIS)[keyof typeof WE_VU_
82
183
  /**
83
184
  * wevu 内部响应式 API 名称。
84
185
  */
85
- export declare const WE_VU_INTERNAL_REACTIVITY_APIS: readonly ["addMutationRecorder", "batch", "computed", "customRef", "effect", "effectScope", "endBatch", "getCurrentScope", "getDeepWatchStrategy", "getReactiveVersion", "isProxy", "isRaw", "isReactive", "isReadonly", "isRef", "isShallowReactive", "isShallowRef", "markRaw", "nextTick", "onScopeDispose", "prelinkReactiveTree", "reactive", "readonly", "ref", "removeMutationRecorder", "setDeepWatchStrategy", "shallowReactive", "shallowReadonly", "shallowRef", "startBatch", "stop", "toRaw", "toRef", "toRefs", "toValue", "touchReactive", "traverse", "triggerRef", "unref", "watch", "watchEffect", "watchPostEffect", "watchSyncEffect"];
186
+ export declare const WE_VU_INTERNAL_REACTIVITY_APIS: readonly ["addMutationRecorder", "batch", "computed", "customRef", "effect", "effectScope", "endBatch", "getCurrentScope", "getDeepWatchStrategy", "getReactiveVersion", "isProxy", "isRaw", "isReactive", "isReadonly", "isRef", "isShallowReactive", "isShallowRef", "markRaw", "nextTick", "onScopeDispose", "prelinkReactiveTree", "reactive", "readonly", "ref", "removeMutationRecorder", "setDeepWatchStrategy", "shallowReactive", "shallowReadonly", "shallowRef", "startBatch", "stop", "toRaw", "toRef", "toRefs", "toValue", "touchReactive", "traverse", "triggerRef", "unref", "useAsyncDerivation", "watch", "watchEffect", "watchPostEffect", "watchSyncEffect"];
86
187
  /**
87
188
  * wevu 内部模板工具 API 名称。
88
189
  */
@@ -92,35 +193,45 @@ export declare const WE_VU_INTERNAL_TEMPLATE_APIS: readonly ["normalizeClass", "
92
193
  */
93
194
  export declare function resolveWevuInternalImportModuleId(apiName: string): "virtual:weapp-vite/runtime" | "virtual:weapp-vite/runtime/reactivity" | "virtual:weapp-vite/runtime/template";
94
195
  //#endregion
95
- //#region src/types/diagnostics.d.ts
96
- type CompilerDiagnosticCode = 'WV1002' | 'WV1003' | 'WV2002' | 'WV2001' | 'WV1001';
97
- type CompilerDiagnosticSeverity = 'error' | 'warning';
98
- type CompilerDiagnosticSource = 'expression' | 'jsx' | 'script' | 'sfc' | 'style' | 'template';
196
+ //#region src/runtimeCapabilities.d.ts
99
197
  /**
100
- * 编译源码中的位置。行号和列号均从 1 开始,偏移量从 0 开始。
198
+ * wevu 编译器内部使用的运行时能力规范顺序。
199
+ *
200
+ * @internal
101
201
  */
102
- interface SourcePosition {
103
- offset: number;
104
- line: number;
105
- column: number;
106
- }
202
+ declare const WE_VU_RUNTIME_CAPABILITY_ORDER: readonly ["patchStrategy", "templateRefs", "inlineEvents", "setDataHighFrequencyWarning", "scopedSlots", "layout"];
107
203
  /**
108
- * 编译源码中的半开区间,结束位置不包含在范围内。
204
+ * wevu 编译器内部使用的运行时能力名称。
205
+ *
206
+ * @internal
109
207
  */
110
- interface SourceSpan {
111
- start: SourcePosition;
112
- end: SourcePosition;
113
- }
208
+ type WevuRuntimeCapabilityName = (typeof WE_VU_RUNTIME_CAPABILITY_ORDER)[number];
114
209
  /**
115
- * 可供构建工具和编辑器稳定消费的编译诊断。
210
+ * compiler 各阶段与 bundler 之间传递的内部运行时能力元数据。
211
+ *
212
+ * @internal
116
213
  */
117
- interface CompilerDiagnostic {
118
- code: CompilerDiagnosticCode;
119
- severity: CompilerDiagnosticSeverity;
120
- message: string;
121
- filename: string;
122
- source: CompilerDiagnosticSource;
123
- loc?: SourceSpan;
214
+ interface WevuRuntimeCapabilityMetadata {
215
+ required: WevuRuntimeCapabilityName[];
216
+ conservative?: WevuRuntimeCapabilityName[];
217
+ }
218
+ //#endregion
219
+ //#region src/types/componentStyleOptions.d.ts
220
+ /** 编译期可证明的静态原语;显式 undefined 与属性缺失分别保留。 */
221
+ type ComponentStylePrimitive = string | boolean | number | null | undefined;
222
+ /** 小程序组件样式选项的静态解析状态。 */
223
+ type StaticComponentStyleOption = {
224
+ kind: 'absent';
225
+ } | {
226
+ kind: 'unknown';
227
+ } | {
228
+ kind: 'known';
229
+ value: ComponentStylePrimitive;
230
+ };
231
+ /** Component 注册 options 的静态样式信息;定义过滤器等可能修改宿主配置时不产出此元数据。 */
232
+ interface ComponentStyleOptions {
233
+ styleIsolation: StaticComponentStyleOption;
234
+ addGlobalClass: StaticComponentStyleOption;
124
235
  }
125
236
  //#endregion
126
237
  //#region src/types/json.d.ts
@@ -166,6 +277,40 @@ interface JsonConfig {
166
277
  mergeStrategy?: JsonMergeStrategy;
167
278
  }
168
279
  //#endregion
280
+ //#region src/types/pageLayout.d.ts
281
+ /**
282
+ * 页面布局属性可序列化值。
283
+ */
284
+ type CompilerLayoutPropValue = string | number | boolean | null | {
285
+ kind: 'expression';
286
+ expression: string;
287
+ };
288
+ /**
289
+ * 编译阶段需要的单个页面布局描述。
290
+ */
291
+ interface CompilerPageLayout {
292
+ importPath: string;
293
+ layoutName: string;
294
+ tagName: string;
295
+ props?: Record<string, CompilerLayoutPropValue>;
296
+ }
297
+ /**
298
+ * 构建工具解析后传给编译器的页面布局计划。
299
+ */
300
+ interface CompilerPageLayoutPlan {
301
+ currentLayout?: CompilerPageLayout;
302
+ dynamicSwitch: boolean;
303
+ layouts: CompilerPageLayout[];
304
+ dynamicPropKeys: string[];
305
+ }
306
+ /**
307
+ * 构建工具解析后传给编译器的应用外壳描述。
308
+ */
309
+ interface CompilerAppShell {
310
+ importPath: string;
311
+ tagName: string;
312
+ }
313
+ //#endregion
169
314
  //#region src/types/wevu.d.ts
170
315
  /**
171
316
  * wevu JSON 默认值配置(app/component)。
@@ -286,6 +431,7 @@ interface MiniProgramPlatform {
286
431
  keyThisValue: string;
287
432
  keyAttr: (value: string) => string;
288
433
  mapEventName: (eventName: string) => string;
434
+ eventBindingAlias?: (eventName: string, tagName?: string) => string | undefined;
289
435
  eventBindingAttr: (eventName: string) => string;
290
436
  }
291
437
  //#endregion
@@ -300,11 +446,16 @@ interface ScopedSlotComponentAsset {
300
446
  hostComponentName?: string;
301
447
  slotKey: string;
302
448
  template: string;
449
+ script: string;
450
+ scriptMap?: EncodedSourceMapLike | null;
451
+ bindingManifest: WevuBindingManifestV1;
303
452
  componentGenerics?: Record<string, true>;
304
- classStyleBindings?: ClassStyleBinding[];
305
453
  classStyleWxs?: boolean;
306
454
  inlineExpressions?: InlineExpressionAsset[];
307
455
  templateRefs?: TemplateRefBinding[];
456
+ layoutHosts?: LayoutHostBinding[];
457
+ /** @internal */
458
+ runtimeCapabilities?: WevuRuntimeCapabilityMetadata;
308
459
  }
309
460
  /**
310
461
  * 内联表达式资源描述。
@@ -336,6 +487,7 @@ interface InlineExpressionAsset {
336
487
  interface TemplateCompileResult {
337
488
  code: string;
338
489
  diagnostics: CompilerDiagnostic[];
490
+ bindingManifest: WevuBindingManifestV1;
339
491
  scopedSlotComponents?: ScopedSlotComponentAsset[];
340
492
  slotFallbackWrapperComponent?: SlotFallbackWrapperComponentAsset;
341
493
  componentGenerics?: Record<string, true>;
@@ -345,7 +497,10 @@ interface TemplateCompileResult {
345
497
  templateRefs?: TemplateRefBinding[];
346
498
  layoutHosts?: LayoutHostBinding[];
347
499
  inlineExpressions?: InlineExpressionAsset[];
500
+ /** @internal */
501
+ runtimeCapabilities?: WevuRuntimeCapabilityMetadata;
348
502
  functionPropPaths?: string[];
503
+ hasSlotOutlet?: boolean;
349
504
  }
350
505
  /**
351
506
  * v-for 解析结果。
@@ -354,6 +509,8 @@ interface ForParseResult {
354
509
  listExp?: string;
355
510
  rawListExp?: string;
356
511
  listExpAst?: Expression;
512
+ /** 保留祖先循环原始项访问,供 key 投影计算遍历使用。 */
513
+ rawListExpAst?: Expression;
357
514
  projectedListExp?: string;
358
515
  projectedListExpAst?: Expression;
359
516
  item?: string;
@@ -386,6 +543,7 @@ interface TemplateCompileOptions {
386
543
  objectLiteralBindMode?: ObjectLiteralBindMode;
387
544
  mustacheInterpolation?: MustacheInterpolationMode;
388
545
  formatWxml?: boolean;
546
+ runtimeBindingManifest?: WevuRuntimeBindingManifestMode;
389
547
  wxsExtension?: string;
390
548
  classStyleWxsSrc?: string;
391
549
  functionPropNames?: Iterable<FunctionPropNameMatcher>;
@@ -454,6 +612,16 @@ type ObjectLiteralBindMode = 'runtime' | 'inline';
454
612
  * Mustache 输出风格。
455
613
  */
456
614
  type MustacheInterpolationMode = 'compact' | 'spaced';
615
+ /**
616
+ * 运行时绑定的条件分支及其循环作用域。
617
+ */
618
+ interface BindingCondition {
619
+ expAst: Expression;
620
+ /** 键投影遍历原始项时使用的条件。 */
621
+ rawExpAst?: Expression;
622
+ /** 条件必须在对应循环深度进入下一层列表之前求值。 */
623
+ forDepth: number;
624
+ }
457
625
  /**
458
626
  * class/style 绑定信息。
459
627
  */
@@ -464,6 +632,7 @@ interface ClassStyleBinding {
464
632
  expAst?: Expression;
465
633
  errorFallback?: string;
466
634
  forStack: ForParseResult[];
635
+ conditions?: BindingCondition[];
467
636
  }
468
637
  /**
469
638
  * template ref 绑定信息。
@@ -553,6 +722,7 @@ interface VueTransformResult {
553
722
  template?: string;
554
723
  style?: string;
555
724
  config?: string;
725
+ bindingManifest?: WevuBindingManifestV1;
556
726
  diagnostics?: CompilerDiagnostic[];
557
727
  cssModules?: Record<string, Record<string, string>>;
558
728
  scopedSlotComponents?: TemplateCompileResult['scopedSlotComponents'];
@@ -560,6 +730,10 @@ interface VueTransformResult {
560
730
  componentGenerics?: TemplateCompileResult['componentGenerics'];
561
731
  classStyleWxs?: boolean;
562
732
  meta?: {
733
+ /** @internal */
734
+ componentStyleOptions?: ComponentStyleOptions;
735
+ /** @internal */
736
+ runtimeCapabilities?: WevuRuntimeCapabilityMetadata;
563
737
  hasScriptSetup?: boolean;
564
738
  hasSetupOption?: boolean;
565
739
  jsonMacroHash?: string;
@@ -635,6 +809,26 @@ interface CompileVueFileOptions {
635
809
  * 是否生成脚本 sourcemap。默认开启;构建工具可在未启用 sourcemap 时显式关闭以减少 codegen 成本。
636
810
  */
637
811
  sourceMap?: boolean;
812
+ /**
813
+ * 是否根据绑定清单自动合并 setData.pick。
814
+ */
815
+ autoSetDataPick?: boolean;
816
+ /**
817
+ * 绑定清单中记录的源码文件名;默认使用当前编译文件名。
818
+ */
819
+ bindingManifestSourceFile?: string;
820
+ /**
821
+ * 注入组件脚本的 Binding Manifest 精简级别;默认仅保留运行时必要字段。
822
+ */
823
+ runtimeBindingManifest?: WevuRuntimeBindingManifestMode;
824
+ /**
825
+ * 构建工具预先解析的可序列化页面布局计划。
826
+ */
827
+ pageLayout?: CompilerPageLayoutPlan;
828
+ /**
829
+ * 页面布局外层的应用外壳。
830
+ */
831
+ appShell?: CompilerAppShell;
638
832
  warn?: (message: string) => void;
639
833
  autoUsingComponents?: AutoUsingComponentsOptions;
640
834
  autoImportTags?: AutoImportTagsOptions;
@@ -699,18 +893,15 @@ export declare function transformUniAppSource(source: string, options: Transform
699
893
  export declare function isUniAppCompatibilityFile(filename: string, srcRoot: string, include: readonly string[]): boolean;
700
894
  //#endregion
701
895
  //#region src/plugins/utils/cache.d.ts
702
- export declare const mtimeCache: Map<string, {
896
+ interface FileSignature {
703
897
  ctimeMs: number;
704
898
  ino: number;
705
899
  mtimeMs: number;
706
900
  size: number;
707
- }>;
901
+ }
902
+ export declare const mtimeCache: Map<string, FileSignature>;
708
903
  export declare const loadCache: LRUCache<string, string, unknown>;
709
- /**
710
- * 返回 true 的时候需要重新 fs 读取
711
- * @param id 文件路径
712
- * @returns {Promise<boolean>} 当文件需要重新读取时返回 true
713
- */
904
+ /** 检查文件签名是否变化;签名观察不能单独证明缓存内容已更新。 */
714
905
  export declare function isInvalidate(id: string): Promise<boolean>;
715
906
  export declare function readFile(id: string, options?: {
716
907
  checkMtime?: boolean;
@@ -732,9 +923,7 @@ export declare function invalidateFileCache(id: string): void;
732
923
  export declare function clearFileCaches(): void;
733
924
  //#endregion
734
925
  //#region src/plugins/vue/compiler/wxss.d.ts
735
- /**
736
- * 压平 WXSS 不接受的嵌套 CSS 变量回退值。
737
- */
926
+ /** 保留兼容入口;WXSS 支持嵌套变量回退,不得丢弃依赖级联的内层变量。 */
738
927
  export declare function transformNestedWxssVars(source: string): string;
739
928
  //#endregion
740
929
  //#region src/plugins/vue/compiler/style.d.ts
@@ -923,6 +1112,10 @@ interface TransformResult {
923
1112
  code: string;
924
1113
  transformed: boolean;
925
1114
  map?: EncodedSourceMapLike | null;
1115
+ /** @internal */
1116
+ runtimeCapabilities?: WevuRuntimeCapabilityMetadata;
1117
+ /** @internal */
1118
+ componentStyleOptions?: ComponentStyleOptions;
926
1119
  }
927
1120
  interface TransformScriptOptions {
928
1121
  /**
@@ -985,6 +1178,24 @@ interface TransformScriptOptions {
985
1178
  * 内联表达式元数据(用于事件处理)
986
1179
  */
987
1180
  inlineExpressions?: InlineExpressionAsset[];
1181
+ /**
1182
+ * 模板遍历产生的版本化绑定清单。
1183
+ */
1184
+ bindingManifest?: WevuBindingManifestV1;
1185
+ /**
1186
+ * 注入组件脚本的 Binding Manifest 精简级别。
1187
+ */
1188
+ runtimeBindingManifest?: WevuRuntimeBindingManifestMode;
1189
+ /**
1190
+ * 是否根据绑定清单自动合并 setData.pick。
1191
+ */
1192
+ autoSetDataPick?: boolean;
1193
+ /**
1194
+ * 当前页面的编译期布局计划。
1195
+ */
1196
+ pageLayout?: CompilerPageLayoutPlan;
1197
+ /** @internal */
1198
+ runtimeCapabilities?: WevuRuntimeCapabilityMetadata;
988
1199
  /**
989
1200
  * 模板中作为组件 prop 传递的函数候选路径。
990
1201
  */
@@ -1188,4 +1399,4 @@ interface CollectVueTemplateTagsOptions {
1188
1399
  */
1189
1400
  export declare function collectVueTemplateTags(template: string, options: CollectVueTemplateTagsOptions): Set<string>;
1190
1401
  //#endregion
1191
- export { type AstEngineName, type AutoImportTagsOptions, type AutoUsingComponentsOptions, type ClassStyleBinding, type ClassStyleRuntime, type CollectVueTemplateTagsOptions, type CompileVueFileOptions, type CompilerDiagnostic, type CompilerDiagnosticCode, type CompilerDiagnosticSeverity, type CompilerDiagnosticSource, type ForParseResult, type InlineExpressionAsset, type JsLikeLang, type JsonConfig, type JsonMergeContext, type JsonMergeStage, type JsonMergeStrategy, type MiniProgramPlatform, type ModuleResolver, type MpPlatform, type ReadAndParseSfcOptions, type ResolveSfcBlockSrcOptions, type ResolvedUsingComponentInfo, type ResolvedUsingComponentPath, type ScopedSlotComponentAsset, type SlotFallbackWrapperComponentAsset, type SlotFallbackWrapperStrategy, type SourcePosition, type SourceSpan, type StyleCompileOptions, type StyleCompileResult, type TemplateCompileOptions, type TemplateCompileResult, type TemplateRefBinding, type TransformResult, type TransformScriptOptions, type TransformUniAppSourceOptions, type UniAppCompatibilityTarget, type VueSfcBlockChanges, type VueSfcBlockSignatures, type VueSfcBlockType, type VueSfcHmrSignatures, type VueTransformResult, type WevuDefaults, compileVueFile as compileSfc, compileVueStyleToWxss as compileStyle, compileVueTemplateToWxml as compileTemplate, transformScript as transformSfcScript };
1402
+ export { type AstEngineName, type AutoImportTagsOptions, type AutoUsingComponentsOptions, type BindingCondition, type ClassStyleBinding, type ClassStyleRuntime, type CollectVueTemplateTagsOptions, type CompileVueFileOptions, type CompilerAppShell, type CompilerDiagnostic, type CompilerDiagnosticCode, type CompilerDiagnosticSeverity, type CompilerDiagnosticSource, type CompilerLayoutPropValue, type CompilerPageLayout, type CompilerPageLayoutPlan, type ComponentStyleOptions, type ComponentStylePrimitive, type ForParseResult, type InlineExpressionAsset, type JsLikeLang, type JsonConfig, type JsonMergeContext, type JsonMergeStage, type JsonMergeStrategy, type MiniProgramPlatform, type ModuleResolver, type MpPlatform, type ReadAndParseSfcOptions, type ResolveSfcBlockSrcOptions, type ResolvedUsingComponentInfo, type ResolvedUsingComponentPath, type ScopedSlotComponentAsset, type SlotFallbackWrapperComponentAsset, type SlotFallbackWrapperStrategy, type SourcePosition, type SourceSpan, type StaticComponentStyleOption, type StyleCompileOptions, type StyleCompileResult, type TemplateCompileOptions, type TemplateCompileResult, type TemplateRefBinding, type TransformResult, type TransformScriptOptions, type TransformUniAppSourceOptions, type UniAppCompatibilityTarget, type VueSfcBlockChanges, type VueSfcBlockSignatures, type VueSfcBlockType, type VueSfcHmrSignatures, type VueTransformResult, type WevuBindingDependencyV1, type WevuBindingKind, type WevuBindingManifestFeaturesV1, type WevuBindingManifestV1, type WevuBindingRecordV1, type WevuBindingScopeV1, type WevuBindingUpdateMode, type WevuDefaults, type WevuRuntimeBindingManifestMode, type WevuRuntimeBindingManifestV1, type WevuRuntimeBindingRecordV1, compileVueFile as compileSfc, compileVueStyleToWxss as compileStyle, compileVueTemplateToWxml as compileTemplate, transformScript as transformSfcScript };