@regle/core 1.26.1 → 1.27.0-beta.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,5 +1,5 @@
1
1
  /**
2
- * @regle/core v1.26.1
2
+ * @regle/core v1.27.0-beta.1
3
3
  * (c) 2026 Victor Garcia
4
4
  * @license MIT
5
5
  */
@@ -719,6 +719,14 @@ interface LocalRegleBehaviourOptions<TState extends Record<string, any>, TRules
719
719
  * More details: https://reglejs.dev/advanced-usage/external-errors
720
720
  */
721
721
  externalErrors?: Ref<RegleExternalErrorTree<Unwrap<TState>> | Record<string, string[]>>;
722
+ /**
723
+ * A dictionary of external issues to be injected into the field statuses.
724
+ *
725
+ * External issues preserve metadata in `$issues` and their `$message` is reflected in `$errors`.
726
+ * They are mutually exclusive with `externalErrors`: assigning one clears the other.
727
+ * You can also call `r$.$setExternalIssues(...)` directly without providing this option.
728
+ */
729
+ externalIssues?: Ref<RegleExternalIssueTree<Unwrap<TState>> | Record<string, RegleExternalFieldIssue[]>>;
722
730
  /**
723
731
  * Allows you to group fields for custom collective validation logic.
724
732
  *
@@ -742,6 +750,10 @@ type FieldOnlyRegleBehaviourOptions = {
742
750
  * Set external errors for the field.
743
751
  */
744
752
  externalErrors?: Ref<string[]>;
753
+ /**
754
+ * Set external issues for the field.
755
+ */
756
+ externalIssues?: Ref<RegleExternalIssueTree[]>;
745
757
  /**
746
758
  * A unique identifier for the Regle instance in the devtools.
747
759
  * @default undefined
@@ -1299,7 +1311,8 @@ type RegleStatus<TState extends object | Record<string, any> | undefined = Recor
1299
1311
  * */
1300
1312
  readonly $errors: RegleErrorTree<TState, false>; /** Collection of all the error messages, collected for all children properties. */
1301
1313
  readonly $silentErrors: RegleErrorTree<TState>; /** Sets the external errors for the field. */
1302
- $setExternalErrors(errors: RegleExternalErrorTree<TState>): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1314
+ $setExternalErrors(errors: RegleExternalErrorTree<TState>): void; /** Sets the external issues for the field. */
1315
+ $setExternalIssues(issues: RegleExternalIssueTree<TState>): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1303
1316
  $extractDirtyFields: (filterNullishValues?: boolean) => DeepPartial<TState>; /** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
1304
1317
  $validate: (forceValues?: JoinDiscriminatedUnions<TState> extends EmptyObject ? any : HasNamedKeys<JoinDiscriminatedUnions<TState>> extends true ? IsUnknown<JoinDiscriminatedUnions<TState>> extends true ? any : JoinDiscriminatedUnions<TState> : any) => Promise<RegleResult<JoinDiscriminatedUnions<TState>, TRules>>;
1305
1318
  } & (HasNamedKeys<TState> extends true ? _TFields : {}) & CustomNestedProperties & ([TShortcuts['nested']] extends [never] ? {} : { [K in keyof TShortcuts['nested']]: ReturnType<NonNullable<TShortcuts['nested']>[K]> }) & (TRules['$self'] extends RegleRuleDecl ? {
@@ -1311,6 +1324,7 @@ type RegleStatus<TState extends object | Record<string, any> | undefined = Recor
1311
1324
  */
