import { Commands, Events, BaseMessage } from '../twitch'; import BaseError from '../utils/BaseError'; declare class ChatError extends BaseError { command: Commands | Events; constructor(error: Error | string, message?: BaseMessage | string); } export declare class AuthenticationError extends ChatError { constructor(error: Error, message?: BaseMessage); } export declare class ParseError extends ChatError { _raw: string; constructor(error: Error, rawMessage: string); } export declare class JoinError extends ChatError { constructor(message?: string); } export declare class TimeoutError extends ChatError { constructor(message?: string); } export default ChatError;