@typeonce/effect-machine 0.22.0 → 0.24.0

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/Machine.d.ts CHANGED
@@ -5036,6 +5036,20 @@ export declare const stateNodes: <M extends Machine.Any>(machine: M) => Readonly
5036
5036
  * @since 0.14.0
5037
5037
  */
5038
5038
  export declare const initialDefinition: <M extends Machine.Any>(machine: M) => Machine.InitialDefinition<Machine.RootStateIdentifier<Machine.StateIdentifier<Machine.States<M>>>>;
5039
+ /**
5040
+ * Returns the schemas accepted by the machine's public event protocol.
5041
+ *
5042
+ * **Details**
5043
+ *
5044
+ * The returned tuple retains the schemas supplied to {@link events}, including
5045
+ * grouped tagged unions. Internal and emitted event schemas are excluded. This
5046
+ * getter is intended for tooling that needs to describe or construct valid
5047
+ * external inputs without reaching into the opaque event protocol.
5048
+ *
5049
+ * @category getters
5050
+ * @since 0.24.0
5051
+ */
5052
+ export declare const inputEventSchemas: <M extends Machine.Any>(machine: M) => Machine.InputEvents<M>;
5039
5053
  /**
5040
5054
  * Returns every registered transition handler in state definition order.
5041
5055
  *