@sugarcube-org/core 0.0.1-alpha.5 → 0.0.1-alpha.6

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.ts CHANGED
@@ -1,107 +1,5 @@
1
1
  import { z } from 'zod';
2
2
 
3
- /**
4
- * Supported color formats for CSS output
5
- */
6
- type ColorFormat = "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3";
7
- /**
8
- * Configuration for fluid (responsive) values
9
- */
10
- type FluidConfig = {
11
- /** Minimum viewport width in pixels */
12
- min: number;
13
- /** Maximum viewport width in pixels */
14
- max: number;
15
- };
16
- /**
17
- * A collection of token files with shared namespace.
18
- * Represents either a starter kit or custom token collection.
19
- */
20
- type TokenCollection = {
21
- /** Array of source file paths for this collection */
22
- source: string[];
23
- /** Whether this is a starter kit or custom collection */
24
- type: "starter-kit" | "custom";
25
- /** Optional theme-specific source files */
26
- themes?: Record<string, string[]>;
27
- };
28
- /**
29
- * Multiple named collections of tokens.
30
- * Each key is a collection name (e.g., "base", "ui", "marketing").
31
- */
32
- type TokenCollections = Record<string, TokenCollection>;
33
- /**
34
- * Global options for token processing and output
35
- */
36
- type OptionsConfig = {
37
- /** Configuration for fluid (responsive) values */
38
- fluid?: FluidConfig;
39
- /** Prefix to add to all CSS variable names */
40
- prefix?: string;
41
- /** Default color format for all color tokens */
42
- color?: ColorFormat;
43
- };
44
- /**
45
- * Configuration for output directories
46
- */
47
- type DirectoriesConfig = {
48
- /** Directory containing token source files */
49
- tokens: string;
50
- /** Optional directory for component files */
51
- components?: string;
52
- /** Directory where CSS files will be written */
53
- css: string;
54
- };
55
- /**
56
- * Configuration for CSS output generation
57
- */
58
- type CSSOutputConfig = {
59
- /**
60
- * Controls how CSS variables are organized in output files:
61
- * - When false: Generates one file per collection, combining all tokens within each collection
62
- * (e.g., base/tokens.variables.css, ui/tokens.variables.css)
63
- * - When true: Generates separate files by token type within each collection
64
- * (e.g., base/colors.variables.css, base/space.variables.css)
65
- * @default false
66
- */
67
- separate: boolean;
68
- /** Whether to generate and manage an index.css file */
69
- manageIndex?: boolean;
70
- /** The format of the output CSS files */
71
- format?: "css" | "scss" | "less";
72
- };
73
- /**
74
- * Configuration for all output generation
75
- */
76
- type OutputConfig = {
77
- /** Directory configuration for all output files */
78
- directories: DirectoriesConfig;
79
- /** CSS-specific output configuration */
80
- css: CSSOutputConfig;
81
- };
82
- /**
83
- * The main configuration type for Sugarcube.
84
- * Defines all settings for token processing and output generation.
85
- */
86
- interface SugarcubeConfig {
87
- /** Token source configuration, either a single collection or multiple named collections */
88
- tokens: TokenCollection | TokenCollections;
89
- /** Optional global processing options */
90
- options?: OptionsConfig;
91
- /** Output configuration for generated files */
92
- output: OutputConfig;
93
- }
94
-
95
- /**
96
- * Base error type that all other error types extend from.
97
- * Used as the foundation for all error types in the system.
98
- * Provides a consistent structure for error messages across the codebase.
99
- */
100
- type BaseError = {
101
- /** A human-readable error message describing what went wrong */
102
- message: string;
103
- };
104
-
105
3
  /**
106
4
  * A token value that can either be a raw value or a reference.
107
5
  * This is the base type for all token values in the W3C Design Token Format.
@@ -357,6 +255,157 @@ type GradientStop = {
357
255
  */
358
256
  type Gradient = GradientStop[];
359
257
 
258
+ /**
259
+ * Directional variants for utility properties
260
+ */
261
+ type DirectionalVariant = "top" | "right" | "bottom" | "left" | "x" | "y" | "full";
262
+ /**
263
+ * Configuration for utility generation
264
+ */
265
+ type UtilityConfig = {
266
+ properties?: string[];
267
+ typeMap?: Partial<Record<TokenType, string[]>>;
268
+ custom?: Record<string, string>;
269
+ prefix?: string;
270
+ stripLevels?: number;
271
+ directions?: DirectionalVariant | DirectionalVariant[];
272
+ };
273
+ /**
274
+ * Definition of a generated utility class
275
+ */
276
+ type UtilityDefinition = {
277
+ className: string;
278
+ property: string;
279
+ value: string;
280
+ tokenPath: string[];
281
+ };
282
+
283
+ /**
284
+ * Supported color formats for CSS output
285
+ */
286
+ type ColorFormat = "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3";
287
+ /**
288
+ * Configuration for fluid (responsive) values
289
+ */
290
+ type FluidConfig = {
291
+ /** Minimum viewport width in pixels */
292
+ min: number;
293
+ /** Maximum viewport width in pixels */
294
+ max: number;
295
+ };
296
+ /**
297
+ * A collection of token files with shared namespace.
298
+ * Represents either a starter kit or custom token collection.
299
+ */
300
+ type TokenCollection = {
301
+ /** Array of source file paths for this collection */
302
+ source: string[];
303
+ /** Optional theme-specific source files */
304
+ themes?: Record<string, string[]>;
305
+ };
306
+ /**
307
+ * Multiple named collections of tokens.
308
+ * Each key is a collection name (e.g., "base", "ui", "marketing").
309
+ */
310
+ type TokenCollections = Record<string, TokenCollection>;
311
+ /**
312
+ * Configuration for transforms applied to tokens during processing
313
+ */
314
+ type TransformsConfig = {
315
+ /** Configuration for fluid (responsive) values */
316
+ fluid?: FluidConfig;
317
+ /** Default color format for all color tokens */
318
+ colorFormat?: ColorFormat;
319
+ /** Prefix to add to all CSS variable names */
320
+ prefix?: string;
321
+ };
322
+ /**
323
+ * Configuration for output directories (user config - optional fields)
324
+ */
325
+ type UserOutputConfig = {
326
+ /** Directory where CSS files will be written */
327
+ css?: string;
328
+ /** Directory containing token source files */
329
+ tokens?: string;
330
+ /** Directory for component files */
331
+ components?: string;
332
+ /** Whether to generate separate CSS files by token type (default: false) */
333
+ separate?: boolean;
334
+ };
335
+ /**
336
+ * Configuration for output directories (internal config - required fields)
337
+ */
338
+ type OutputConfig = {
339
+ /** Directory where CSS files will be written */
340
+ css: string;
341
+ /** Directory containing token source files */
342
+ tokens: string;
343
+ /** Directory for component files */
344
+ components?: string;
345
+ /** Whether to generate separate CSS files by token type */
346
+ separate: boolean;
347
+ };
348
+ /**
349
+ * Configuration for utility class generation
350
+ */
351
+ type UtilitiesConfig = {
352
+ /** Include core utilities (static, always-available utilities) */
353
+ core?: boolean;
354
+ } & Record<string, UtilityConfig | UtilityConfig[]>;
355
+ /**
356
+ * Configuration for component framework integration
357
+ */
358
+ type ComponentsConfig = {
359
+ /** The component framework to use */
360
+ framework?: "react" | "astro";
361
+ /** List of installed component names */
362
+ installed?: string[];
363
+ };
364
+ /**
365
+ * User configuration type - what users write (minimal, optional fields)
366
+ */
367
+ interface UserConfig {
368
+ /** Token source configuration, either a single collection or multiple named collections */
369
+ tokens: TokenCollection | TokenCollections;
370
+ /** Optional transforms applied during token processing */
371
+ transforms?: TransformsConfig;
372
+ /** Optional output configuration for generated files */
373
+ output?: UserOutputConfig;
374
+ /** Configuration for utility class generation */
375
+ utilities?: UtilitiesConfig;
376
+ /** Configuration for component framework integration */
377
+ components?: ComponentsConfig;
378
+ /** List of plugin names to load */
379
+ plugins?: string[];
380
+ }
381
+ /**
382
+ * Internal configuration type - what code uses (complete, required fields)
383
+ */
384
+ interface SugarcubeConfig {
385
+ /** Token source configuration, either a single collection or multiple named collections */
386
+ tokens: TokenCollection | TokenCollections;
387
+ /** Optional transforms applied during token processing */
388
+ transforms?: TransformsConfig;
389
+ /** Required output configuration for generated files */
390
+ output: OutputConfig;
391
+ /** Configuration for utility class generation */
392
+ utilities?: UtilitiesConfig;
393
+ /** Configuration for component framework integration */
394
+ components?: ComponentsConfig;
395
+ /** List of plugin names to load */
396
+ plugins?: string[];
397
+ }
398
+
399
+ /**
400
+ * Base error type that all other error types extend from.
401
+ * Used as the foundation for all error types in the system.
402
+ * Provides a consistent structure for error messages across the codebase.
403
+ */
404
+ type BaseError = {
405
+ /** A human-readable error message describing what went wrong */
406
+ message: string;
407
+ };
408
+
360
409
  /**
361
410
  * Source information for a token, tracking its collection and theme.
362
411
  * This metadata helps with error reporting and token organization.
@@ -384,37 +433,6 @@ type TokenTree = {
384
433
  sourcePath: string;
385
434
  };
386
435
 
387
- /**
388
- * A flattened token with its source information and path.
389
- * Represents a token after it has been flattened from a nested structure into a flat key-value map.
390
- * @template T - The type of token (e.g., "color", "dimension", etc.)
391
- */
392
- type FlattenedToken<T extends TokenType = TokenType> = NodeMetadata & {
393
- /** The type of the token */
394
- $type: T;
395
- /** The value of the token */
396
- $value: TokenValue<T>;
397
- /** The path to this token in the flattened structure */
398
- $path: string;
399
- /** Information about where this token was loaded from */
400
- $source: TokenSource;
401
- /** The original path before flattening */
402
- $originalPath: string;
403
- };
404
- /**
405
- * A map of flattened tokens and metadata by their lookup path, with an index for quick reference lookups.
406
- * Used to store the flattened state of all tokens in a collection.
407
- * Contains both the token map and a path index for efficient lookups.
408
- */
409
- type FlattenedTokens = {
410
- /** Map of token paths to their flattened tokens or metadata */
411
- tokens: {
412
- /** Token path as key, flattened token or metadata as value */
413
- [lookupKey: string]: FlattenedToken | NodeMetadata;
414
- };
415
- /** Index mapping original paths to their namespaced keys for quick lookups */
416
- pathIndex: Map<string, string>;
417
- };
418
436
  /**
419
437
  * An error that occurred during token flattening.
420
438
  * Extends the base error type with flattening-specific information.
@@ -522,35 +540,16 @@ type ValidationError = BaseError & {
522
540
  };
523
541
 
524
542
  /**
525
- * A warning that occurred during token normalization.
526
- * Provides information about non-critical issues during the normalization process.
527
- */
528
- type NormalizationWarning = {
529
- /** The type of the warning */
530
- type: "warning";
531
- /** A human-readable message describing the warning */
532
- message: string;
533
- /** The file where the warning occurred */
534
- file: string;
535
- /** The collection where the warning occurred */
536
- collection: string;
537
- /** The theme where the warning occurred, if applicable */
538
- theme?: string;
539
- };
540
-
541
- /**
542
- * Result of running the tokens-to-CSS pipeline.
543
- * Contains the generated CSS files, token trees, and any errors or warnings.
543
+ * Result of running any pipeline.
544
+ * Contains the generated output, token trees, and any errors.
544
545
  */
