import { AppStore } from '../reducers/reducer.factory'; import { Observable } from 'rxjs'; import { NodeInterface } from '../interfaces/node.interface'; import { StateInterface } from '../interfaces/state.interface'; import * as i0 from "@angular/core"; export declare class FileManagerStoreService { private state; private sub; constructor(); dispatch(param: Actions): void; getState(mapFn: (value: AppStore, index: number) => R): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare function stateReducer(state: StateInterface, action: Actions): StateInterface; export interface ActionInterface { readonly type: string; payload?: any; } export declare const SET_PATH = "SET_PATH"; export declare const SET_LOADING_STATE = "SET_LOADING_STATE"; export declare const SET_SELECTED_NODE = "SET_SELECTED_NODE"; export declare class SetPath implements ActionInterface { readonly type = "SET_PATH"; payload: string; } export declare class SetLoadingState implements ActionInterface { readonly type = "SET_LOADING_STATE"; payload: boolean; } export declare class SetSelectedNode implements ActionInterface { readonly type = "SET_SELECTED_NODE"; payload: NodeInterface; } export type Actions = SetPath | SetLoadingState | SetSelectedNode;