@marko/runtime-tags 0.2.5 → 0.3.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.
Files changed (81) hide show
  1. package/dist/translator/core/attrs.d.ts +3 -0
  2. package/dist/translator/core/client.d.ts +14 -0
  3. package/dist/translator/core/const.d.ts +3 -0
  4. package/dist/translator/core/debug.d.ts +3 -0
  5. package/dist/translator/core/define.d.ts +3 -0
  6. package/dist/translator/core/effect.d.ts +3 -0
  7. package/dist/translator/core/export.d.ts +3 -0
  8. package/dist/translator/core/for.d.ts +67 -0
  9. package/dist/translator/core/html-comment.d.ts +12 -0
  10. package/dist/translator/core/html-script.d.ts +9 -0
  11. package/dist/translator/core/html-style.d.ts +9 -0
  12. package/dist/translator/core/id.d.ts +3 -0
  13. package/dist/translator/core/if.d.ts +53 -0
  14. package/dist/translator/core/import.d.ts +3 -0
  15. package/dist/translator/core/index.d.ts +152 -0
  16. package/dist/translator/core/let.d.ts +8 -0
  17. package/dist/translator/core/lifecycle.d.ts +10 -0
  18. package/dist/translator/core/log.d.ts +3 -0
  19. package/dist/translator/core/return.d.ts +6 -0
  20. package/dist/translator/core/script.d.ts +3 -0
  21. package/dist/translator/core/server.d.ts +14 -0
  22. package/dist/translator/core/static.d.ts +14 -0
  23. package/dist/translator/core/style.d.ts +3 -0
  24. package/dist/translator/index.d.ts +201 -0
  25. package/dist/translator/index.js +9205 -0
  26. package/dist/translator/util/assert.d.ts +3 -0
  27. package/dist/translator/util/binding-has-downstream-expressions.d.ts +2 -0
  28. package/dist/translator/util/entry-builder.d.ts +19 -0
  29. package/dist/translator/util/evaluate.d.ts +11 -0
  30. package/dist/translator/util/for-each-identifier.d.ts +2 -0
  31. package/dist/translator/util/get-defined-binding-expression.d.ts +3 -0
  32. package/dist/translator/util/get-known-attr-values.d.ts +2 -0
  33. package/dist/translator/util/get-parent-tag.d.ts +2 -0
  34. package/dist/translator/util/get-root.d.ts +7 -0
  35. package/dist/translator/util/get-tag-name.d.ts +2 -0
  36. package/dist/translator/util/is-core-tag.d.ts +10 -0
  37. package/dist/translator/util/is-stateful.d.ts +3 -0
  38. package/dist/translator/util/is-static.d.ts +2 -0
  39. package/dist/translator/util/marko-config.d.ts +4 -0
  40. package/dist/translator/util/nested-attribute-tags.d.ts +17 -0
  41. package/dist/translator/util/normalize-string-expression.d.ts +3 -0
  42. package/dist/translator/util/optional.d.ts +20 -0
  43. package/dist/translator/util/plugin-hooks.d.ts +4 -0
  44. package/dist/translator/util/references.d.ts +84 -0
  45. package/dist/translator/util/runtime-info.d.ts +5 -0
  46. package/dist/translator/util/runtime.d.ts +15 -0
  47. package/dist/translator/util/scope-read.d.ts +6 -0
  48. package/dist/translator/util/sections.d.ts +51 -0
  49. package/dist/translator/util/signals.d.ts +61 -0
  50. package/dist/translator/util/simplify-fn.d.ts +5 -0
  51. package/dist/translator/util/state.d.ts +3 -0
  52. package/dist/translator/util/tag-name-type.d.ts +16 -0
  53. package/dist/translator/util/to-first-expression-or-block.d.ts +3 -0
  54. package/dist/translator/util/to-first-statement-or-block.d.ts +2 -0
  55. package/dist/translator/util/to-property-name.d.ts +7 -0
  56. package/dist/translator/util/translate-attrs.d.ts +12 -0
  57. package/dist/translator/util/translate-var.d.ts +2 -0
  58. package/dist/translator/util/traverse.d.ts +9 -0
  59. package/dist/translator/util/visitors.d.ts +11 -0
  60. package/dist/translator/util/walks.d.ts +15 -0
  61. package/dist/translator/util/with-previous-location.d.ts +2 -0
  62. package/dist/translator/util/writer.d.ts +13 -0
  63. package/dist/translator/visitors/cdata.d.ts +7 -0
  64. package/dist/translator/visitors/comment.d.ts +7 -0
  65. package/dist/translator/visitors/declaration.d.ts +7 -0
  66. package/dist/translator/visitors/document-type.d.ts +7 -0
  67. package/dist/translator/visitors/function.d.ts +19 -0
  68. package/dist/translator/visitors/import-declaration.d.ts +8 -0
  69. package/dist/translator/visitors/placeholder.d.ts +22 -0
  70. package/dist/translator/visitors/program/dom.d.ts +7 -0
  71. package/dist/translator/visitors/program/html.d.ts +8 -0
  72. package/dist/translator/visitors/program/index.d.ts +39 -0
  73. package/dist/translator/visitors/referenced-identifier.d.ts +7 -0
  74. package/dist/translator/visitors/scriptlet.d.ts +8 -0
  75. package/dist/translator/visitors/tag/attribute-tag.d.ts +11 -0
  76. package/dist/translator/visitors/tag/custom-tag.d.ts +19 -0
  77. package/dist/translator/visitors/tag/dynamic-tag.d.ts +18 -0
  78. package/dist/translator/visitors/tag/index.d.ts +15 -0
  79. package/dist/translator/visitors/tag/native-tag.d.ts +25 -0
  80. package/dist/translator/visitors/text.d.ts +7 -0
  81. package/package.json +5 -1
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { types as t } from "@marko/compiler";
2
+ declare const _default: {
3
+ parse(tag: t.NodePath<t.MarkoTag>): void;
4
+ parseOptions: {
5
+ statement: boolean;
6
+ rawOpenTag: boolean;
7
+ };
8
+ autocomplete: {
9
+ displayText: string;
10
+ description: string;
11
+ descriptionMoreURL: string;
12
+ }[];
13
+ };
14
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,67 @@
1
+ import { types as t } from "@marko/compiler";
2
+ import { type Binding } from "../util/references";
3
+ type ForType = "in" | "of" | "to";
4
+ declare const kForMarkerBinding: unique symbol;
5
+ declare const kForScopeStartIndex: unique symbol;
6
+ declare const kOnlyChildInParent: unique symbol;
7
+ declare module "@marko/compiler/dist/types" {
8
+ interface NodeExtra {
9
+ [kForMarkerBinding]?: Binding;
10
+ [kForScopeStartIndex]?: t.Identifier;
11
+ [kOnlyChildInParent]?: boolean;
12
+ }
13
+ }
14
+ declare const _default: {
15
+ analyze(tag: t.NodePath<t.MarkoTag>): void;
16
+ translate: {
17
+ readonly enter: (path: t.NodePath<t.MarkoTag>) => void;
18
+ readonly exit: (path: t.NodePath<t.MarkoTag>) => void;
19
+ };
20
+ parseOptions: {
21
+ controlFlow: true;
22
+ };
23
+ attributes: {
24
+ of: {
25
+ type: string;
26
+ autocomplete: {
27
+ description: string;
28
+ }[];
29
+ };
30
+ in: {
31
+ type: string;
32
+ autocomplete: {
33
+ description: string;
34
+ }[];
35
+ };
36
+ to: {
37
+ type: string;
38
+ autocomplete: {
39
+ description: string;
40
+ }[];
41
+ };
42
+ from: {
43
+ type: string;
44
+ autocomplete: {
45
+ description: string;
46
+ }[];
47
+ };
48
+ step: {
49
+ type: string;
50
+ autocomplete: {
51
+ description: string;
52
+ }[];
53
+ };
54
+ };
55
+ autocomplete: ({
56
+ snippet: string;
57
+ description: string;
58
+ descriptionMoreURL: string;
59
+ } | {
60
+ snippet: string;
61
+ descriptionMoreURL: string;
62
+ description?: undefined;
63
+ })[];
64
+ };
65
+ export default _default;
66
+ export declare function buildForRuntimeCall(type: ForType, attrs: Record<string, t.Expression>, params: t.ArrowFunctionExpression["params"], statements: t.Statement[]): t.ExpressionStatement;
67
+ export declare function getForType(tag: t.MarkoTag): ForType | undefined;
@@ -0,0 +1,12 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ import { type Binding } from "../util/references";
3
+ export declare const kCommentTagBinding: unique symbol;
4
+ declare const kGetterId: unique symbol;
5
+ declare module "@marko/compiler/dist/types" {
6
+ interface NodeExtra {
7
+ [kCommentTagBinding]?: Binding;
8
+ [kGetterId]?: string;
9
+ }
10
+ }
11
+ declare const _default: Tag;
12
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const kGetterId: unique symbol;
3
+ declare module "@marko/compiler/dist/types" {
4
+ interface NodeExtra {
5
+ [kGetterId]?: string;
6
+ }
7
+ }
8
+ declare const _default: Tag;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const kGetterId: unique symbol;
3
+ declare module "@marko/compiler/dist/types" {
4
+ interface NodeExtra {
5
+ [kGetterId]?: string;
6
+ }
7
+ }
8
+ declare const _default: Tag;
9
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import { types as t } from "@marko/compiler";
2
+ import { type Binding } from "../util/references";
3
+ declare const kBinding: unique symbol;
4
+ declare module "@marko/compiler/dist/types" {
5
+ interface MarkoTagExtra {
6
+ [kBinding]?: Binding;
7
+ }
8
+ }
9
+ export declare const IfTag: {
10
+ analyze(tag: t.NodePath<t.MarkoTag>): void;
11
+ translate: {
12
+ readonly enter: (path: t.NodePath<t.MarkoTag>) => void;
13
+ readonly exit: (path: t.NodePath<t.MarkoTag>) => void;
14
+ };
15
+ parseOptions: {
16
+ controlFlow: true;
17
+ };
18
+ autocomplete: {
19
+ snippet: string;
20
+ description: string;
21
+ descriptionMoreURL: string;
22
+ }[];
23
+ };
24
+ export declare const ElseIfTag: {
25
+ autocomplete: {
26
+ snippet: string;
27
+ description: string;
28
+ descriptionMoreURL: string;
29
+ }[];
30
+ analyze(tag: t.NodePath<t.MarkoTag>): void;
31
+ translate: {
32
+ readonly enter: (path: t.NodePath<t.MarkoTag>) => void;
33
+ readonly exit: (path: t.NodePath<t.MarkoTag>) => void;
34
+ };
35
+ parseOptions: {
36
+ controlFlow: true;
37
+ };
38
+ };
39
+ export declare const ElseTag: {
40
+ autocomplete: {
41
+ description: string;
42
+ descriptionMoreURL: string;
43
+ }[];
44
+ analyze(tag: t.NodePath<t.MarkoTag>): void;
45
+ translate: {
46
+ readonly enter: (path: t.NodePath<t.MarkoTag>) => void;
47
+ readonly exit: (path: t.NodePath<t.MarkoTag>) => void;
48
+ };
49
+ parseOptions: {
50
+ controlFlow: true;
51
+ };
52
+ };
53
+ export {};
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,152 @@
1
+ declare const _default: {
2
+ taglibId: string;
3
+ "<attrs>": import("@marko/compiler/babel-utils").Tag;
4
+ "<client>": {
5
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
6
+ parseOptions: {
7
+ statement: boolean;
8
+ rawOpenTag: boolean;
9
+ };
10
+ autocomplete: {
11
+ displayText: string;
12
+ description: string;
13
+ descriptionMoreURL: string;
14
+ }[];
15
+ };
16
+ "<const>": import("@marko/compiler/babel-utils").Tag;
17
+ "<debug>": import("@marko/compiler/babel-utils").Tag;
18
+ "<define>": import("@marko/compiler/babel-utils").Tag;
19
+ "<effect>": import("@marko/compiler/babel-utils").Tag;
20
+ "<else-if>": {
21
+ autocomplete: {
22
+ snippet: string;
23
+ description: string;
24
+ descriptionMoreURL: string;
25
+ }[];
26
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
27
+ translate: {
28
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
29
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
30
+ };
31
+ parseOptions: {
32
+ controlFlow: true;
33
+ };
34
+ };
35
+ "<else>": {
36
+ autocomplete: {
37
+ description: string;
38
+ descriptionMoreURL: string;
39
+ }[];
40
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
41
+ translate: {
42
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
43
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
44
+ };
45
+ parseOptions: {
46
+ controlFlow: true;
47
+ };
48
+ };
49
+ "<export>": import("@marko/compiler/babel-utils").Tag;
50
+ "<for>": {
51
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
52
+ translate: {
53
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
54
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
55
+ };
56
+ parseOptions: {
57
+ controlFlow: true;
58
+ };
59
+ attributes: {
60
+ of: {
61
+ type: string;
62
+ autocomplete: {
63
+ description: string;
64
+ }[];
65
+ };
66
+ in: {
67
+ type: string;
68
+ autocomplete: {
69
+ description: string;
70
+ }[];
71
+ };
72
+ to: {
73
+ type: string;
74
+ autocomplete: {
75
+ description: string;
76
+ }[];
77
+ };
78
+ from: {
79
+ type: string;
80
+ autocomplete: {
81
+ description: string;
82
+ }[];
83
+ };
84
+ step: {
85
+ type: string;
86
+ autocomplete: {
87
+ description: string;
88
+ }[];
89
+ };
90
+ };
91
+ autocomplete: ({
92
+ snippet: string;
93
+ description: string;
94
+ descriptionMoreURL: string;
95
+ } | {
96
+ snippet: string;
97
+ descriptionMoreURL: string;
98
+ description?: undefined;
99
+ })[];
100
+ };
101
+ "<html-comment>": import("@marko/compiler/babel-utils").Tag;
102
+ "<html-script>": import("@marko/compiler/babel-utils").Tag;
103
+ "<html-style>": import("@marko/compiler/babel-utils").Tag;
104
+ "<id>": import("@marko/compiler/babel-utils").Tag;
105
+ "<if>": {
106
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
107
+ translate: {
108
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
109
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
110
+ };
111
+ parseOptions: {
112
+ controlFlow: true;
113
+ };
114
+ autocomplete: {
115
+ snippet: string;
116
+ description: string;
117
+ descriptionMoreURL: string;
118
+ }[];
119
+ };
120
+ "<import>": import("@marko/compiler/babel-utils").Tag;
121
+ "<let>": import("@marko/compiler/babel-utils").Tag;
122
+ "<lifecycle>": import("@marko/compiler/babel-utils").Tag;
123
+ "<log>": import("@marko/compiler/babel-utils").Tag;
124
+ "<return>": import("@marko/compiler/babel-utils").Tag;
125
+ "<script>": import("@marko/compiler/babel-utils").Tag;
126
+ "<server>": {
127
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
128
+ parseOptions: {
129
+ statement: boolean;
130
+ rawOpenTag: boolean;
131
+ };
132
+ autocomplete: {
133
+ displayText: string;
134
+ description: string;
135
+ descriptionMoreURL: string;
136
+ }[];
137
+ };
138
+ "<static>": {
139
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
140
+ parseOptions: {
141
+ statement: boolean;
142
+ rawOpenTag: boolean;
143
+ };
144
+ autocomplete: {
145
+ displayText: string;
146
+ description: string;
147
+ descriptionMoreURL: string;
148
+ }[];
149
+ };
150
+ "<style>": import("@marko/compiler/babel-utils").Tag;
151
+ };
152
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare module "@marko/compiler/dist/types" {
3
+ interface NodeExtra {
4
+ static?: boolean;
5
+ }
6
+ }
7
+ declare const _default: Tag;
8
+ export default _default;
@@ -0,0 +1,10 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ import { type Binding } from "../util/references";
3
+ declare const kRef: unique symbol;
4
+ declare module "@marko/compiler/dist/types" {
5
+ interface MarkoTagExtra {
6
+ [kRef]?: Binding;
7
+ }
8
+ }
9
+ declare const _default: Tag;
10
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { types as t } from "@marko/compiler";
2
+ import { type Tag } from "@marko/compiler/babel-utils";
3
+ declare const returnId: (section: import("../util/sections").Section) => t.Identifier | undefined;
4
+ export { returnId };
5
+ declare const _default: Tag;
6
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { types as t } from "@marko/compiler";
2
+ declare const _default: {
3
+ parse(tag: t.NodePath<t.MarkoTag>): void;
4
+ parseOptions: {
5
+ statement: boolean;
6
+ rawOpenTag: boolean;
7
+ };
8
+ autocomplete: {
9
+ displayText: string;
10
+ description: string;
11
+ descriptionMoreURL: string;
12
+ }[];
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { types as t } from "@marko/compiler";
2
+ declare const _default: {
3
+ parse(tag: t.NodePath<t.MarkoTag>): void;
4
+ parseOptions: {
5
+ statement: boolean;
6
+ rawOpenTag: boolean;
7
+ };
8
+ autocomplete: {
9
+ displayText: string;
10
+ description: string;
11
+ descriptionMoreURL: string;
12
+ }[];
13
+ };
14
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { type Tag } from "@marko/compiler/babel-utils";
2
+ declare const _default: Tag;
3
+ export default _default;
@@ -0,0 +1,201 @@
1
+ import type { Config } from "@marko/compiler";
2
+ export { default as internalEntryBuilder } from "./util/entry-builder";
3
+ export declare const transform: import("@marko/compiler/babel-types").Visitor<unknown>, analyze: import("@marko/compiler/babel-types").Visitor<unknown>, translate: import("@marko/compiler/babel-types").Visitor<unknown>;
4
+ export declare const taglibs: (string | {
5
+ migrate: import("@marko/compiler/babel-types").Visitor<unknown>;
6
+ taglibId: string;
7
+ "<attrs>": import("@marko/compiler/babel-utils").Tag;
8
+ "<client>": {
9
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
10
+ parseOptions: {
11
+ statement: boolean;
12
+ rawOpenTag: boolean;
13
+ };
14
+ autocomplete: {
15
+ displayText: string;
16
+ description: string;
17
+ descriptionMoreURL: string;
18
+ }[];
19
+ };
20
+ "<const>": import("@marko/compiler/babel-utils").Tag;
21
+ "<debug>": import("@marko/compiler/babel-utils").Tag;
22
+ "<define>": import("@marko/compiler/babel-utils").Tag;
23
+ "<effect>": import("@marko/compiler/babel-utils").Tag;
24
+ "<else-if>": {
25
+ autocomplete: {
26
+ snippet: string;
27
+ description: string;
28
+ descriptionMoreURL: string;
29
+ }[];
30
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
31
+ translate: {
32
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
33
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
34
+ };
35
+ parseOptions: {
36
+ controlFlow: true;
37
+ };
38
+ };
39
+ "<else>": {
40
+ autocomplete: {
41
+ description: string;
42
+ descriptionMoreURL: string;
43
+ }[];
44
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
45
+ translate: {
46
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
47
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
48
+ };
49
+ parseOptions: {
50
+ controlFlow: true;
51
+ };
52
+ };
53
+ "<export>": import("@marko/compiler/babel-utils").Tag;
54
+ "<for>": {
55
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
56
+ translate: {
57
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
58
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
59
+ };
60
+ parseOptions: {
61
+ controlFlow: true;
62
+ };
63
+ attributes: {
64
+ of: {
65
+ type: string;
66
+ autocomplete: {
67
+ description: string;
68
+ }[];
69
+ };
70
+ in: {
71
+ type: string;
72
+ autocomplete: {
73
+ description: string;
74
+ }[];
75
+ };
76
+ to: {
77
+ type: string;
78
+ autocomplete: {
79
+ description: string;
80
+ }[];
81
+ };
82
+ from: {
83
+ type: string;
84
+ autocomplete: {
85
+ description: string;
86
+ }[];
87
+ };
88
+ step: {
89
+ type: string;
90
+ autocomplete: {
91
+ description: string;
92
+ }[];
93
+ };
94
+ };
95
+ autocomplete: ({
96
+ snippet: string;
97
+ description: string;
98
+ descriptionMoreURL: string;
99
+ } | {
100
+ snippet: string;
101
+ descriptionMoreURL: string;
102
+ description?: undefined;
103
+ })[];
104
+ };
105
+ "<html-comment>": import("@marko/compiler/babel-utils").Tag;
106
+ "<html-script>": import("@marko/compiler/babel-utils").Tag;
107
+ "<html-style>": import("@marko/compiler/babel-utils").Tag;
108
+ "<id>": import("@marko/compiler/babel-utils").Tag;
109
+ "<if>": {
110
+ analyze(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
111
+ translate: {
112
+ readonly enter: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
113
+ readonly exit: (path: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>) => void;
114
+ };
115
+ parseOptions: {
116
+ controlFlow: true;
117
+ };
118
+ autocomplete: {
119
+ snippet: string;
120
+ description: string;
121
+ descriptionMoreURL: string;
122
+ }[];
123
+ };
124
+ "<import>": import("@marko/compiler/babel-utils").Tag;
125
+ "<let>": import("@marko/compiler/babel-utils").Tag;
126
+ "<lifecycle>": import("@marko/compiler/babel-utils").Tag;
127
+ "<log>": import("@marko/compiler/babel-utils").Tag;
128
+ "<return>": import("@marko/compiler/babel-utils").Tag;
129
+ "<script>": import("@marko/compiler/babel-utils").Tag;
130
+ "<server>": {
131
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
132
+ parseOptions: {
133
+ statement: boolean;
134
+ rawOpenTag: boolean;
135
+ };
136
+ autocomplete: {
137
+ displayText: string;
138
+ description: string;
139
+ descriptionMoreURL: string;
140
+ }[];
141
+ };
142
+ "<static>": {
143
+ parse(tag: import("@marko/compiler/babel-types").NodePath<import("@marko/compiler/babel-types").MarkoTag>): void;
144
+ parseOptions: {
145
+ statement: boolean;
146
+ rawOpenTag: boolean;
147
+ };
148
+ autocomplete: {
149
+ displayText: string;
150
+ description: string;
151
+ descriptionMoreURL: string;
152
+ }[];
153
+ };
154
+ "<style>": import("@marko/compiler/babel-utils").Tag;
155
+ })[][];
156
+ export declare function getRuntimeEntryFiles(output: Config["output"], optimize: boolean): string[];
157
+ declare module "@marko/compiler/dist/types" {
158
+ interface ProgramExtra {
159
+ }
160
+ interface FunctionExpressionExtra {
161
+ }
162
+ interface ArrowFunctionExpressionExtra {
163
+ }
164
+ interface MarkoTagExtra {
165
+ }
166
+ interface MarkoTagBodyExtra {
167
+ }
168
+ interface MarkoAttributeExtra {
169
+ }
170
+ interface MarkoSpreadAttributeExtra {
171
+ }
172
+ interface MarkoPlaceholderExtra {
173
+ }
174
+ interface Program {
175
+ extra: ProgramExtra & NodeExtra;
176
+ }
177
+ interface FunctionDeclaration {
178
+ extra?: FunctionDeclarationExtra & NodeExtra;
179
+ }
180
+ interface FunctionExpression {
181
+ extra?: FunctionExpressionExtra & NodeExtra;
182
+ }
183
+ interface ArrowFunctionExpression {
184
+ extra?: ArrowFunctionExpressionExtra & NodeExtra;
185
+ }
186
+ interface MarkoTag {
187
+ extra?: MarkoTagExtra & NodeExtra;
188
+ }
189
+ interface MarkoTagBody {
190
+ extra?: MarkoTagBodyExtra & NodeExtra;
191
+ }
192
+ interface MarkoAttribute {
193
+ extra?: MarkoAttributeExtra & NodeExtra;
194
+ }
195
+ interface MarkoSpreadAttribute {
196
+ extra?: MarkoSpreadAttributeExtra & NodeExtra;
197
+ }
198
+ interface MarkoPlaceholder {
199
+ extra?: MarkoPlaceholderExtra & NodeExtra;
200
+ }
201
+ }