/** Created by ge on 12/4/15. */ import { BehaviorSubject, Subject, Observable } from 'rxjs'; import { Action, Thunk, Reducer, Hash, StateActionBundle } from "./interfaces"; export declare const INIT_STORE = "@@luna/INIT_STORE"; export declare const INIT_STORE_ACTION: { type: string; }; export declare class Store extends BehaviorSubject { rootReducer: Reducer; dispatch: (action: Action | Thunk) => void; update$: Subject>; action$: Subject; constructor(rootReducer: Reducer | Hash, initialState?: TState); _dispatch(action: Action | Thunk): void; getState(): TState; select(key: string): Observable; destroy: () => void; }