@dicebear/core 11.0.0 → 11.1.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,14 @@
1
- export class StyleValidator {
2
- static validate(data: any): void;
1
+ /**
2
+ * Validates a style definition: the nesting depth, the `definition.json`
3
+ * schema, and what the schema cannot express, namely that every alias points
4
+ * at a base component, that no component renders itself and that keyframes
5
+ * are listed in order. Throws a {@link StyleValidationError} on the first
6
+ * check that fails.
7
+ *
8
+ * The package root runs it before a {@link Style} is built. The lite entry
9
+ * skips it, as it skips every validator.
10
+ */
11
+ export declare class StyleValidator {
12
+ #private;
13
+ static validate(data: unknown): void;
3
14
  }