import { Action } from '@ngrx/store'; import { User, ChatMessage } from '../entities'; export declare class Init implements Action { paylad: User; readonly type: string; constructor(paylad: User); } export declare class LoginChat implements Action { paylad: { accessToken: string; userId: string; me?: any; }; readonly type: string; constructor(paylad: { accessToken: string; userId: string; me?: any; }); } export declare class Register implements Action { paylad: { username: string; email: string; password: string; }; readonly type: string; constructor(paylad: { username: string; email: string; password: string; }); } export declare class ChannelChanged implements Action { paylad: { name: string; id: string; }; readonly type: string; constructor(paylad: { name: string; id: string; }); } export declare class MessageChanged implements Action { paylad: ChatMessage[]; readonly type: string; constructor(paylad: ChatMessage[]); } export declare type ChatActionsUnion = Init | LoginChat | Register | ChannelChanged;