export interface IChatController { anon: boolean; doSend: any; spectator?: boolean; gameId?: string; tournamentId?: string; } export declare function chatView(ctrl: IChatController, chatType: string): import("snabbdom").VNode; export declare function chatMessage(user: string, message: string, chatType: string, time?: number): void;