1312
1325
  interface $InternalRegleStatus extends $InternalRegleCommonStatus {
1313
1326
  readonly $externalErrors?: $InternalRegleErrorTree;
1327
+ readonly $externalIssues?: $InternalRegleIssues;
1314
1328
  $fields: {
1315
1329
  [x: string]: $InternalRegleStatusType;
1316
1330
  };
@@ -1361,7 +1375,8 @@ type RegleFieldStatus<TState extends any = any, TRules extends RegleFormProperty
1361
1375
  * Collect all metadata of validators, including the error message.
1362
1376
  */
1363
1377
  readonly $silentIssues: RegleFieldIssue<TRules>[]; /** Stores external errors of the current field */
1364
- readonly $externalErrors: string[]; /** Stores active tooltips messages of the current field */
1378
+ readonly $externalErrors: string[]; /** Stores external issues of the current field */
1379
+ readonly $externalIssues: RegleFieldIssue[]; /** Stores active tooltips messages of the current field */
1365
1380
  readonly $tooltips: string[]; /** Represents the inactive status. Is true when this state have empty rules */
1366
1381
  readonly $inactive: boolean; /** Adds runtime rules to the field. */
1367
1382
  $addRules: (rules: RegleRuleDecl) => void;
@@ -1370,7 +1385,8 @@ type RegleFieldStatus<TState extends any = any, TRules extends RegleFormProperty
1370
1385
  * @deprecated Use `$addRules` instead. This alias will be removed in a future version.
1371
1386
  */
1372
1387
  addRules: (rules: RegleRuleDecl) => void; /** Sets the external errors for the field. */
1373
- $setExternalErrors(errors: string[]): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1388
+ $setExternalErrors(errors: string[]): void; /** Sets the external issues for the field. */
1389
+ $setExternalIssues(issues: RegleFieldIssue[]): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1374
1390
  $extractDirtyFields: (filterNullishValues?: boolean) => MaybeOutput<TState>; /** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
1375
1391
  $validate: (forceValues?: IsUnknown<TState> extends true ? any : TState) => Promise<RegleFieldResult<TState, TRules>>; /** This is reactive tree containing all the declared rules of your field. To know more about the rule properties check the rules properties section */
1376
1392
  readonly $rules: ComputeFieldRules<TState, TRules>;
@@ -1384,6 +1400,7 @@ interface $InternalRegleFieldStatus extends $InternalRegleCommonStatus {
1384
1400
  $silentValue: any;
1385
1401
  readonly $rules: Record<string, $InternalRegleRuleStatus>;
1386
1402
  readonly $externalErrors?: string[];
1403
+ readonly $externalIssues?: RegleExternalFieldIssue[];
1387
1404
  readonly $errors: string[];
1388
1405
  readonly $tooltips: string[];
1389
1406
  readonly $inactive: boolean;
@@ -1510,6 +1527,8 @@ interface RegleCommonStatus<TInput = any, TOutput = TInput, TRules extends Recor
1510
1527
  $reset(options?: ResetOptions<TInput>): void;
1511
1528
  /** Clears the $externalErrors state back to an empty object. */
1512
1529
  $clearExternalErrors(): void;
1530
+ /** Clears the $externalIssues state back to an empty object. */
1531
+ $clearExternalIssues(): void;
1513
1532
  }
1514
1533
  interface $InternalRegleCommonStatus extends Omit<RegleCommonStatus, '$touch' | '$reset'> {
1515
1534
  $touch(runCommit?: boolean, withConditions?: boolean): void;
@@ -1518,6 +1537,7 @@ interface $InternalRegleCommonStatus extends Omit<RegleCommonStatus, '$touch' |
1518
1537
  $reset(options?: ResetOptions<any>, fromParent?: boolean): void;
1519
1538
  $abort(): void;
1520
1539
  $setExternalErrors(errors: RegleExternalErrorTree<unknown>): void;
1540
+ $setExternalIssues(issues: RegleExternalIssueTree<unknown>): void;
1521
1541
  }
1522
1542
  /**
1523
1543
  * @public
@@ -1606,7 +1626,8 @@ type RegleCollectionStatus<TState extends any[] = any[], TRules extends ReglePar
1606
1626
  * Only contains errors from properties where $dirty equals true. */
1607
1627
  readonly $errors: RegleCollectionErrors<TState>; /** Collection of all the error messages, collected for all children properties and nested forms. */
1608
1628
  readonly $silentErrors: RegleCollectionErrors<TState>; /** Sets the external errors for the field. */
1609
- $setExternalErrors(errors: RegleExternalCollectionErrors<TState>): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1629
+ $setExternalErrors(errors: RegleExternalCollectionErrors<TState>): void; /** Sets the external issues for the field. */
1630
+ $setExternalIssues(errors: RegleExternalCollectionErrors<TState, true>): void; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1610
1631
  $extractDirtyFields: (filterNullishValues?: boolean) => DeepPartial<TState>; /** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
1611
1632
  $validate: (value?: JoinDiscriminatedUnions<TState>) => Promise<RegleCollectionResult<TState, JoinDiscriminatedUnions<TRules>>>;
1612
1633
  } & CustomCollectionProperties & ([TShortcuts['collections']] extends [never] ? {} : { [K in keyof TShortcuts['collections']]: ReturnType<NonNullable<TShortcuts['collections']>[K]> });
@@ -1621,6 +1642,7 @@ interface $InternalRegleCollectionStatus extends Omit<$InternalRegleStatus, '$fi
1621
1642
  readonly $errors: $InternalRegleCollectionErrors;
1622
1643
  readonly $silentErrors: $InternalRegleCollectionErrors;
1623
1644
  readonly $externalErrors?: string[];
1645
+ readonly $externalIssues?: RegleFieldIssue[];
1624
1646
  readonly '~modifiers'?: CollectionRegleBehaviourOptions;
1625
1647
  $extractDirtyFields: (filterNullishValues?: boolean) => any[];
1626
1648
  $validate: (forceValues?: any) => Promise<$InternalRegleResult>;
@@ -1734,14 +1756,21 @@ type RegleIssuesTree<TState = MaybeRef<Record<string, any> | any[]>, TSchema ext
1734
1756
  type RegleExternalErrorTree<TState = MaybeRef<Record<string, any> | any[]>, TSchema extends boolean = false> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : ({ readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]?: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], true, TSchema> } & {
1735
1757
  readonly $self?: RegleFieldIssue[];
1736
1758
  }) | Record<Paths<TState> | (string & {}), string[]>;
1759
+ type RegleExternalIssueTree<TState = MaybeRef<Record<string, any> | any[]>, TSchema extends boolean = false> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : ({ readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]?: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], true, true, TSchema> } & {
1760
+ readonly $self?: RegleExternalFieldIssue[];
1761
+ }) | Partial<Record<Paths<TState> | (string & {}), RegleExternalFieldIssue[]>>;
1737
1762
  type RegleExternalSchemaErrorTree<TState = MaybeRef<Record<string, any> | any[]>, TSchema extends boolean = false> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : { readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]?: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], true, true, TSchema> };
1763
+ type RegleExternalSchemaIssueTree<TState = MaybeRef<Record<string, any> | any[]>, TSchema extends boolean = false> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : { readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]?: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], true, true, TSchema> };
1738
1764
  type ErrorMessageOrIssue<TIssue extends boolean, TRules extends RegleFormPropertyType<Record<string, any>> = EmptyObject> = TIssue extends true ? RegleFieldIssue<TRules>[] : string[];
1739
- type RegleValidationErrors<TState extends Record<string, any> | any[] | unknown = never, TExternal extends boolean = false, TIssue extends boolean = false, TSchema extends boolean = false, TRules extends RegleFormPropertyType<Record<string, any>> = EmptyObject> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : HasNamedKeys<TState> extends true ? NonNullable<TState> extends Array<infer U> ? TSchema extends false ? TExternal extends false ? RegleCollectionErrors<U, TIssue, TSchema> : RegleExternalCollectionErrors<U, TIssue, TSchema> : RegleCollectionErrors<U, TIssue, TSchema> : NonNullable<TState> extends Date | File ? ErrorMessageOrIssue<TIssue, TRules> : NonNullable<TState> extends Record<string, any> ? IsRegleStatic<NonNullable<TState>> extends true ? ErrorMessageOrIssue<TIssue, TRules> : TExternal extends false ? RegleErrorTree<TState, TIssue, TSchema> : RegleExternalErrorTree<TState, TSchema> : ErrorMessageOrIssue<TIssue, TRules> : any;
1765
+ type ExternalErrorMessageOrIssue<TIssue extends boolean> = TIssue extends true ? RegleExternalFieldIssue[] : string[];
1766
+ type RegleValidationErrors<TState extends Record<string, any> | any[] | unknown = never, TExternal extends boolean = false, TIssue extends boolean = false, TSchema extends boolean = false, TRules extends RegleFormPropertyType<Record<string, any>> = EmptyObject> = IsAny<TState> extends true ? any : IsUnknown<TState> extends true ? any : HasNamedKeys<TState> extends true ? NonNullable<TState> extends Array<infer U> ? TSchema extends false ? TExternal extends false ? RegleCollectionErrors<U, TIssue, TSchema> : RegleExternalCollectionErrors<U, TIssue, TSchema> : RegleCollectionErrors<U, TIssue, TSchema> : NonNullable<TState> extends Date | File ? TExternal extends true ? ExternalErrorMessageOrIssue<TIssue> : ErrorMessageOrIssue<TIssue, TRules> : NonNullable<TState> extends Record<string, any> ? IsRegleStatic<NonNullable<TState>> extends true ? TExternal extends true ? ExternalErrorMessageOrIssue<TIssue> : ErrorMessageOrIssue<TIssue, TRules> : TExternal extends false ? RegleErrorTree<TState, TIssue, TSchema> : TIssue extends true ? RegleExternalIssueTree<TState, TSchema> : RegleExternalErrorTree<TState, TSchema> : TExternal extends true ? ExternalErrorMessageOrIssue<TIssue> : ErrorMessageOrIssue<TIssue, TRules> : any;
1767
+ interface RegleIssueCustomMetadata {}
1740
1768
  type RegleFieldIssue<TRules extends RegleFormPropertyType<unknown, Partial<ExtendedRulesDeclarations>> = EmptyObject> = {
1741
1769
  readonly $property: string;
1742
1770
  readonly $type?: string;
1743
1771
  readonly $message: string;
1744
- } & (IsEmptyObject<TRules> extends true ? {
1772
+ [x: string]: unknown;
1773
+ } & RegleIssueCustomMetadata & (IsEmptyObject<TRules> extends true ? {
1745
1774
  readonly $rule: string;
1746
1775
  } : { [K in keyof ComputeFieldRules<any, TRules>]: ComputeFieldRules<any, TRules>[K] extends {
1747
1776
  $metadata: infer TMetadata;
@@ -1754,6 +1783,7 @@ type RegleFieldIssue<TRules extends RegleFormPropertyType<unknown, Partial<Exten
1754
1783
  } : {
1755
1784
  readonly $rule: string;
1756
1785
  } }[keyof ComputeFieldRules<any, TRules>]);
1786
+ type RegleExternalFieldIssue = Pick<RegleFieldIssue, '$message'> & Partial<Omit<RegleFieldIssue, '$message'>> & Record<string, unknown>;
1757
1787
  type ComputeFieldRules<TState extends any, TRules extends MaybeRef<RegleFormPropertyType<unknown, Partial<ExtendedRulesDeclarations>>>> = IsEmptyObject<UnwrapRef<TRules>> extends true ? {
1758
1788
  readonly [x: string]: RegleRuleStatus<TState, any[], any>;
1759
1789
  } : { readonly [TRuleKey in keyof UnwrapRef<TRules> as TRuleKey extends '$each' | keyof FieldRegleBehaviourOptions ? never : TRuleKey]: RegleRuleStatus<TState, UnwrapRef<TRules>[TRuleKey] extends RegleRuleDefinitionLight<infer TParams, any> ? TParams : [], UnwrapRef<TRules>[TRuleKey] extends RegleRuleDefinitionLight<any, any, infer TMetadata> ? TMetadata : UnwrapRef<TRules>[TRuleKey] extends InlineRuleDeclaration<any, any[], infer TReturn> ? TReturn extends Promise<infer P> ? P : TReturn : RegleRuleMetadataDefinition> };
@@ -1762,7 +1792,7 @@ type RegleCollectionErrors<TState extends any, TIssue extends boolean = false, T
1762
1792
  readonly $each: RegleValidationErrors<TState, false, TIssue, TSchema>[];
1763
1793
  };
1764
1794
  type RegleExternalCollectionErrors<TState extends unknown, TIssue extends boolean = false, TSchema extends boolean = false> = {
1765
- readonly $self?: TIssue extends true ? RegleFieldIssue[] : string[];
1795
+ readonly $self?: TIssue extends true ? RegleExternalFieldIssue[] : string[];
1766
1796
  readonly $each?: RegleValidationErrors<TState, true, TIssue, TSchema>[];
1767
1797
  };
1768
1798
  /** @internal */
@@ -1819,6 +1849,7 @@ interface SuperCompatibleRegleFieldStatus extends SuperCompatibleRegleCommonStat
1819
1849
  $silentValue: any;
1820
1850
  readonly $rules: Record<string, SuperCompatibleRegleRuleStatus>;
1821
1851
  readonly $externalErrors?: string[];
1852
+ readonly $externalIssues?: RegleExternalFieldIssue[];
1822
1853
  readonly $issues: RegleFieldIssue[];
1823
1854
  readonly $silentIssues: RegleFieldIssue[];
1824
1855
  readonly $errors: string[];
@@ -1834,6 +1865,7 @@ interface SuperCompatibleRegleCollectionStatus extends Omit<SuperCompatibleRegle
1834
1865
  readonly $errors: SuperCompatibleRegleCollectionErrors;
1835
1866
  readonly $silentErrors: SuperCompatibleRegleCollectionErrors;
1836
1867
  readonly $externalErrors?: string[];
1868
+ readonly $externalIssues?: RegleExternalFieldIssue[];
1837
1869
  $extractDirtyFields: (filterNullishValues?: boolean) => any[];
1838
1870
  $validate?: (...args: any[]) => Promise<SuperCompatibleRegleResult>;
1839
1871
  $validateSync?: (...args: any[]) => boolean;
@@ -1910,7 +1942,9 @@ type MergedRegles<TRegles extends Record<string, SuperCompatibleRegleRoot>, TVal
1910
1942
  readonly $silentErrors: { [K in keyof TRegles]: TRegles[K]['$silentErrors'] };
1911
1943
  readonly $issues: { [K in keyof TRegles]: TRegles[K]['$issues'] };
1912
1944
  readonly $silentIssues: { [K in keyof TRegles]: TRegles[K]['$silentIssues'] }; /** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
1913
- $extractDirtyFields: (filterNullishValues?: boolean) => DeepPartial<TValue>[]; /** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
1945
+ $extractDirtyFields: (filterNullishValues?: boolean) => DeepPartial<TValue>[]; /** Sets external errors on every merged instance. */
1946
+ $setExternalErrors(errors: string[]): void; /** Sets structured external issues on every merged instance. */
1947
+ $setExternalIssues(issues: RegleExternalFieldIssue[]): void; /** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
1914
1948
  $validate: (forceValues?: TRegles['$value']) => Promise<MergedReglesResult<TRegles>>;
1915
1949
  $validateSync: (forceValues?: TRegles['$value']) => boolean;
1916
1950
  } & (HasNamedKeys<TRegles> extends true ? { [K in keyof TRegles]: TRegles[K] } : {});
@@ -2291,4 +2325,4 @@ declare function isRegleInstance(value: unknown): boolean;
2291
2325
  * @see {@link https://reglejs.dev/introduction/devtools Documentation}
2292
2326
  */
2293
2327
  declare const RegleVuePlugin: Plugin;
2294
- export { type $InternalRegleStatus, type AllRulesDeclarations, type ArrayElement, type CommonAlphaOptions, type CommonComparisonOptions, type CreateScopedUseRegleOptions, type CustomCollectionProperties, type CustomFieldProperties, type CustomNestedProperties, type CustomRules, type DeepMaybeRef, type DeepPartial, type DeepReactiveState, type DefaultValidatorsTree, type DumbJoinDiscriminatedUnions, type ExtendedRulesDeclarations, type ExtendedRulesDeclarationsOverrides, type FormRuleDeclaration, type GlobalConfigOverrides, type HasNamedKeys, type HaveAnyRequiredProps, type InferInput, type InferOutput, type InferRegleRoot, type InferRegleRule, type InferRegleRules, type InferRegleSettings, type InferRegleShortcuts, type InferRegleStatusType, type InferRegleValidationResult, type InferSafeOutput, type InferValidOutput, type InlineRuleDeclaration, InternalRuleType, type IsRegleStatic, type JoinDiscriminatedUnions, type LazyJoinDiscriminatedUnions, type LocalRegleBehaviourOptions, type Maybe, type MaybeInput, type MaybeOutput, type MaybeReadonly, type MaybeVariantStatus, type MeasurableValue, type MergedRegles, type MergedScopedRegles, type NarrowVariant, type NarrowVariantExtracts, type NarrowVariantFieldExtracts, type NoInferLegacy, type NonEmptyTuple, type ParamsToLooseParams, type Prettify, type PrimitiveTypes, type Regle, type RegleBehaviourOptions, type RegleCollectionErrors, type RegleCollectionRuleDecl, type RegleCollectionRuleDefinition, type RegleCollectionStatus, type RegleCommonStatus, type RegleComputedRules, type RegleCustomFieldStatus, type RegleEnforceCustomRequiredRules, type RegleEnforceRequiredRules, type RegleErrorTree, type RegleExternalCollectionErrors, type RegleExternalErrorTree, type RegleExternalSchemaErrorTree, type RegleFieldIssue, type RegleFieldStatus, type RegleFormPropertyType, type RegleInternalRuleDefs, type RegleIssuesTree, type RegleLike, type ReglePartialRuleTree, type RegleResult, type RegleRoot, type RegleRuleCore, type RegleRuleDecl, type RegleRuleDefinition, type RegleRuleDefinitionLight, type RegleRuleDefinitionProcessor, type RegleRuleDefinitionWithMetadataProcessor, type RegleRuleInit, type RegleRuleMetadataConsumer, type RegleRuleMetadataDefinition, type RegleRuleMetadataExtended, type RegleRuleRaw, type RegleRuleStatus, type RegleRuleTypeReturn, type RegleRuleWithParamsDefinition, type RegleRuleWithParamsDefinitionInput, type RegleShortcutDefinition, type RegleSingleField, type RegleStatic, type RegleStaticImpl, type RegleStatus, type RegleUniversalParams, type RegleUnknownRulesTree, type RegleValidationErrors, type RegleValidationGroupEntry, type RegleValidationGroupOutput, type RegleRuleTree as RegleValidationTree, RegleVuePlugin, type ResolvedRegleBehaviourOptions, type ScopedInstancesRecord, type ScopedInstancesRecordLike, type SuperCompatibleRegle, type SuperCompatibleRegleCollectionErrors, type SuperCompatibleRegleCollectionStatus, type SuperCompatibleRegleFieldStatus, type SuperCompatibleRegleResult, type SuperCompatibleRegleRoot, type SuperCompatibleRegleRuleStatus, type SuperCompatibleRegleStatus, type TupleToPlainObj, type Unwrap, type UnwrapRegleUniversalParams, type UnwrapRuleWithParams, type UnwrapStatic, type UrlOptions, type UseScopedRegleOptions, createRule, createScopedUseRegle, createVariant, defineRegleConfig, defineRegleOptions, defineRules, extendRegleConfig, flatErrors, getErrors, getIssues, inferRules, type inferRulesFn, type isEditedHandlerFn, isRegleInstance, markStatic, mergeRegles, narrowVariant, refineRules, unwrapRuleParameters, useCollectScope, type useCollectScopeFn, useRegle, type useRegleFn, useRootStorage, useRules, type useRulesFn, useScopedRegle, type useScopedRegleFn, variantToRef };
2328
+ export { type $InternalRegleStatus, type AllRulesDeclarations, type ArrayElement, type CommonAlphaOptions, type CommonComparisonOptions, type CreateScopedUseRegleOptions, type CustomCollectionProperties, type CustomFieldProperties, type CustomNestedProperties, type CustomRules, type DeepMaybeRef, type DeepPartial, type DeepReactiveState, type DefaultValidatorsTree, type DumbJoinDiscriminatedUnions, type ExtendedRulesDeclarations, type ExtendedRulesDeclarationsOverrides, type FormRuleDeclaration, type GlobalConfigOverrides, type HasNamedKeys, type HaveAnyRequiredProps, type InferInput, type InferOutput, type InferRegleRoot, type InferRegleRule, type InferRegleRules, type InferRegleSettings, type InferRegleShortcuts, type InferRegleStatusType, type InferRegleValidationResult, type InferSafeOutput, type InferValidOutput, type InlineRuleDeclaration, InternalRuleType, type IsRegleStatic, type JoinDiscriminatedUnions, type LazyJoinDiscriminatedUnions, type LocalRegleBehaviourOptions, type Maybe, type MaybeInput, type MaybeOutput, type MaybeReadonly, type MaybeVariantStatus, type MeasurableValue, type MergedRegles, type MergedScopedRegles, type NarrowVariant, type NarrowVariantExtracts, type NarrowVariantFieldExtracts, type NoInferLegacy, type NonEmptyTuple, type ParamsToLooseParams, type Prettify, type PrimitiveTypes, type Regle, type RegleBehaviourOptions, type RegleCollectionErrors, type RegleCollectionRuleDecl, type RegleCollectionRuleDefinition, type RegleCollectionStatus, type RegleCommonStatus, type RegleComputedRules, type RegleCustomFieldStatus, type RegleEnforceCustomRequiredRules, type RegleEnforceRequiredRules, type RegleErrorTree, type RegleExternalCollectionErrors, type RegleExternalErrorTree, type RegleExternalFieldIssue, type RegleExternalIssueTree, type RegleExternalSchemaErrorTree, type RegleExternalSchemaIssueTree, type RegleFieldIssue, type RegleFieldStatus, type RegleFormPropertyType, type RegleInternalRuleDefs, type RegleIssueCustomMetadata, type RegleIssuesTree, type RegleLike, type ReglePartialRuleTree, type RegleResult, type RegleRoot, type RegleRuleCore, type RegleRuleDecl, type RegleRuleDefinition, type RegleRuleDefinitionLight, type RegleRuleDefinitionProcessor, type RegleRuleDefinitionWithMetadataProcessor, type RegleRuleInit, type RegleRuleMetadataConsumer, type RegleRuleMetadataDefinition, type RegleRuleMetadataExtended, type RegleRuleRaw, type RegleRuleStatus, type RegleRuleTypeReturn, type RegleRuleWithParamsDefinition, type RegleRuleWithParamsDefinitionInput, type RegleShortcutDefinition, type RegleSingleField, type RegleStatic, type RegleStaticImpl, type RegleStatus, type RegleUniversalParams, type RegleUnknownRulesTree, type RegleValidationErrors, type RegleValidationGroupEntry, type RegleValidationGroupOutput, type RegleRuleTree as RegleValidationTree, RegleVuePlugin, type ResolvedRegleBehaviourOptions, type ScopedInstancesRecord, type ScopedInstancesRecordLike, type SuperCompatibleRegle, type SuperCompatibleRegleCollectionErrors, type SuperCompatibleRegleCollectionStatus, type SuperCompatibleRegleFieldStatus, type SuperCompatibleRegleResult, type SuperCompatibleRegleRoot, type SuperCompatibleRegleRuleStatus, type SuperCompatibleRegleStatus, type TupleToPlainObj, type Unwrap, type UnwrapRegleUniversalParams, type UnwrapRuleWithParams, type UnwrapStatic, type UrlOptions, type UseScopedRegleOptions, createRule, createScopedUseRegle, createVariant, defineRegleConfig, defineRegleOptions, defineRules, extendRegleConfig, flatErrors, getErrors, getIssues, inferRules, type inferRulesFn, type isEditedHandlerFn, isRegleInstance, markStatic, mergeRegles, narrowVariant, refineRules, unwrapRuleParameters, useCollectScope, type useCollectScopeFn, useRegle, type useRegleFn, useRootStorage, useRules, type useRulesFn, useScopedRegle, type useScopedRegleFn, variantToRef };