import { IItem , IListenerOptions } from './types' ; import { Debe } from './debe' ; export type listenTypes = 'get' | 'count' | 'all' | 'insert' | string ; export type actionTypes = 'get' | 'count' | 'all' | 'insert' | 'remove' | string ; export abstract class DebeDispatcher < TBase = IItem > { db : Debe ; abstract close ( ) ; abstract initialize ( ) ; abstract run < T = TBase > ( action , collection , payload ? , options ? ) ; abstract listen < T = TBase > ( action , callback , options ) ; }