import { Dispatcher } from "./Dispatcher" ; /**
 * StoreLike is a interfere for Store and StoreGroup.
 *
 * Note: receivePayload is not in this, because Store#receivePayload is not a part of StoreGroup.
 */ export interface StoreLike < T = any > extends Dispatcher { name : string ; getState ( ) : T ; onChange ( handler ) : ( ) => void ; release ( ) : void ; }