Shorthand helper to extract the raw State schema type from an AgentTypeConfig or ReactAgent.
This returns just the stateSchema type passed to createAgent, not merged with middleware.
For the complete merged state (what invoke returns), use InferAgentState.
InferAgentStateSchema: InferAgentType<T, "State">const agent = createAgent({ stateSchema: mySchema, ... });
type Schema = InferAgentStateSchema<typeof agent>;