UNPKG

dm-unimmersive

Version:
38 lines (37 loc) 1.36 kB
import { Action } from '@reduxjs/toolkit'; import { RootState } from '../types'; import { ThunkAction } from 'redux-thunk'; import { MiddlewareArray } from '@reduxjs/toolkit'; declare const store: import("@reduxjs/toolkit").EnhancedStore<import("redux").CombinedState<{ root: import("../types").Root; timeline: import("../types").TimelineState; segment: import("../types").SegmentState; player: { show_controlbar: { top: boolean | "any"; bottom: boolean; } | { bottom: boolean | "any"; top: boolean; }; paused: boolean; loading_progress: import("../types").PlayerProgress[]; volume?: number; disabled_buttons: { next_btn: boolean; } | { prev_btn: boolean; }; fullscreen: boolean; }; device: { device: string; os: string; browser: string; isMobile?: boolean; }; }>, import("redux").AnyAction, MiddlewareArray<((store: any) => (next: any) => (action: import("./actions").AppAction) => any)[]>>; export declare type AppState = ReturnType<typeof store.getState>; export declare type AppDispatch = typeof store.dispatch; export declare type AppThunk = ThunkAction<void, RootState, unknown, Action>; export default store;