@pandacss/generator 0.17.0 → 0.17.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,119 +1,93 @@
1
- import * as _pandacss_core from '@pandacss/core';
2
- import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
3
- import * as _pandacss_types from '@pandacss/types';
4
- import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
1
+ import { Utility, Recipes, Conditions, StylesheetContext, StylesheetOptions, Stylesheet, RecipeNode } from '@pandacss/core';
2
+ import { TokenDictionary } from '@pandacss/token-dictionary';
3
+ import { ConfigResultWithHooks, RequiredBy, HashOptions, PrefixOptions, CascadeLayers, UserConfig, PatternConfig, Dict, TSConfig, Artifact, ParserResultType } from '@pandacss/types';
5
4
 
6
- declare const getEngine: (conf: ConfigResultWithHooks) => {
7
- patterns: {
8
- keys: string[];
9
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
10
- transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
11
- getNames: (name: string) => {
12
- upperName: string;
13
- baseName: string;
14
- dashName: string;
15
- styleFnName: string;
16
- jsxName: string;
17
- };
18
- details: {
19
- props: string[];
20
- blocklistType: string;
21
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
22
- type: "pattern";
23
- match: RegExp;
24
- jsx: (string | RegExp)[];
25
- upperName: string;
26
- baseName: string;
27
- dashName: string;
28
- styleFnName: string;
29
- jsxName: string;
30
- }[];
31
- find: (jsxName: string) => string;
32
- filter: (jsxName: string) => {
33
- props: string[];
34
- blocklistType: string;
35
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
36
- type: "pattern";
37
- match: RegExp;
38
- jsx: (string | RegExp)[];
39
- upperName: string;
40
- baseName: string;
41
- dashName: string;
42
- styleFnName: string;
43
- jsxName: string;
44
- }[];
45
- isEmpty: () => boolean;
46
- };
47
- jsx: {
48
- factoryName: string;
49
- upperName: string;
50
- typeName: string;
51
- variantName: string;
52
- componentName: string;
53
- framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
54
- styleProps: "all" | "minimal" | "none";
55
- };
56
- paths: {
57
- get: (file?: string | undefined) => string[];
58
- root: string[];
59
- css: string[];
60
- token: string[];
61
- types: string[];
62
- recipe: string[];
63
- pattern: string[];
64
- chunk: string[];
65
- outCss: string[];
66
- jsx: string[];
67
- };
68
- file: {
69
- ext(file: string): string;
70
- extDts(file: string): string;
71
- __extDts(file: string): string;
72
- import(mod: string, file: string): string;
73
- importType(mod: string, file: string): string;
74
- exportType(mod: string, file: string): string;
75
- exportStar(file: string): string;
76
- exportTypeStar(file: string): string;
77
- isTypeFile(file: string): boolean;
78
- };
5
+ interface PandaBaseEngine extends ConfigResultWithHooks {
79
6
  isTemplateLiteralSyntax: boolean;
80
- studio: {
81
- outdir: string;
82
- logo?: string | undefined;
83
- inject?: {
84
- head?: string | undefined;
85
- body?: string | undefined;
86
- } | undefined;
87
- };
88
- hash: {
89
- tokens: boolean | undefined;
90
- className: boolean | undefined;
91
- };
92
- prefix: {
93
- tokens: string | undefined;
94
- className: string | undefined;
95
- };
96
- tokens: _pandacss_token_dictionary.TokenDictionary;
97
- utility: _pandacss_core.Utility;
7
+ studio: RequiredBy<NonNullable<ConfigResultWithHooks['config']['studio']>, 'outdir'>;
8
+ hash: HashOptions;
9
+ prefix: PrefixOptions;
10
+ tokens: TokenDictionary;
11
+ utility: Utility;
98
12
  properties: string[];
99
13
  isValidProperty: (key: string) => boolean;
100
- recipes: _pandacss_core.Recipes;
101
- conditions: _pandacss_core.Conditions;
102
- createSheetContext: () => _pandacss_core.StylesheetContext;
103
- createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
104
- layers: _pandacss_types.CascadeLayers;
14
+ recipes: Recipes;
15
+ conditions: Conditions;
16
+ createSheetContext: () => StylesheetContext;
17
+ createSheet: (options?: Pick<StylesheetOptions, 'content'>) => Stylesheet;
18
+ layers: CascadeLayers;
105
19
  isValidLayerRule: (layerRule: string) => boolean;
106
20
  layerString: string;
107
21
  layerNames: string[];
108
- hooks: _pandacss_types.PandaHookable;
109
- path: string;
110
- config: _pandacss_types.UserConfig;
111
- tsconfig?: TSConfig | undefined;
112
- tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
113
- tsconfigFile?: string | undefined;
114
- dependencies: string[];
115
- };
116
- type Context = ReturnType<typeof getEngine>;
22
+ }
23
+
24
+ interface PandaJsxEngine {
25
+ factoryName: string;
26
+ upperName: string;
27
+ typeName: string;
28
+ variantName: string;
29
+ componentName: string;
30
+ framework: UserConfig['jsxFramework'];
31
+ styleProps: Exclude<UserConfig['jsxStyleProps'], undefined>;
32
+ }
33
+
34
+ interface PandaPathEngine {
35
+ get: (file?: string) => string[];
36
+ root: string[];
37
+ css: string[];
38
+ token: string[];
39
+ types: string[];
40
+ recipe: string[];
41
+ pattern: string[];
42
+ chunk: string[];
43
+ outCss: string[];
44
+ jsx: string[];
45
+ }
46
+
47
+ interface PandaPatternEngine {
48
+ keys: string[];
49
+ getConfig: (name: string) => PatternConfig;
50
+ transform: (name: string, data: Dict) => Dict;
51
+ getNames: (name: string) => PatternNames;
52
+ details: PatternDetail[];
53
+ find: (jsxName: string) => string;
54
+ filter: (jsxName: string) => PatternDetail[];
55
+ isEmpty: () => boolean;
56
+ }
57
+ interface PatternNames {
58
+ upperName: string;
59
+ baseName: string;
60
+ dashName: string;
61
+ styleFnName: string;
62
+ jsxName: string;
63
+ }
64
+ interface PatternDetail extends PatternNames {
65
+ props: string[];
66
+ blocklistType: string;
67
+ config: PatternConfig;
68
+ type: 'pattern';
69
+ match: RegExp;
70
+ jsx: NonNullable<PatternConfig['jsx']>;
71
+ }
72
+
73
+ interface PandaFileEngine {
74
+ ext(file: string): string;
75
+ extDts(file: string): string;
76
+ __extDts(file: string): string;
77
+ import(mod: string, file: string): string;
78
+ importType(mod: string, file: string): string;
79
+ exportType(mod: string, file: string): string;
80
+ exportStar(file: string): string;
81
+ exportTypeStar(file: string): string;
82
+ isTypeFile(file: string): boolean;
83
+ }
84
+
85
+ interface Context extends PandaBaseEngine {
86
+ patterns: PandaPatternEngine;
87
+ jsx: PandaJsxEngine;
88
+ paths: PandaPathEngine;
89
+ file: PandaFileEngine;
90
+ }
117
91
 
