import { EffectApi, EffectApiEx } from './effects'; // Gives you the type of a field K in type T type FieldType = T[K]; export interface Matcher { } /** Use signatures from from EffectApi and EffectApiEx */ export const actionChannel: FieldType, 'actionChannel'>; export const apply: FieldType, 'apply'>; export const call: FieldType, 'call'>; export const cancel: FieldType, 'cancel'>; export const cancelled: FieldType, 'cancelled'>; export const cps: FieldType, 'cps'>; export const flush: FieldType, 'flush'>; export const fork: FieldType, 'fork'>; export const getContext: FieldType, 'getContext'>; export const join: FieldType, 'join'>; export const put: FieldType, 'put'>; export const putResolve: FieldType, 'putResolve'>; export const race: FieldType, 'race'>; export const select: FieldType, 'select'>; export const setContext: FieldType, 'setContext'>; export const spawn: FieldType, 'spawn'>; export const take: FieldType, 'take'>; export const takeMaybe: FieldType, 'takeMaybe'>;