545
- type TokensToCSSPipelineResult = {
546
- /** The generated CSS files */
546
+ type PipelineResult = {
547
+ /** The generated output (e.g. CSS files) */
547
548
  output: CSSFileOutput;
548
549
  /** The loaded token trees */
549
550
  trees: TokenTree[];
550
551
  /** Any errors that occurred during pipeline execution */
551
552
  errors: PipelineErrors;
552
- /** Any warnings that occurred during pipeline execution */
553
- warnings: PipelineWarnings;
554
553
  };
555
554
  /**
556
555
  * Common error types that can occur during pipeline execution.
@@ -567,29 +566,22 @@ type PipelineErrors = {
567
566
  resolution: ResolutionError[];
568
567
  };
569
568
  /**
570
- * Common warning types that can occur during pipeline execution.
571
- * Organizes warnings by the pipeline stage where they occurred.
572
- */
573
- type PipelineWarnings = {
574
- /** Warnings that occurred during token normalization */
575
- normalization: NormalizationWarning[];
576
- };
577
- /**
578
- * Result of running the validation pipeline.
579
- * Contains the validated token trees, flattened tokens, and resolved tokens.
569
+ * Defines how tokens should be loaded and processed.
570
+ * Either from files using a config, or from memory with token data.
580
571
  */
581
- type ValidationPipelineResult = {
582
- /** The loaded token trees */
583
- trees: TokenTree[];
584
- /** The flattened tokens */
585
- flattenedTokens: FlattenedTokens;
586
- /** The resolved tokens */
587
- resolved: ResolvedTokens;
588
- /** Any errors that occurred during pipeline execution */
589
- errors: PipelineErrors;
572
+ type TokenPipelineSource = {
573
+ type: "files";
574
+ config: SugarcubeConfig;
575
+ } | {
576
+ type: "memory";
577
+ data: Record<string, {
578
+ collection: string;
579
+ content: string;
580
+ }>;
581
+ config: SugarcubeConfig;
590
582
  };
591
583
  /**
592
- * Options for loading tokens in the validation pipeline.
584
+ * Options for loading tokens in the pipeline.
593
585
  * Specifies whether to load tokens from files or memory.
594
586
  */
595
587
  type TokenLoader = {
@@ -599,198 +591,143 @@ type TokenLoader = {
599
591
  type: "memory";
600
592
  data: TokenMemoryData;
601
593
  };
602
- /**
603
- * Options for configuring the validation pipeline.
604
- * Controls how tokens are loaded and processed.
605
- */
606
- type ValidationPipelineOptions = {
607
- /** The token loader configuration */
608
- loader: TokenLoader;
609
- };
610
- /**
611
- * Result of running the generation pipeline.
612
- * Contains the generated CSS files and any warnings.
613
- */
614
- type GenerationPipelineResult = {
615
- /** The generated CSS files */
616
- output: CSSFileOutput;
617
- /** Any warnings that occurred during pipeline execution */
618
- warnings: PipelineWarnings;
619
- };
620
594
 
621
595
  /**
622
- * The main pipeline that transforms design tokens into CSS output.
596
+ * Core token processing pipeline that handles loading, validation, and resolution of tokens.
597
+ * This is the foundation for all other token processing operations.
623
598
  *
624
- * This pipeline orchestrates the entire token processing flow:
599
+ * This pipeline:
625
600
  * 1. Loads token trees from config or memory
626
- * 2. Flattens trees into a single structure with source information
601
+ * 2. Flattens trees into a single structure
627
602
  * 3. Validates tokens for correctness
628
603
  * 4. Resolves all token references
629
- * 5. Processes trees into collections and themes
630
- * 6. Normalizes tokens into a standard format
631
- * 7. Converts tokens into CSS-ready format
632
- * 8. Generates final CSS output
633
604
  *
634
- * Each stage can produce errors or warnings, which are collected and returned
635
- * in the result. The pipeline stops at validation if any errors are found.
605
+ * Each stage can produce errors which are collected and returned in the result.
636
606
  *
637
- * @param config - The sugarcube configuration
638
- * @param options - Optional pipeline configuration including a custom token loader
639
- * @returns The pipeline result containing CSS output, trees, and any errors/warnings
607
+ * @param source - The source of tokens to process, either from memory or config
608
+ * @returns An object containing the processed trees, resolved tokens, and any errors
640
609
  *
641
610
  * @example
642
- * const result = await tokensToCSSPipeline(config);
611
+ * const result = await tokenProcessingPipeline({ type: "config", config });
643
612
  * if (result.errors.validation.length > 0) {
644
613
  * console.error("Validation failed:", result.errors.validation);
645
- * } else {
646
- * // Use the generated CSS
647
- * console.log(result.output);
648
- * }
649
- */
650
- declare function tokensToCSSPipeline(config: SugarcubeConfig, options?: {
651
- loader?: TokenLoader;
652
- }): Promise<TokensToCSSPipelineResult>;
653
-
654
- /**
655
- * A pipeline that validates design tokens without generating CSS output.
656
- *
657
- * This pipeline performs the initial stages of token processing:
658
- * 1. Loads token trees from config or memory
659
- * 2. Flattens trees into a single structure with source information
660
- * 3. Validates tokens for correctness
661
- * 4. Resolves all token references
662
- *
663
- * Unlike the main pipeline, this one doesn't generate CSS output.
664
- * It's useful for:
665
- * - Validating tokens before full processing
666
- * - Checking token references
667
- * - Debugging token structure issues
668
- *
669
- * @param config - The sugarcube configuration
670
- * @param options - Pipeline options including the token loader configuration
671
- * @returns The validation result containing trees, tokens, and any errors
672
- *
673
- * @example
674
- * const result = await validationPipeline(config, {
675
- * loader: { type: "config" }
676
- * });
677
- *
678
- * if (result.errors.validation.length > 0) {
679
- * console.error("Token validation failed:", result.errors.validation);
680
- * } else {
681
- * console.log("All tokens are valid!");
682
614
  * }
683
615
  */
684
- declare function validationPipeline(config: SugarcubeConfig, options: ValidationPipelineOptions): Promise<ValidationPipelineResult>;
616
+ declare function tokenProcessingPipeline(source: TokenPipelineSource): Promise<{
617
+ trees: TokenTree[];
618
+ resolved: ResolvedTokens;
619
+ errors: PipelineResult["errors"];
620
+ }>;
685
621
 
686
622
  /**
687
- * A pipeline that generates CSS from pre-validated tokens.
688
- *
689
- * This pipeline handles the final stages of token processing:
690
- * 1. Processes trees into collections and themes
691
- * 2. Normalizes tokens into a standard format
692
- * 3. Converts tokens into CSS-ready format
693
- * 4. Generates final CSS output
694
- *
695
- * This pipeline exists to support workflows where you want to:
696
- * - Validate tokens, then generate CSS
697
- *
698
- * @param trees - The token trees to process
699
- * @param resolved - The resolved tokens to convert
700
- * @param configState - The sugarcube configuration
701
- * @returns The generation result containing CSS output and any warnings
702
- *
703
- * @example
704
- * // First validate tokens once
705
- * const validationResult = await validationPipeline(config, options);
706
- * if (validationResult.errors.validation.length > 0) {
707
- * throw new Error("Tokens failed validation");
708
- * }
709
- *
710
- * // Generate CSS with different configs
711
- * const lightThemeConfig = { ...config, options: { color: "hex" } };
712
- * const darkThemeConfig = { ...config, options: { color: "rgb" } };
713
- *
714
- * const lightResult = await generationPipeline(
715
- * validationResult.trees,
716
- * validationResult.resolved,
717
- * lightThemeConfig
718
- * );
719
- *
720
- * const darkResult = await generationPipeline(
721
- * validationResult.trees,
722
- * validationResult.resolved,
723
- * darkThemeConfig
724
- * );
623
+ * Result of loading a Sugarcube configuration file
725
624
  */
726
- declare function generationPipeline(trees: TokenTree[], resolved: ResolvedTokens, configState: SugarcubeConfig): Promise<GenerationPipelineResult>;
727
-
625
+ type LoadConfigResult = {
626
+ /** The validated configuration */
627
+ config: SugarcubeConfig;
628
+ /** The path to the config file that was loaded */
629
+ configPath: string;
630
+ };
728
631
  /**
729
632
  * Loads and validates the sugarcube configuration file from disk.
730
633
  *
731
634
  * This function:
732
635
  * 1. Reads the config file from the specified path
733
636
  * 2. Parses and validates the configuration
734
- * 3. Returns the validated configuration object
637
+ * 3. Returns the validated configuration object and the path used
735
638
  *
736
639
  * @param configPath - Path to the config file (default: "sugarcube.config.json")
737
- * @returns A promise that resolves to the validated configuration
640
+ * @returns A promise that resolves to the validated configuration and config path
738
641
  * @throws Error if the config file is not found or invalid
739
642
  *
740
643
  * @example
741
644
  * // Load default config file
742
- * const config = await loadConfig();
645
+ * const { config, configPath } = await loadConfig();
743
646
  *
744
647
  * // Load custom config file
745
- * const config = await loadConfig("./config/sugarcube.json");
648
+ * const { config, configPath } = await loadConfig("./config/sugarcube.json");
746
649
  */
747
- declare function loadConfig(configPath?: string): Promise<SugarcubeConfig>;
650
+ declare function loadConfig(configPath?: string): Promise<LoadConfigResult>;
748
651
 
749
652
  /**
750
- * Validates a sugarcube configuration object against the schema.
653
+ * Validates a user configuration object against the schema and normalizes it.
751
654
  *
752
655
  * This function:
753
- * 1. Validates the configuration structure using the schema
754
- * 2. Checks for duplicate filenames across collections
755
- * 3. Returns the validated configuration if successful
656
+ * 1. Validates the configuration structure using the user schema
657
+ * 2. Normalizes the configuration by filling in defaults
658
+ * 3. Validates the complete configuration using the internal schema
659
+ * 4. Checks for duplicate filenames across collections
660
+ * 5. Returns the validated and normalized configuration
756
661
  *
757
- * @param config - The configuration object to validate
758
- * @returns The validated configuration
662
+ * @param config - The user configuration object to validate
663
+ * @returns The validated and normalized configuration
759
664
  * @throws Error if the configuration is invalid or contains duplicate filenames
760
665
  *
761
666
  * @example
762
667
  * const config = {
763
668
  * tokens: {
764
- * source: ["tokens.json"],
765
- * type: "custom"
669
+ * source: ["tokens.json"]
766
670
  * }
767
671
  * };
768
672
  * const validatedConfig = validateConfig(config);
673
+ * // validatedConfig.output.css === "src/styles" (default filled in)
769
674
  */
770
- declare function validateConfig(config: Partial<SugarcubeConfig>): SugarcubeConfig;
675
+ declare function validateConfig(config: Partial<UserConfig>): SugarcubeConfig;
771
676
  /**
772
677
  * Parses and validates a JSON configuration string.
773
678
  *
774
679
  * This function:
775
680
  * 1. Parses the JSON string into a configuration object
776
- * 2. Validates the configuration using validateConfig
777
- * 3. Returns the validated configuration if successful
681
+ * 2. Validates and normalizes the configuration using validateConfig
682
+ * 3. Returns the validated and normalized configuration
778
683
  *
779
684
  * @param configString - The JSON configuration string to parse and validate
780
- * @returns The validated configuration
685
+ * @returns The validated and normalized configuration
781
686
  * @throws Error if the JSON is invalid or the configuration is invalid
782
687
  *
783
688
  * @example
784
689
  * const configString = `{
785
690
  * "tokens": {
786
- * "source": ["tokens.json"],
787
- * "type": "custom"
691
+ * "source": ["tokens.json"]
788
692
  * }
789
693
  * }`;
790
694
  * const config = parseAndValidateConfig(configString);
695
+ * // config.output.css === "src/styles" (default filled in)
791
696
  */
792
697
  declare function parseAndValidateConfig(configString: string): SugarcubeConfig;
793
698
 
699
+ /**
700
+ * Default configuration values
701
+ */
702
+ declare const DEFAULT_CONFIG: {
703
+ readonly output: {
704
+ readonly css: "src/styles";
705
+ readonly tokens: "src/design-tokens";
706
+ readonly components: "src/ui/components";
707
+ readonly separate: false;
708
+ };
709
+ };
710
+ /**
711
+ * Normalizes a user configuration by filling in default values.
712
+ *
713
+ * This function takes a minimal user config (with optional fields) and
714
+ * returns a complete internal config (with all required fields).
715
+ *
716
+ * @param userConfig - The user configuration with optional fields
717
+ * @returns A complete configuration with all defaults filled in
718
+ *
719
+ * @example
720
+ * const userConfig = {
721
+ * tokens: { source: ["tokens/*.json"] }
722
+ * };
723
+ * const completeConfig = normalizeConfig(userConfig);
724
+ * // completeConfig.output.css === "src/styles"
725
+ * // completeConfig.output.tokens === "src/design-tokens"
726
+ * // completeConfig.output.components === "src/ui/components"
727
+ * // completeConfig.output.separate === false
728
+ */
729
+ declare function normalizeConfig(userConfig: UserConfig): SugarcubeConfig;
730
+
794
731
  /**
795
732
  * Gets all token source file paths from the configuration.
796
733
  *
@@ -821,13 +758,11 @@ declare function getTokenPathsFromConfig(config: SugarcubeConfig): string[];
821
758
  *
822
759
  * This function:
823
760
  * 1. Creates any missing directories in the file path
824
- * 2. Optionally adds a warning banner to prevent direct edits
761
+ * 2. Adds a warning banner to prevent direct edits
825
762
  * 3. Only writes files if the content has changed
826
763
  * 4. Handles both single and multiple CSS file outputs
827
764
  *
828
765
  * @param output - Array of CSS file outputs to write
829
- * @param addBanner - Whether to add the warning banner (default: true)
830
- * @param tokenPaths - Optional array of token source paths for the warning banner
831
766
  * @returns The original output array
832
767
  * @throws Error if file writing fails
833
768
  *
@@ -836,186 +771,1170 @@ declare function getTokenPathsFromConfig(config: SugarcubeConfig): string[];
836
771
  * { path: "styles/tokens.css", css: "body { color: red; }" }
837
772
  * ]);
838
773
  */
839
- declare function writeCSSFilesToDisk(output: CSSFileOutput, addBanner?: boolean, tokenPaths?: string[]): Promise<CSSFileOutput>;
840
-
841
- /**
842
- * Manages the CSS index file that imports all CSS files.
843
- * @param options.cssOutputDirectory - Directory where the index.css will be created/updated
844
- * @param options.files - CSS files to include in the index
845
- * @returns Path to the generated index file
846
- */
847
- declare function manageCSSIndex({ cssOutputDirectory, files, }: {
848
- cssOutputDirectory: string;
849
- files: string[];
850
- }): Promise<string>;
851
-
774
+ declare function writeCSSVariablesToDisk(output: CSSFileOutput): Promise<CSSFileOutput>;
852
775
  /**
853
- * Schema for configuration
854
- */
855
- declare const configSchema: z.ZodObject<{
856
- tokens: z.ZodUnion<[z.ZodObject<{
857
- source: z.ZodArray<z.ZodString, "many">;
858
- type: z.ZodEnum<["starter-kit", "custom"]>;
859
- themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
776
+ * Writes utility CSS files to disk, creating directories as needed.
777
+ *
778
+ * This function:
779
+ * 1. Creates any missing directories in the file path
780
+ * 2. Adds a warning banner specific to utility classes
781
+ * 3. Only writes files if the content has changed
782
+ *
783
+ * @param output - The CSS file output to write
784
+ * @param config - The sugarcube configuration
785
+ * @returns The CSS file output that was written
786
+ * @throws Error if file writing fails
787
+ *
788
+ * @example
789
+ * await writeCSSUtilitiesToDisk(
790
+ * [{ path: "src/styles/utilities/utilities.css", css: ".p-4 { padding: var(--spacing-4); }" }],
791
+ * config
792
+ * );
793
+ */
794
+ declare function writeCSSUtilitiesToDisk(output: CSSFileOutput): Promise<CSSFileOutput>;
795
+
796
+ /**
797
+ * Generates utility CSS classes from resolved tokens based on utility configuration.
798
+ * This function creates CSS utility classes that map token values to CSS properties.
799
+ *
800
+ * The generation process:
801
+ * 1. Iterates through all resolved tokens
802
+ * 2. Matches tokens against utility configurations
803
+ * 3. Generates CSS rules for each matching token and property
804
+ * 4. Handles directional variants (e.g., padding-top, margin-right) if configured
805
+ * 5. Formats and returns the final CSS string
806
+ *
807
+ * The generated CSS uses CSS custom properties (variables) to reference token values,
808
+ * maintaining the connection between tokens and their usage in utilities.
809
+ *
810
+ * @param tokens - The resolved tokens to generate utilities from
811
+ * @param config - The sugarcube configuration containing utility settings
812
+ * @returns An object containing the generated CSS, errors, and warnings
813
+ *
814
+ * @example
815
+ * const { css } = generateUtilityCSS(resolvedTokens, config);
816
+ * // css = ".u-p-4 { padding: var(--spacing-4); }\n.u-mt-2 { margin-top: var(--spacing-2); }"
817
+ */
818
+ declare function generateCSSUtilityClasses(tokens: ResolvedTokens, config: SugarcubeConfig): {
819
+ output: CSSFileOutput;
820
+ errors: Error[];
821
+ };
822
+
823
+ /**
824
+ * Generates CSS variables from processed token trees and resolved tokens.
825
+ * This pipeline handles the conversion of tokens into CSS variable format.
826
+ *
827
+ * This pipeline:
828
+ * 1. Processes trees with resolved tokens
829
+ * 2. Normalizes tokens into a collection-theme structure
830
+ * 3. Converts tokens to CSS-ready format
831
+ * 4. Generates final CSS output
832
+ *
833
+ * @param trees - The processed token trees
834
+ * @param resolved - The resolved tokens
835
+ * @param config - The sugarcube configuration
836
+ * @returns An object containing the generated CSS output
837
+ *
838
+ * @example
839
+ * const { output } = await cssVariablesPipeline(trees, resolved, config);
840
+ * // output = [{ path: "path/to/output.css", css: ":root { ... }" }]
841
+ */
842
+ declare function generateCSSVariables(trees: TokenTree[], resolved: ResolvedTokens, config: SugarcubeConfig): Promise<{
843
+ output: CSSFileOutput;
844
+ }>;
845
+
846
+ declare function generateIndex(stylesDir: string, config: SugarcubeConfig): Promise<string>;
847
+ declare function shouldRegenerateIndex(stylesDir: string, config: SugarcubeConfig): Promise<boolean>;
848
+
849
+ interface CSSImport {
850
+ path: string;
851
+ layer: string;
852
+ relativePath: string;
853
+ }
854
+ declare function discoverAllFiles(stylesDir: string, config: SugarcubeConfig): Promise<CSSImport[]>;
855
+
856
+ declare function generateIndexContent(files: CSSImport[]): string;
857
+
858
+ declare const SUGARCUBE_FILE = "_sugarcube.css";
859
+ declare const GLOBAL_DIR = "global";
860
+ declare const UTILITIES_DIR = "utilities";
861
+ declare const VARIABLES_FILE_SUFFIX = ".variables.css";
862
+ declare const TOKENS_FILE_SUFFIX = ".tokens.json";
863
+ declare const DEFAULT_VARIABLES_FILENAME = "tokens";
864
+ declare const DEFAULT_UTILITIES_FILENAME = "utilities.css";
865
+ declare const DEFAULT_STYLES_PATH = "src/styles";
866
+ declare const DEFAULT_DESIGN_TOKENS_PATH = "src/design-tokens";
867
+ declare const SUGARCUBE_CONFIG_FILE = "sugarcube.config.json";
868
+
869
+ declare class Instrumentation implements Disposable {
870
+ #private;
871
+ private defaultFlush;
872
+ constructor(defaultFlush?: (message: string) => undefined);
873
+ hit(label: string): void;
874
+ start(label: string): void;
875
+ end(label: string): void;
876
+ report(flush?: (message: string) => undefined): void;
877
+ [Symbol.dispose](): void;
878
+ }
879
+
880
+ declare const userConfigSchema: z.ZodObject<{
881
+ tokens: z.ZodUnion<[z.ZodObject<{
882
+ source: z.ZodArray<z.ZodString, "many">;
883
+ themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
860
884
  }, "strip", z.ZodTypeAny, {
861
- type: "starter-kit" | "custom";
862
885
  source: string[];
863
886
  themes?: Record<string, string[]> | undefined;
864
887
  }, {
865
- type: "starter-kit" | "custom";
866
888
  source: string[];
867
889
  themes?: Record<string, string[]> | undefined;
868
890
  }>, z.ZodRecord<z.ZodString, z.ZodObject<{
869
891
  source: z.ZodArray<z.ZodString, "many">;
870
- type: z.ZodEnum<["starter-kit", "custom"]>;
871
892
  themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
872
893
  }, "strip", z.ZodTypeAny, {
873
- type: "starter-kit" | "custom";
874
894
  source: string[];
875
895
  themes?: Record<string, string[]> | undefined;
876
896
  }, {
877
- type: "starter-kit" | "custom";
878
897
  source: string[];
879
898
  themes?: Record<string, string[]> | undefined;
880
899
  }>>]>;
881
- options: z.ZodOptional<z.ZodObject<{
900
+ transforms: z.ZodOptional<z.ZodObject<{
882
901
  fluid: z.ZodOptional<z.ZodObject<{
883
902
  min: z.ZodNumber;
884
903
  max: z.ZodNumber;
885
- }, "strict", z.ZodTypeAny, {
904
+ }, "strip", z.ZodTypeAny, {
886
905
  min: number;
887
906
  max: number;
888
907
  }, {
889
908
  min: number;
890
909
  max: number;
891
910
  }>>;
911
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl", "hsla", "oklch", "p3"]>>;
892
912
  prefix: z.ZodOptional<z.ZodString>;
893
- color: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl", "hsla", "oklch", "p3"]>>;
894
913
  }, "strip", z.ZodTypeAny, {
895
- color?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
914
+ prefix?: string | undefined;
896
915
  fluid?: {
897
916
  min: number;
898
917
  max: number;
899
918
  } | undefined;
900
- prefix?: string | undefined;
919
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
901
920
  }, {
902
- color?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
921
+ prefix?: string | undefined;
903
922
  fluid?: {
904
923
  min: number;
905
924
  max: number;
906
925
  } | undefined;
926
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
927
+ }>>;
928
+ output: z.ZodOptional<z.ZodObject<{
929
+ css: z.ZodOptional<z.ZodString>;
930
+ tokens: z.ZodOptional<z.ZodString>;
931
+ components: z.ZodOptional<z.ZodString>;
932
+ separate: z.ZodOptional<z.ZodBoolean>;
933
+ }, "strip", z.ZodTypeAny, {
934
+ tokens?: string | undefined;
935
+ css?: string | undefined;
936
+ components?: string | undefined;
937
+ separate?: boolean | undefined;
938
+ }, {
939
+ tokens?: string | undefined;
940
+ css?: string | undefined;
941
+ components?: string | undefined;
942
+ separate?: boolean | undefined;
943
+ }>>;
944
+ utilities: z.ZodOptional<z.ZodObject<{
945
+ core: z.ZodOptional<z.ZodBoolean>;
946
+ }, "strip", z.ZodUnion<[z.ZodObject<{
947
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
948
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
949
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
950
+ prefix: z.ZodOptional<z.ZodString>;
951
+ stripLevels: z.ZodOptional<z.ZodNumber>;
952
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
953
+ }, "strip", z.ZodTypeAny, {
954
+ properties?: string[] | undefined;
955
+ custom?: Record<string, string> | undefined;
956
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
957
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
958
+ prefix?: string | undefined;
959
+ stripLevels?: number | undefined;
960
+ }, {
961
+ properties?: string[] | undefined;
962
+ custom?: Record<string, string> | undefined;
963
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
964
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
965
+ prefix?: string | undefined;
966
+ stripLevels?: number | undefined;
967
+ }>, z.ZodArray<z.ZodObject<{
968
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
969
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
970
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
971
+ prefix: z.ZodOptional<z.ZodString>;
972
+ stripLevels: z.ZodOptional<z.ZodNumber>;
973
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
974
+ }, "strip", z.ZodTypeAny, {
975
+ properties?: string[] | undefined;
976
+ custom?: Record<string, string> | undefined;
977
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
978
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
979
+ prefix?: string | undefined;
980
+ stripLevels?: number | undefined;
981
+ }, {
982
+ properties?: string[] | undefined;
983
+ custom?: Record<string, string> | undefined;
984
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
985
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
986
+ prefix?: string | undefined;
987
+ stripLevels?: number | undefined;
988
+ }>, "many">]>, z.objectOutputType<{
989
+ core: z.ZodOptional<z.ZodBoolean>;
990
+ }, z.ZodUnion<[z.ZodObject<{
991
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
992
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
993
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
994
+ prefix: z.ZodOptional<z.ZodString>;
995
+ stripLevels: z.ZodOptional<z.ZodNumber>;
996
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
997
+ }, "strip", z.ZodTypeAny, {
998
+ properties?: string[] | undefined;
999
+ custom?: Record<string, string> | undefined;
1000
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1001
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1002
+ prefix?: string | undefined;
1003
+ stripLevels?: number | undefined;
1004
+ }, {
1005
+ properties?: string[] | undefined;
1006
+ custom?: Record<string, string> | undefined;
1007
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1008
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1009
+ prefix?: string | undefined;
1010
+ stripLevels?: number | undefined;
1011
+ }>, z.ZodArray<z.ZodObject<{
1012
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1013
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1014
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1015
+ prefix: z.ZodOptional<z.ZodString>;
1016
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1017
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ properties?: string[] | undefined;
1020
+ custom?: Record<string, string> | undefined;
1021
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1022
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1023
+ prefix?: string | undefined;
1024
+ stripLevels?: number | undefined;
1025
+ }, {
1026
+ properties?: string[] | undefined;
1027
+ custom?: Record<string, string> | undefined;
1028
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1029
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
907
1030
  prefix?: string | undefined;
1031
+ stripLevels?: number | undefined;
1032
+ }>, "many">]>, "strip">, z.objectInputType<{
1033
+ core: z.ZodOptional<z.ZodBoolean>;
1034
+ }, z.ZodUnion<[z.ZodObject<{
1035
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1036
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1037
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1038
+ prefix: z.ZodOptional<z.ZodString>;
1039
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1040
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1041
+ }, "strip", z.ZodTypeAny, {
1042
+ properties?: string[] | undefined;
1043
+ custom?: Record<string, string> | undefined;
1044
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1045
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1046
+ prefix?: string | undefined;
1047
+ stripLevels?: number | undefined;
1048
+ }, {
1049
+ properties?: string[] | undefined;
1050
+ custom?: Record<string, string> | undefined;
1051
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1052
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1053
+ prefix?: string | undefined;
1054
+ stripLevels?: number | undefined;
1055
+ }>, z.ZodArray<z.ZodObject<{
1056
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1057
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1058
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1059
+ prefix: z.ZodOptional<z.ZodString>;
1060
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1061
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1062
+ }, "strip", z.ZodTypeAny, {
1063
+ properties?: string[] | undefined;
1064
+ custom?: Record<string, string> | undefined;
1065
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1066
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1067
+ prefix?: string | undefined;
1068
+ stripLevels?: number | undefined;
1069
+ }, {
1070
+ properties?: string[] | undefined;
1071
+ custom?: Record<string, string> | undefined;
1072
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1073
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1074
+ prefix?: string | undefined;
1075
+ stripLevels?: number | undefined;
1076
+ }>, "many">]>, "strip">>>;
1077
+ components: z.ZodOptional<z.ZodObject<{
1078
+ framework: z.ZodOptional<z.ZodEnum<["react", "astro"]>>;
1079
+ installed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1080
+ }, "strip", z.ZodTypeAny, {
1081
+ framework?: "react" | "astro" | undefined;
1082
+ installed?: string[] | undefined;
1083
+ }, {
1084
+ framework?: "react" | "astro" | undefined;
1085
+ installed?: string[] | undefined;
908
1086
  }>>;
909
- output: z.ZodObject<{
910
- directories: z.ZodObject<{
911
- tokens: z.ZodString;
912
- components: z.ZodOptional<z.ZodString>;
913
- css: z.ZodString;
914
- }, "strip", z.ZodTypeAny, {
915
- css: string;
916
- tokens: string;
917
- components?: string | undefined;
918
- }, {
919
- css: string;
920
- tokens: string;
921
- components?: string | undefined;
922
- }>;
923
- css: z.ZodObject<{
924
- separate: z.ZodBoolean;
925
- manageIndex: z.ZodOptional<z.ZodBoolean>;
926
- format: z.ZodOptional<z.ZodEnum<["css", "scss", "less"]>>;
1087
+ plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1088
+ }, "strip", z.ZodTypeAny, {
1089
+ tokens: {
1090
+ source: string[];
1091
+ themes?: Record<string, string[]> | undefined;
1092
+ } | Record<string, {
1093
+ source: string[];
1094
+ themes?: Record<string, string[]> | undefined;
1095
+ }>;
1096
+ utilities?: z.objectOutputType<{
1097
+ core: z.ZodOptional<z.ZodBoolean>;
1098
+ }, z.ZodUnion<[z.ZodObject<{
1099
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1100
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1101
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1102
+ prefix: z.ZodOptional<z.ZodString>;
1103
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1104
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ properties?: string[] | undefined;
1107
+ custom?: Record<string, string> | undefined;
1108
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1109
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1110
+ prefix?: string | undefined;
1111
+ stripLevels?: number | undefined;
1112
+ }, {
1113
+ properties?: string[] | undefined;
1114
+ custom?: Record<string, string> | undefined;
1115
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1116
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1117
+ prefix?: string | undefined;
1118
+ stripLevels?: number | undefined;
1119
+ }>, z.ZodArray<z.ZodObject<{
1120
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1121
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1122
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1123
+ prefix: z.ZodOptional<z.ZodString>;
1124
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1125
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1126
+ }, "strip", z.ZodTypeAny, {
1127
+ properties?: string[] | undefined;
1128
+ custom?: Record<string, string> | undefined;
1129
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1130
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1131
+ prefix?: string | undefined;
1132
+ stripLevels?: number | undefined;
1133
+ }, {
1134
+ properties?: string[] | undefined;
1135
+ custom?: Record<string, string> | undefined;
1136
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1137
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1138
+ prefix?: string | undefined;
1139
+ stripLevels?: number | undefined;
1140
+ }>, "many">]>, "strip"> | undefined;
1141
+ output?: {
1142
+ tokens?: string | undefined;
1143
+ css?: string | undefined;
1144
+ components?: string | undefined;
1145
+ separate?: boolean | undefined;
1146
+ } | undefined;
1147
+ transforms?: {
1148
+ prefix?: string | undefined;
1149
+ fluid?: {
1150
+ min: number;
1151
+ max: number;
1152
+ } | undefined;
1153
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1154
+ } | undefined;
1155
+ components?: {
1156
+ framework?: "react" | "astro" | undefined;
1157
+ installed?: string[] | undefined;
1158
+ } | undefined;
1159
+ plugins?: string[] | undefined;
1160
+ }, {
1161
+ tokens: {
1162
+ source: string[];
1163
+ themes?: Record<string, string[]> | undefined;
1164
+ } | Record<string, {
1165
+ source: string[];
1166
+ themes?: Record<string, string[]> | undefined;
1167
+ }>;
1168
+ utilities?: z.objectInputType<{
1169
+ core: z.ZodOptional<z.ZodBoolean>;
1170
+ }, z.ZodUnion<[z.ZodObject<{
1171
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1172
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1173
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1174
+ prefix: z.ZodOptional<z.ZodString>;
1175
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1176
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ properties?: string[] | undefined;
1179
+ custom?: Record<string, string> | undefined;
1180
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1181
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1182
+ prefix?: string | undefined;
1183
+ stripLevels?: number | undefined;
1184
+ }, {
1185
+ properties?: string[] | undefined;
1186
+ custom?: Record<string, string> | undefined;
1187
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1188
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1189
+ prefix?: string | undefined;
1190
+ stripLevels?: number | undefined;
1191
+ }>, z.ZodArray<z.ZodObject<{
1192
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1193
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1194
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1195
+ prefix: z.ZodOptional<z.ZodString>;
1196
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1197
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ properties?: string[] | undefined;
1200
+ custom?: Record<string, string> | undefined;
1201
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1202
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1203
+ prefix?: string | undefined;
1204
+ stripLevels?: number | undefined;
1205
+ }, {
1206
+ properties?: string[] | undefined;
1207
+ custom?: Record<string, string> | undefined;
1208
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1209
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1210
+ prefix?: string | undefined;
1211
+ stripLevels?: number | undefined;
1212
+ }>, "many">]>, "strip"> | undefined;
1213
+ output?: {
1214
+ tokens?: string | undefined;
1215
+ css?: string | undefined;
1216
+ components?: string | undefined;
1217
+ separate?: boolean | undefined;
1218
+ } | undefined;
1219
+ transforms?: {
1220
+ prefix?: string | undefined;
1221
+ fluid?: {
1222
+ min: number;
1223
+ max: number;
1224
+ } | undefined;
1225
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1226
+ } | undefined;
1227
+ components?: {
1228
+ framework?: "react" | "astro" | undefined;
1229
+ installed?: string[] | undefined;
1230
+ } | undefined;
1231
+ plugins?: string[] | undefined;
1232
+ }>;
1233
+ declare const internalConfigSchema: z.ZodObject<{
1234
+ tokens: z.ZodUnion<[z.ZodObject<{
1235
+ source: z.ZodArray<z.ZodString, "many">;
1236
+ themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1237
+ }, "strip", z.ZodTypeAny, {
1238
+ source: string[];
1239
+ themes?: Record<string, string[]> | undefined;
1240
+ }, {
1241
+ source: string[];
1242
+ themes?: Record<string, string[]> | undefined;
1243
+ }>, z.ZodRecord<z.ZodString, z.ZodObject<{
1244
+ source: z.ZodArray<z.ZodString, "many">;
1245
+ themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1246
+ }, "strip", z.ZodTypeAny, {
1247
+ source: string[];
1248
+ themes?: Record<string, string[]> | undefined;
1249
+ }, {
1250
+ source: string[];
1251
+ themes?: Record<string, string[]> | undefined;
1252
+ }>>]>;
1253
+ transforms: z.ZodOptional<z.ZodObject<{
1254
+ fluid: z.ZodOptional<z.ZodObject<{
1255
+ min: z.ZodNumber;
1256
+ max: z.ZodNumber;
927
1257
  }, "strip", z.ZodTypeAny, {
928
- separate: boolean;
929
- manageIndex?: boolean | undefined;
930
- format?: "css" | "scss" | "less" | undefined;
1258
+ min: number;
1259
+ max: number;
931
1260
  }, {
932
- separate: boolean;
933
- manageIndex?: boolean | undefined;
934
- format?: "css" | "scss" | "less" | undefined;
935
- }>;
936
- }, "strip", z.ZodTypeAny, {
937
- css: {
938
- separate: boolean;
939
- manageIndex?: boolean | undefined;
940
- format?: "css" | "scss" | "less" | undefined;
941
- };
942
- directories: {
943
- css: string;
944
- tokens: string;
945
- components?: string | undefined;
946
- };
947
- }, {
948
- css: {
949
- separate: boolean;
950
- manageIndex?: boolean | undefined;
951
- format?: "css" | "scss" | "less" | undefined;
952
- };
953
- directories: {
954
- css: string;
955
- tokens: string;
956
- components?: string | undefined;
957
- };
1261
+ min: number;
1262
+ max: number;
1263
+ }>>;
1264
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl", "hsla", "oklch", "p3"]>>;
1265
+ prefix: z.ZodOptional<z.ZodString>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ prefix?: string | undefined;
1268
+ fluid?: {
1269
+ min: number;
1270
+ max: number;
1271
+ } | undefined;
1272
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1273
+ }, {
1274
+ prefix?: string | undefined;
1275
+ fluid?: {
1276
+ min: number;
1277
+ max: number;
1278
+ } | undefined;
1279
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1280
+ }>>;
1281
+ output: z.ZodObject<{
1282
+ css: z.ZodString;
1283
+ tokens: z.ZodString;
1284
+ components: z.ZodString;
1285
+ separate: z.ZodBoolean;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ tokens: string;
1288
+ css: string;
1289
+ components: string;
1290
+ separate: boolean;
1291
+ }, {
1292
+ tokens: string;
1293
+ css: string;
1294
+ components: string;
1295
+ separate: boolean;
958
1296
  }>;
1297
+ utilities: z.ZodOptional<z.ZodObject<{
1298
+ core: z.ZodOptional<z.ZodBoolean>;
1299
+ }, "strip", z.ZodUnion<[z.ZodObject<{
1300
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1301
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1302
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1303
+ prefix: z.ZodOptional<z.ZodString>;
1304
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1305
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1306
+ }, "strip", z.ZodTypeAny, {
1307
+ properties?: string[] | undefined;
1308
+ custom?: Record<string, string> | undefined;
1309
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1310
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1311
+ prefix?: string | undefined;
1312
+ stripLevels?: number | undefined;
1313
+ }, {
1314
+ properties?: string[] | undefined;
1315
+ custom?: Record<string, string> | undefined;
1316
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1317
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1318
+ prefix?: string | undefined;
1319
+ stripLevels?: number | undefined;
1320
+ }>, z.ZodArray<z.ZodObject<{
1321
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1322
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1323
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1324
+ prefix: z.ZodOptional<z.ZodString>;
1325
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1326
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ properties?: string[] | undefined;
1329
+ custom?: Record<string, string> | undefined;
1330
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1331
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1332
+ prefix?: string | undefined;
1333
+ stripLevels?: number | undefined;
1334
+ }, {
1335
+ properties?: string[] | undefined;
1336
+ custom?: Record<string, string> | undefined;
1337
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1338
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1339
+ prefix?: string | undefined;
1340
+ stripLevels?: number | undefined;
1341
+ }>, "many">]>, z.objectOutputType<{
1342
+ core: z.ZodOptional<z.ZodBoolean>;
1343
+ }, z.ZodUnion<[z.ZodObject<{
1344
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1345
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1346
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1347
+ prefix: z.ZodOptional<z.ZodString>;
1348
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1349
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ properties?: string[] | undefined;
1352
+ custom?: Record<string, string> | undefined;
1353
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1354
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1355
+ prefix?: string | undefined;
1356
+ stripLevels?: number | undefined;
1357
+ }, {
1358
+ properties?: string[] | undefined;
1359
+ custom?: Record<string, string> | undefined;
1360
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1361
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1362
+ prefix?: string | undefined;
1363
+ stripLevels?: number | undefined;
1364
+ }>, z.ZodArray<z.ZodObject<{
1365
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1366
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1367
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1368
+ prefix: z.ZodOptional<z.ZodString>;
1369
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1370
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1371
+ }, "strip", z.ZodTypeAny, {
1372
+ properties?: string[] | undefined;
1373
+ custom?: Record<string, string> | undefined;
1374
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1375
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1376
+ prefix?: string | undefined;
1377
+ stripLevels?: number | undefined;
1378
+ }, {
1379
+ properties?: string[] | undefined;
1380
+ custom?: Record<string, string> | undefined;
1381
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1382
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1383
+ prefix?: string | undefined;
1384
+ stripLevels?: number | undefined;
1385
+ }>, "many">]>, "strip">, z.objectInputType<{
1386
+ core: z.ZodOptional<z.ZodBoolean>;
1387
+ }, z.ZodUnion<[z.ZodObject<{
1388
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1389
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1390
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
+ prefix: z.ZodOptional<z.ZodString>;
1392
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1393
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1394
+ }, "strip", z.ZodTypeAny, {
1395
+ properties?: string[] | undefined;
1396
+ custom?: Record<string, string> | undefined;
1397
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1398
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1399
+ prefix?: string | undefined;
1400
+ stripLevels?: number | undefined;
1401
+ }, {
1402
+ properties?: string[] | undefined;
1403
+ custom?: Record<string, string> | undefined;
1404
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1405
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1406
+ prefix?: string | undefined;
1407
+ stripLevels?: number | undefined;
1408
+ }>, z.ZodArray<z.ZodObject<{
1409
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1410
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1411
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1412
+ prefix: z.ZodOptional<z.ZodString>;
1413
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1414
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ properties?: string[] | undefined;
1417
+ custom?: Record<string, string> | undefined;
1418
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1419
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1420
+ prefix?: string | undefined;
1421
+ stripLevels?: number | undefined;
1422
+ }, {
1423
+ properties?: string[] | undefined;
1424
+ custom?: Record<string, string> | undefined;
1425
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1426
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1427
+ prefix?: string | undefined;
1428
+ stripLevels?: number | undefined;
1429
+ }>, "many">]>, "strip">>>;
1430
+ components: z.ZodOptional<z.ZodObject<{
1431
+ framework: z.ZodOptional<z.ZodEnum<["react", "astro"]>>;
1432
+ installed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1433
+ }, "strip", z.ZodTypeAny, {
1434
+ framework?: "react" | "astro" | undefined;
1435
+ installed?: string[] | undefined;
1436
+ }, {
1437
+ framework?: "react" | "astro" | undefined;
1438
+ installed?: string[] | undefined;
1439
+ }>>;
1440
+ plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
959
1441
  }, "strip", z.ZodTypeAny, {
960
1442
  tokens: {
961
- type: "starter-kit" | "custom";
962
1443
  source: string[];
963
1444
  themes?: Record<string, string[]> | undefined;
964
1445
  } | Record<string, {
965
- type: "starter-kit" | "custom";
966
1446
  source: string[];
967
1447
  themes?: Record<string, string[]> | undefined;
968
1448
  }>;
969
1449
  output: {
970
- css: {
971
- separate: boolean;
972
- manageIndex?: boolean | undefined;
973
- format?: "css" | "scss" | "less" | undefined;
974
- };
975
- directories: {
976
- css: string;
977
- tokens: string;
978
- components?: string | undefined;
979
- };
1450
+ tokens: string;
1451
+ css: string;
1452
+ components: string;
1453
+ separate: boolean;
980
1454
  };
981
- options?: {
982
- color?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1455
+ utilities?: z.objectOutputType<{
1456
+ core: z.ZodOptional<z.ZodBoolean>;
1457
+ }, z.ZodUnion<[z.ZodObject<{
1458
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1459
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1460
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1461
+ prefix: z.ZodOptional<z.ZodString>;
1462
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1463
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ properties?: string[] | undefined;
1466
+ custom?: Record<string, string> | undefined;
1467
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1468
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1469
+ prefix?: string | undefined;
1470
+ stripLevels?: number | undefined;
1471
+ }, {
1472
+ properties?: string[] | undefined;
1473
+ custom?: Record<string, string> | undefined;
1474
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1475
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1476
+ prefix?: string | undefined;
1477
+ stripLevels?: number | undefined;
1478
+ }>, z.ZodArray<z.ZodObject<{
1479
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1480
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1481
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1482
+ prefix: z.ZodOptional<z.ZodString>;
1483
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1484
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ properties?: string[] | undefined;
1487
+ custom?: Record<string, string> | undefined;
1488
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1489
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1490
+ prefix?: string | undefined;
1491
+ stripLevels?: number | undefined;
1492
+ }, {
1493
+ properties?: string[] | undefined;
1494
+ custom?: Record<string, string> | undefined;
1495
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1496
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1497
+ prefix?: string | undefined;
1498
+ stripLevels?: number | undefined;
1499
+ }>, "many">]>, "strip"> | undefined;
1500
+ transforms?: {
1501
+ prefix?: string | undefined;
983
1502
  fluid?: {
984
1503
  min: number;
985
1504
  max: number;
986
1505
  } | undefined;
987
- prefix?: string | undefined;
1506
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1507
+ } | undefined;
1508
+ components?: {
1509
+ framework?: "react" | "astro" | undefined;
1510
+ installed?: string[] | undefined;
988
1511
  } | undefined;
1512
+ plugins?: string[] | undefined;
989
1513
  }, {
990
1514
  tokens: {
991
- type: "starter-kit" | "custom";
992
1515
  source: string[];
993
1516
  themes?: Record<string, string[]> | undefined;
994
1517
  } | Record<string, {
995
- type: "starter-kit" | "custom";
996
1518
  source: string[];
997
1519
  themes?: Record<string, string[]> | undefined;
998
1520
  }>;
999
1521
  output: {
1000
- css: {
1001
- separate: boolean;
1002
- manageIndex?: boolean | undefined;
1003
- format?: "css" | "scss" | "less" | undefined;
1004
- };
1005
- directories: {
1006
- css: string;
1007
- tokens: string;
1008
- components?: string | undefined;
1009
- };
1522
+ tokens: string;
1523
+ css: string;
1524
+ components: string;
1525
+ separate: boolean;
1010
1526
  };
1011
- options?: {
1012
- color?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1527
+ utilities?: z.objectInputType<{
1528
+ core: z.ZodOptional<z.ZodBoolean>;
1529
+ }, z.ZodUnion<[z.ZodObject<{
1530
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1531
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1532
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1533
+ prefix: z.ZodOptional<z.ZodString>;
1534
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1535
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1536
+ }, "strip", z.ZodTypeAny, {
1537
+ properties?: string[] | undefined;
1538
+ custom?: Record<string, string> | undefined;
1539
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1540
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1541
+ prefix?: string | undefined;
1542
+ stripLevels?: number | undefined;
1543
+ }, {
1544
+ properties?: string[] | undefined;
1545
+ custom?: Record<string, string> | undefined;
1546
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1547
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1548
+ prefix?: string | undefined;
1549
+ stripLevels?: number | undefined;
1550
+ }>, z.ZodArray<z.ZodObject<{
1551
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1552
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1553
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1554
+ prefix: z.ZodOptional<z.ZodString>;
1555
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1556
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ properties?: string[] | undefined;
1559
+ custom?: Record<string, string> | undefined;
1560
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1561
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1562
+ prefix?: string | undefined;
1563
+ stripLevels?: number | undefined;
1564
+ }, {
1565
+ properties?: string[] | undefined;
1566
+ custom?: Record<string, string> | undefined;
1567
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1568
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1569
+ prefix?: string | undefined;
1570
+ stripLevels?: number | undefined;
1571
+ }>, "many">]>, "strip"> | undefined;
1572
+ transforms?: {
1573
+ prefix?: string | undefined;
1574
+ fluid?: {
1575
+ min: number;
1576
+ max: number;
1577
+ } | undefined;
1578
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1579
+ } | undefined;
1580
+ components?: {
1581
+ framework?: "react" | "astro" | undefined;
1582
+ installed?: string[] | undefined;
1583
+ } | undefined;
1584
+ plugins?: string[] | undefined;
1585
+ }>;
1586
+ declare const configSchema: z.ZodObject<{
1587
+ tokens: z.ZodUnion<[z.ZodObject<{
1588
+ source: z.ZodArray<z.ZodString, "many">;
1589
+ themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ source: string[];
1592
+ themes?: Record<string, string[]> | undefined;
1593
+ }, {
1594
+ source: string[];
1595
+ themes?: Record<string, string[]> | undefined;
1596
+ }>, z.ZodRecord<z.ZodString, z.ZodObject<{
1597
+ source: z.ZodArray<z.ZodString, "many">;
1598
+ themes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ source: string[];
1601
+ themes?: Record<string, string[]> | undefined;
1602
+ }, {
1603
+ source: string[];
1604
+ themes?: Record<string, string[]> | undefined;
1605
+ }>>]>;
1606
+ transforms: z.ZodOptional<z.ZodObject<{
1607
+ fluid: z.ZodOptional<z.ZodObject<{
1608
+ min: z.ZodNumber;
1609
+ max: z.ZodNumber;
1610
+ }, "strip", z.ZodTypeAny, {
1611
+ min: number;
1612
+ max: number;
1613
+ }, {
1614
+ min: number;
1615
+ max: number;
1616
+ }>>;
1617
+ colorFormat: z.ZodOptional<z.ZodEnum<["hex", "rgb", "rgba", "hsl", "hsla", "oklch", "p3"]>>;
1618
+ prefix: z.ZodOptional<z.ZodString>;
1619
+ }, "strip", z.ZodTypeAny, {
1620
+ prefix?: string | undefined;
1013
1621
  fluid?: {
1014
1622
  min: number;
1015
1623
  max: number;
1016
1624
  } | undefined;
1625
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1626
+ }, {
1627
+ prefix?: string | undefined;
1628
+ fluid?: {
1629
+ min: number;
1630
+ max: number;
1631
+ } | undefined;
1632
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1633
+ }>>;
1634
+ output: z.ZodOptional<z.ZodObject<{
1635
+ css: z.ZodOptional<z.ZodString>;
1636
+ tokens: z.ZodOptional<z.ZodString>;
1637
+ components: z.ZodOptional<z.ZodString>;
1638
+ separate: z.ZodOptional<z.ZodBoolean>;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ tokens?: string | undefined;
1641
+ css?: string | undefined;
1642
+ components?: string | undefined;
1643
+ separate?: boolean | undefined;
1644
+ }, {
1645
+ tokens?: string | undefined;
1646
+ css?: string | undefined;
1647
+ components?: string | undefined;
1648
+ separate?: boolean | undefined;
1649
+ }>>;
1650
+ utilities: z.ZodOptional<z.ZodObject<{
1651
+ core: z.ZodOptional<z.ZodBoolean>;
1652
+ }, "strip", z.ZodUnion<[z.ZodObject<{
1653
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1654
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1655
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1656
+ prefix: z.ZodOptional<z.ZodString>;
1657
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1658
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ properties?: string[] | undefined;
1661
+ custom?: Record<string, string> | undefined;
1662
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1663
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1664
+ prefix?: string | undefined;
1665
+ stripLevels?: number | undefined;
1666
+ }, {
1667
+ properties?: string[] | undefined;
1668
+ custom?: Record<string, string> | undefined;
1669
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1670
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1671
+ prefix?: string | undefined;
1672
+ stripLevels?: number | undefined;
1673
+ }>, z.ZodArray<z.ZodObject<{
1674
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1675
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1676
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1677
+ prefix: z.ZodOptional<z.ZodString>;
1678
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1679
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1680
+ }, "strip", z.ZodTypeAny, {
1681
+ properties?: string[] | undefined;
1682
+ custom?: Record<string, string> | undefined;
1683
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1684
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1685
+ prefix?: string | undefined;
1686
+ stripLevels?: number | undefined;
1687
+ }, {
1688
+ properties?: string[] | undefined;
1689
+ custom?: Record<string, string> | undefined;
1690
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1691
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1692
+ prefix?: string | undefined;
1693
+ stripLevels?: number | undefined;
1694
+ }>, "many">]>, z.objectOutputType<{
1695
+ core: z.ZodOptional<z.ZodBoolean>;
1696
+ }, z.ZodUnion<[z.ZodObject<{
1697
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1698
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1699
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1700
+ prefix: z.ZodOptional<z.ZodString>;
1701
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1702
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ properties?: string[] | undefined;
1705
+ custom?: Record<string, string> | undefined;
1706
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1707
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1708
+ prefix?: string | undefined;
1709
+ stripLevels?: number | undefined;
1710
+ }, {
1711
+ properties?: string[] | undefined;
1712
+ custom?: Record<string, string> | undefined;
1713
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1714
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1017
1715
  prefix?: string | undefined;
1716
+ stripLevels?: number | undefined;
1717
+ }>, z.ZodArray<z.ZodObject<{
1718
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1719
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1720
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1721
+ prefix: z.ZodOptional<z.ZodString>;
1722
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1723
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1724
+ }, "strip", z.ZodTypeAny, {
1725
+ properties?: string[] | undefined;
1726
+ custom?: Record<string, string> | undefined;
1727
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1728
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1729
+ prefix?: string | undefined;
1730
+ stripLevels?: number | undefined;
1731
+ }, {
1732
+ properties?: string[] | undefined;
1733
+ custom?: Record<string, string> | undefined;
1734
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1735
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1736
+ prefix?: string | undefined;
1737
+ stripLevels?: number | undefined;
1738
+ }>, "many">]>, "strip">, z.objectInputType<{
1739
+ core: z.ZodOptional<z.ZodBoolean>;
1740
+ }, z.ZodUnion<[z.ZodObject<{
1741
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1742
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1743
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1744
+ prefix: z.ZodOptional<z.ZodString>;
1745
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1746
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1747
+ }, "strip", z.ZodTypeAny, {
1748
+ properties?: string[] | undefined;
1749
+ custom?: Record<string, string> | undefined;
1750
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1751
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1752
+ prefix?: string | undefined;
1753
+ stripLevels?: number | undefined;
1754
+ }, {
1755
+ properties?: string[] | undefined;
1756
+ custom?: Record<string, string> | undefined;
1757
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1758
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1759
+ prefix?: string | undefined;
1760
+ stripLevels?: number | undefined;
1761
+ }>, z.ZodArray<z.ZodObject<{
1762
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1763
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1764
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
+ prefix: z.ZodOptional<z.ZodString>;
1766
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1767
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ properties?: string[] | undefined;
1770
+ custom?: Record<string, string> | undefined;
1771
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1772
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1773
+ prefix?: string | undefined;
1774
+ stripLevels?: number | undefined;
1775
+ }, {
1776
+ properties?: string[] | undefined;
1777
+ custom?: Record<string, string> | undefined;
1778
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1779
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1780
+ prefix?: string | undefined;
1781
+ stripLevels?: number | undefined;
1782
+ }>, "many">]>, "strip">>>;
1783
+ components: z.ZodOptional<z.ZodObject<{
1784
+ framework: z.ZodOptional<z.ZodEnum<["react", "astro"]>>;
1785
+ installed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1786
+ }, "strip", z.ZodTypeAny, {
1787
+ framework?: "react" | "astro" | undefined;
1788
+ installed?: string[] | undefined;
1789
+ }, {
1790
+ framework?: "react" | "astro" | undefined;
1791
+ installed?: string[] | undefined;
1792
+ }>>;
1793
+ plugins: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1794
+ }, "strip", z.ZodTypeAny, {
1795
+ tokens: {
1796
+ source: string[];
1797
+ themes?: Record<string, string[]> | undefined;
1798
+ } | Record<string, {
1799
+ source: string[];
1800
+ themes?: Record<string, string[]> | undefined;
1801
+ }>;
1802
+ utilities?: z.objectOutputType<{
1803
+ core: z.ZodOptional<z.ZodBoolean>;
1804
+ }, z.ZodUnion<[z.ZodObject<{
1805
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1806
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1807
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1808
+ prefix: z.ZodOptional<z.ZodString>;
1809
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1810
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ properties?: string[] | undefined;
1813
+ custom?: Record<string, string> | undefined;
1814
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1815
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1816
+ prefix?: string | undefined;
1817
+ stripLevels?: number | undefined;
1818
+ }, {
1819
+ properties?: string[] | undefined;
1820
+ custom?: Record<string, string> | undefined;
1821
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1822
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1823
+ prefix?: string | undefined;
1824
+ stripLevels?: number | undefined;
1825
+ }>, z.ZodArray<z.ZodObject<{
1826
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1827
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1828
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
+ prefix: z.ZodOptional<z.ZodString>;
1830
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1831
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1832
+ }, "strip", z.ZodTypeAny, {
1833
+ properties?: string[] | undefined;
1834
+ custom?: Record<string, string> | undefined;
1835
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1836
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1837
+ prefix?: string | undefined;
1838
+ stripLevels?: number | undefined;
1839
+ }, {
1840
+ properties?: string[] | undefined;
1841
+ custom?: Record<string, string> | undefined;
1842
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1843
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1844
+ prefix?: string | undefined;
1845
+ stripLevels?: number | undefined;
1846
+ }>, "many">]>, "strip"> | undefined;
1847
+ output?: {
1848
+ tokens?: string | undefined;
1849
+ css?: string | undefined;
1850
+ components?: string | undefined;
1851
+ separate?: boolean | undefined;
1852
+ } | undefined;
1853
+ transforms?: {
1854
+ prefix?: string | undefined;
1855
+ fluid?: {
1856
+ min: number;
1857
+ max: number;
1858
+ } | undefined;
1859
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1860
+ } | undefined;
1861
+ components?: {
1862
+ framework?: "react" | "astro" | undefined;
1863
+ installed?: string[] | undefined;
1864
+ } | undefined;
1865
+ plugins?: string[] | undefined;
1866
+ }, {
1867
+ tokens: {
1868
+ source: string[];
1869
+ themes?: Record<string, string[]> | undefined;
1870
+ } | Record<string, {
1871
+ source: string[];
1872
+ themes?: Record<string, string[]> | undefined;
1873
+ }>;
1874
+ utilities?: z.objectInputType<{
1875
+ core: z.ZodOptional<z.ZodBoolean>;
1876
+ }, z.ZodUnion<[z.ZodObject<{
1877
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1878
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1879
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1880
+ prefix: z.ZodOptional<z.ZodString>;
1881
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1882
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1883
+ }, "strip", z.ZodTypeAny, {
1884
+ properties?: string[] | undefined;
1885
+ custom?: Record<string, string> | undefined;
1886
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1887
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1888
+ prefix?: string | undefined;
1889
+ stripLevels?: number | undefined;
1890
+ }, {
1891
+ properties?: string[] | undefined;
1892
+ custom?: Record<string, string> | undefined;
1893
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1894
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1895
+ prefix?: string | undefined;
1896
+ stripLevels?: number | undefined;
1897
+ }>, z.ZodArray<z.ZodObject<{
1898
+ typeMap: z.ZodOptional<z.ZodRecord<z.ZodEnum<["color", "dimension", "fluidDimension", "duration", "cubicBezier", "fontFamily", "fontWeight", "number", "border", "shadow", "gradient", "transition", "strokeStyle"]>, z.ZodArray<z.ZodString, "many">>>;
1899
+ directions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, z.ZodArray<z.ZodEnum<["top", "right", "bottom", "left", "x", "y", "full"]>, "many">]>>;
1900
+ properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1901
+ prefix: z.ZodOptional<z.ZodString>;
1902
+ stripLevels: z.ZodOptional<z.ZodNumber>;
1903
+ custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ properties?: string[] | undefined;
1906
+ custom?: Record<string, string> | undefined;
1907
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1908
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1909
+ prefix?: string | undefined;
1910
+ stripLevels?: number | undefined;
1911
+ }, {
1912
+ properties?: string[] | undefined;
1913
+ custom?: Record<string, string> | undefined;
1914
+ typeMap?: Partial<Record<"number" | "color" | "dimension" | "fluidDimension" | "duration" | "cubicBezier" | "fontFamily" | "fontWeight" | "border" | "shadow" | "gradient" | "transition" | "strokeStyle", string[]>> | undefined;
1915
+ directions?: "top" | "right" | "bottom" | "left" | "x" | "y" | "full" | ("top" | "right" | "bottom" | "left" | "x" | "y" | "full")[] | undefined;
1916
+ prefix?: string | undefined;
1917
+ stripLevels?: number | undefined;
1918
+ }>, "many">]>, "strip"> | undefined;
1919
+ output?: {
1920
+ tokens?: string | undefined;
1921
+ css?: string | undefined;
1922
+ components?: string | undefined;
1923
+ separate?: boolean | undefined;
1924
+ } | undefined;
1925
+ transforms?: {
1926
+ prefix?: string | undefined;
1927
+ fluid?: {
1928
+ min: number;
1929
+ max: number;
1930
+ } | undefined;
1931
+ colorFormat?: "hex" | "rgb" | "rgba" | "hsl" | "hsla" | "oklch" | "p3" | undefined;
1932
+ } | undefined;
1933
+ components?: {
1934
+ framework?: "react" | "astro" | undefined;
1935
+ installed?: string[] | undefined;
1018
1936
  } | undefined;
1937
+ plugins?: string[] | undefined;
1019
1938
  }>;
1020
1939
 
1021
- export { type ResolvedToken, type ResolvedTokens, type SugarcubeConfig, type TokenCollection, type TokenLoader, type TokenTree, type ValidationPipelineResult, configSchema, generationPipeline, getTokenPathsFromConfig, loadConfig, manageCSSIndex, parseAndValidateConfig, tokensToCSSPipeline, validateConfig, validationPipeline, writeCSSFilesToDisk };
1940
+ export { type CSSFileOutput, DEFAULT_CONFIG, DEFAULT_DESIGN_TOKENS_PATH, DEFAULT_STYLES_PATH, DEFAULT_UTILITIES_FILENAME, DEFAULT_VARIABLES_FILENAME, GLOBAL_DIR, Instrumentation, type LoadConfigResult, type OutputConfig, type PipelineResult, type ResolvedToken, type ResolvedTokens, SUGARCUBE_CONFIG_FILE, SUGARCUBE_FILE, type SugarcubeConfig, TOKENS_FILE_SUFFIX, type TokenCollection, type TokenCollections, type TokenLoader, type TokenPipelineSource, type TokenTree, UTILITIES_DIR, type UserConfig, type UserOutputConfig, type UtilitiesConfig, type UtilityDefinition, VARIABLES_FILE_SUFFIX, configSchema, discoverAllFiles, generateCSSUtilityClasses, generateCSSVariables, generateIndex, generateIndexContent, getTokenPathsFromConfig, internalConfigSchema, loadConfig, normalizeConfig, parseAndValidateConfig, shouldRegenerateIndex, tokenProcessingPipeline, userConfigSchema, validateConfig, writeCSSUtilitiesToDisk, writeCSSVariablesToDisk };