export interface Action { type: TType; payload: TPayload; meta?: TMeta; error?: true; } export interface ErrorAction extends Action<'dugout/error', string, TMeta> { error: true; } export declare type StoredAction = Action; export declare type UserJoinedAction = Action<'dugout/user-joined', { userId: string; }>; export declare type UserLeftAction = Action<'dugout/user-left', { userId: string; }>; export declare type UserNickAction = Action<'dugout/user-nick', { userId: string; nick: string; }>; export declare type DebugAction = Action<'dugout/user-debug', { message: any; }>;