@xstate/testInterfacesTestParamOn this pageTestParam <TSnapshot, TEvent>Index PropertieseventsstatesProperties optionaleventsevents?: { [ TEventType in string ]?: EventExecutor<TSnapshot, { type: ExtractEvent<TEvent, TEventType>[type] }> }optionalstatesstates?: {}Type declaration[key string]: (state: TSnapshot) => void | Promise<void>