WitnessResult
Parameters
privateState
The private state to pass back (null to keep current)
data
The witness byte array (e.g., secret key, signature, packed picks)
kind
How data should be presented to the Compact runtime — defaults to WitnessKind.BYTES which matches the existing behavior. Set to WitnessKind.VECTOR_OF_UINT8 for Vector<N, Uint<8>> witnesses.