import { StreamError } from "@fnlb-project/stanza/dist/protocol"; /** * Represents an error that is thrown when the XMPP connection fails to be established */ declare class XMPPConnectionError extends Error { /** * The error condition */ condition: string; /** * The (optional) error text */ text?: string; /** * @param error The error that caused the connection to fail */ constructor(error: StreamError); } export default XMPPConnectionError;