@sanity/schema 5.0.0-next.0-9b570ece82-202507150640 → 5.0.0-next.7

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/lib/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import {RuleClass} from '@sanity/types'
2
+
1
3
  /**
2
4
  * @deprecated Use `import {Schema} from "@sanity/schema"` instead
3
5
  */
@@ -7,6 +9,14 @@ declare class DeprecatedDefaultSchema extends Schema_2 {
7
9
  }
8
10
  export default DeprecatedDefaultSchema
9
11
 
12
+ /**
13
+ * Core Rule implementation without validation logic.
14
+ * This is the base Rule class that can be extended with validation logic.
15
+ *
16
+ * @internal
17
+ */
18
+ export declare const Rule: RuleClass
19
+
10
20
  export declare const Schema: typeof Schema_2
11
21
 
12
22
  /**