import { Vote } from './vote.model'; import { Action } from '@ngrx/store'; export declare const VOTES_LOADED = "[Data] votesLoaded"; export declare type State = { ids: { [targetId: string]: string[]; }; entities: { [targetId: string]: { [commentId: string]: Vote; }; }; }; export declare class VotesLoadedAction implements Action { readonly type: string; readonly payload: { votes: Vote[]; itemId: string; }; constructor(votes: Vote[], itemId: string); } export declare function reducer(state: State, action: Action): State; export declare const getIds: (state: State) => { [targetId: string]: string[]; }; export declare const getEntities: (state: State) => { [targetId: string]: { [commentId: string]: Vote; }; };