import { Channel, CoroutineCreator } from '@dineug/go'; import { AnyAction, createAction } from '@dineug/r-html'; import { EngineContext } from './context'; import { RootState } from './state'; type ActionCreator = ReturnType>; export type CO = (channel: Channel, getState: () => RootState, ctx: EngineContext) => ReturnType; export type Hook = [Array, CO]; export {};