118
92
  declare const artifactsGenerated: (ctx: Context) => () => string;
119
93
  declare const configExists: (cmd: string) => string;
@@ -157,432 +131,47 @@ declare namespace messages {
157
131
  };
158
132
  }
159
133
 
160
- declare function generateResetCss(ctx: Context, scope?: string): string;
161
-
162
- declare function generateTokenCss(ctx: Context): string;
134
+ interface FlattenedCssOptions {
135
+ files: string[];
136
+ resolve?: boolean;
137
+ }
163
138
 
164
- declare function generateKeyframeCss(ctx: Context): string;
139
+ interface ParserImportMap {
140
+ css: string[];
141
+ recipe: string[];
142
+ pattern: string[];
143
+ jsx: string[];
144
+ }
145
+ interface ParserJsxOptions {
146
+ framework: Context['jsx']['framework'];
147
+ factory: Context['jsx']['factoryName'];
148
+ styleProps: Context['jsx']['styleProps'];
149
+ isStyleProp: Context['isValidProperty'];
150
+ nodes: Array<PatternDetail | RecipeNode>;
151
+ }
152
+ interface ParserOptions {
153
+ importMap: ParserImportMap;
154
+ jsx: ParserJsxOptions;
155
+ patternKeys: Context['patterns']['keys'];
156
+ recipeKeys: Context['recipes']['keys'];
157
+ getRecipesByJsxName: Context['recipes']['filter'];
158
+ getPatternsByJsxName: Context['patterns']['filter'];
159
+ compilerOptions: TSConfig['compilerOptions'];
160
+ tsOptions: ConfigResultWithHooks['tsOptions'];
161
+ }
165
162
 
