import { Action } from '@ngrx/store'; import { Comment } from './comment.model'; export declare const COMMENTS_LOADED = "[Data] commentsLoaded"; export declare type State = { ids: { [targetId: string]: string[]; }; entities: { [targetId: string]: { [commentId: string]: Comment; }; }; }; export declare class CommentsLoadedAction implements Action { readonly type: string; readonly payload: { comments: Comment[]; itemId: string; }; constructor(comments: Comment[], 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]: Comment; }; };