166
- declare const createGenerator: (conf: ConfigResultWithHooks) => {
167
- getArtifacts: () => _pandacss_types.Artifact[];
168
- getStaticCss: (ctx: {
169
- patterns: {
170
- keys: string[];
171
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
172
- transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
173
- getNames: (name: string) => {
174
- upperName: string;
175
- baseName: string;
176
- dashName: string;
177
- styleFnName: string;
178
- jsxName: string;
179
- };
180
- details: {
181
- props: string[];
182
- blocklistType: string;
183
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
184
- type: "pattern";
185
- match: RegExp;
186
- jsx: (string | RegExp)[];
187
- upperName: string;
188
- baseName: string;
189
- dashName: string;
190
- styleFnName: string;
191
- jsxName: string;
192
- }[];
193
- find: (jsxName: string) => string;
194
- filter: (jsxName: string) => {
195
- props: string[];
196
- blocklistType: string;
197
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
198
- type: "pattern";
199
- match: RegExp;
200
- jsx: (string | RegExp)[];
201
- upperName: string;
202
- baseName: string;
203
- dashName: string;
204
- styleFnName: string;
205
- jsxName: string;
206
- }[];
207
- isEmpty: () => boolean;
208
- };
209
- jsx: {
210
- factoryName: string;
211
- upperName: string;
212
- typeName: string;
213
- variantName: string;
214
- componentName: string;
215
- framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
216
- styleProps: "all" | "minimal" | "none";
217
- };
218
- paths: {
219
- get: (file?: string | undefined) => string[];
220
- root: string[];
221
- css: string[];
222
- token: string[];
223
- types: string[];
224
- recipe: string[];
225
- pattern: string[];
226
- chunk: string[];
227
- outCss: string[];
228
- jsx: string[];
229
- };
230
- file: {
231
- ext(file: string): string;
232
- extDts(file: string): string;
233
- __extDts(file: string): string;
234
- import(mod: string, file: string): string;
235
- importType(mod: string, file: string): string;
236
- exportType(mod: string, file: string): string;
237
- exportStar(file: string): string;
238
- exportTypeStar(file: string): string;
239
- isTypeFile(file: string): boolean;
240
- };
241
- isTemplateLiteralSyntax: boolean;
242
- studio: {
243
- outdir: string;
244
- logo?: string | undefined;
245
- inject?: {
246
- head?: string | undefined;
247
- body?: string | undefined;
248
- } | undefined;
249
- };
250
- hash: {
251
- tokens: boolean | undefined;
252
- className: boolean | undefined;
253
- };
254
- prefix: {
255
- tokens: string | undefined;
256
- className: string | undefined;
257
- };
258
- tokens: _pandacss_token_dictionary.TokenDictionary;
259
- utility: _pandacss_core.Utility;
260
- properties: string[];
261
- isValidProperty: (key: string) => boolean;
262
- recipes: _pandacss_core.Recipes;
263
- conditions: _pandacss_core.Conditions;
264
- createSheetContext: () => _pandacss_core.StylesheetContext;
265
- createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
266
- layers: _pandacss_types.CascadeLayers;
267
- isValidLayerRule: (layerRule: string) => boolean;
268
- layerString: string;
269
- layerNames: string[];
270
- hooks: _pandacss_types.PandaHookable;
271
- path: string;
272
- config: _pandacss_types.UserConfig;
273
- tsconfig?: TSConfig | undefined;
274
- tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
275
- tsconfigFile?: string | undefined;
276
- dependencies: string[];
277
- }) => string;
278
- getResetCss: typeof generateResetCss;
279
- getTokenCss: typeof generateTokenCss;
280
- getKeyframeCss: typeof generateKeyframeCss;
281
- getGlobalCss: (ctx: {
282
- patterns: {
283
- keys: string[];
284
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
285
- transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
286
- getNames: (name: string) => {
287
- upperName: string;
288
- baseName: string;
289
- dashName: string;
290
- styleFnName: string;
291
- jsxName: string;
292
- };
293
- details: {
294
- props: string[];
295
- blocklistType: string;
296
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
297
- type: "pattern";
298
- match: RegExp;
299
- jsx: (string | RegExp)[];
300
- upperName: string;
301
- baseName: string;
302
- dashName: string;
303
- styleFnName: string;
304
- jsxName: string;
305
- }[];
306
- find: (jsxName: string) => string;
307
- filter: (jsxName: string) => {
308
- props: string[];
309
- blocklistType: string;
310
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
311
- type: "pattern";
312
- match: RegExp;
313
- jsx: (string | RegExp)[];
314
- upperName: string;
315
- baseName: string;
316
- dashName: string;
317
- styleFnName: string;
318
- jsxName: string;
319
- }[];
320
- isEmpty: () => boolean;
321
- };
322
- jsx: {
323
- factoryName: string;
324
- upperName: string;
325
- typeName: string;
326
- variantName: string;
327
- componentName: string;
328
- framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
329
- styleProps: "all" | "minimal" | "none";
330
- };
331
- paths: {
332
- get: (file?: string | undefined) => string[];
333
- root: string[];
334
- css: string[];
335
- token: string[];
336
- types: string[];
337
- recipe: string[];
338
- pattern: string[];
339
- chunk: string[];
340
- outCss: string[];
341
- jsx: string[];
342
- };
343
- file: {
344
- ext(file: string): string;
345
- extDts(file: string): string;
346
- __extDts(file: string): string;
347
- import(mod: string, file: string): string;
348
- importType(mod: string, file: string): string;
349
- exportType(mod: string, file: string): string;
350
- exportStar(file: string): string;
351
- exportTypeStar(file: string): string;
352
- isTypeFile(file: string): boolean;
353
- };
354
- isTemplateLiteralSyntax: boolean;
355
- studio: {
356
- outdir: string;
357
- logo?: string | undefined;
358
- inject?: {
359
- head?: string | undefined;
360
- body?: string | undefined;
361
- } | undefined;
362
- };
363
- hash: {
364
- tokens: boolean | undefined;
365
- className: boolean | undefined;
366
- };
367
- prefix: {
368
- tokens: string | undefined;
369
- className: string | undefined;
370
- };
371
- tokens: _pandacss_token_dictionary.TokenDictionary;
372
- utility: _pandacss_core.Utility;
373
- properties: string[];
374
- isValidProperty: (key: string) => boolean;
375
- recipes: _pandacss_core.Recipes;
376
- conditions: _pandacss_core.Conditions;
377
- createSheetContext: () => _pandacss_core.StylesheetContext;
378
- createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
379
- layers: _pandacss_types.CascadeLayers;
380
- isValidLayerRule: (layerRule: string) => boolean;
381
- layerString: string;
382
- layerNames: string[];
383
- hooks: _pandacss_types.PandaHookable;
384
- path: string;
385
- config: _pandacss_types.UserConfig;
386
- tsconfig?: TSConfig | undefined;
387
- tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
388
- tsconfigFile?: string | undefined;
389
- dependencies: string[];
390
- }) => string;
391
- getCss: (options: {
392
- files: string[];
393
- resolve?: boolean | undefined;
394
- }) => string;
395
- getParserCss: (result: _pandacss_types.ParserResultType) => string | undefined;
396
- messages: {
397
- artifactsGenerated: () => string;
398
- configExists: (cmd: string) => string;
399
- thankYou: () => string;
400
- codegenComplete: () => string;
401
- noExtract: () => string;
402
- watch: () => string;
403
- buildComplete: (count: number) => string;
404
- configWatch: () => string;
405
- };
406
- parserOptions: {
407
- importMap: {
408
- css: string[];
409
- recipe: string[];
410
- pattern: string[];
411
- jsx: string[];
412
- };
413
- jsx: {
414
- framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
415
- factory: string;
416
- styleProps: "all" | "minimal" | "none";
417
- isStyleProp: (key: string) => boolean;
418
- nodes: ({
419
- props: string[];
420
- blocklistType: string;
421
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
422
- type: "pattern";
423
- match: RegExp;
424
- jsx: (string | RegExp)[];
425
- upperName: string;
426
- baseName: string;
427
- dashName: string;
428
- styleFnName: string;
429
- jsxName: string;
430
- } | {
431
- baseName: string;
432
- type: "recipe";
433
- variantKeys: string[];
434
- variantKeyMap: Record<string, string[]>;
435
- jsx: (string | RegExp)[];
436
- upperName: string;
437
- dashName: string;
438
- jsxName: string;
439
- match: RegExp;
440
- config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
441
- splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
442
- props: string[];
443
- })[];
444
- };
445
- patternKeys: string[];
446
- recipeKeys: string[];
447
- getRecipesByJsxName: (jsxName: string) => {
448
- baseName: string;
449
- type: "recipe";
450
- variantKeys: string[];
451
- variantKeyMap: Record<string, string[]>;
452
- jsx: (string | RegExp)[];
453
- upperName: string;
454
- dashName: string;
455
- jsxName: string;
456
- match: RegExp;
457
- config: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord> | _pandacss_types.SlotRecipeConfig;
458
- splitProps: (props: _pandacss_types.Dict) => [_pandacss_types.Dict, _pandacss_types.Dict];
459
- props: string[];
460
- }[];
461
- getPatternsByJsxName: (jsxName: string) => {
462
- props: string[];
463
- blocklistType: string;
464
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
465
- type: "pattern";
466
- match: RegExp;
467
- jsx: (string | RegExp)[];
468
- upperName: string;
469
- baseName: string;
470
- dashName: string;
471
- styleFnName: string;
472
- jsxName: string;
473
- }[];
474
- compilerOptions: any;
475
- tsOptions: _pandacss_types.ConfigTsOptions | undefined;
476
- };
477
- patterns: {
478
- keys: string[];
479
- getConfig: (name: string) => _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
480
- transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
481
- getNames: (name: string) => {
482
- upperName: string;
483
- baseName: string;
484
- dashName: string;
485
- styleFnName: string;
486
- jsxName: string;
487
- };
488
- details: {
489
- props: string[];
490
- blocklistType: string;
491
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
492
- type: "pattern";
493
- match: RegExp;
494
- jsx: (string | RegExp)[];
495
- upperName: string;
496
- baseName: string;
497
- dashName: string;
498
- styleFnName: string;
499
- jsxName: string;
500
- }[];
501
- find: (jsxName: string) => string;
502
- filter: (jsxName: string) => {
503
- props: string[];
504
- blocklistType: string;
505
- config: _pandacss_types.PatternConfig<_pandacss_types.PatternProperties>;
506
- type: "pattern";
507
- match: RegExp;
508
- jsx: (string | RegExp)[];
509
- upperName: string;
510
- baseName: string;
511
- dashName: string;
512
- styleFnName: string;
513
- jsxName: string;
514
- }[];
515
- isEmpty: () => boolean;
516
- };
517
- jsx: {
518
- factoryName: string;
519
- upperName: string;
520
- typeName: string;
521
- variantName: string;
522
- componentName: string;
523
- framework: ("react" | "solid" | "preact" | "vue" | "qwik") | undefined;
524
- styleProps: "all" | "minimal" | "none";
525
- };
526
- paths: {
527
- get: (file?: string | undefined) => string[];
528
- root: string[];
529
- css: string[];
530
- token: string[];
531
- types: string[];
532
- recipe: string[];
533
- pattern: string[];
534
- chunk: string[];
535
- outCss: string[];
536
- jsx: string[];
537
- };
538
- file: {
539
- ext(file: string): string;
540
- extDts(file: string): string;
541
- __extDts(file: string): string;
542
- import(mod: string, file: string): string;
543
- importType(mod: string, file: string): string;
544
- exportType(mod: string, file: string): string;
545
- exportStar(file: string): string;
546
- exportTypeStar(file: string): string;
547
- isTypeFile(file: string): boolean;
548
- };
549
- isTemplateLiteralSyntax: boolean;
550
- studio: {
551
- outdir: string;
552
- logo?: string | undefined;
553
- inject?: {
554
- head?: string | undefined;
555
- body?: string | undefined;
556
- } | undefined;
557
- };
558
- hash: {
559
- tokens: boolean | undefined;
560
- className: boolean | undefined;
561
- };
562
- prefix: {
563
- tokens: string | undefined;
564
- className: string | undefined;
565
- };
566
- tokens: _pandacss_token_dictionary.TokenDictionary;
567
- utility: _pandacss_core.Utility;
568
- properties: string[];
569
- isValidProperty: (key: string) => boolean;
570
- recipes: _pandacss_core.Recipes;
571
- conditions: _pandacss_core.Conditions;
572
- createSheetContext: () => _pandacss_core.StylesheetContext;
573
- createSheet: (options?: Pick<_pandacss_core.StylesheetOptions, "content"> | undefined) => _pandacss_core.Stylesheet;
574
- layers: _pandacss_types.CascadeLayers;
575
- isValidLayerRule: (layerRule: string) => boolean;
576
- layerString: string;
577
- layerNames: string[];
578
- hooks: _pandacss_types.PandaHookable;
579
- path: string;
580
- config: _pandacss_types.UserConfig;
581
- tsconfig?: TSConfig | undefined;
582
- tsOptions?: _pandacss_types.ConfigTsOptions | undefined;
583
- tsconfigFile?: string | undefined;
584
- dependencies: string[];
585
- };
586
- type Generator = ReturnType<typeof createGenerator>;
163
+ declare const createGenerator: (conf: ConfigResultWithHooks) => Generator;
164
+ interface Generator extends Context {
165
+ getArtifacts: () => Artifact[];
166
+ getStaticCss: (ctx: Context) => string;
167
+ getResetCss: (ctx: Context) => string;
168
+ getTokenCss: (ctx: Context) => string;
169
+ getKeyframeCss: (ctx: Context) => string;
170
+ getGlobalCss: (ctx: Context) => string;
171
+ getCss: (options: FlattenedCssOptions) => string;
172
+ getParserCss: (result: ParserResultType) => string | undefined;
173
+ messages: ReturnType<typeof getMessages>;
174
+ parserOptions: ParserOptions;
175
+ }
587
176
 
588
177
  export { Generator, createGenerator, messages };