export declare const SMTPErrorStates: { readonly COULDNOTCONNECT: 1; readonly BADRESPONSE: 2; readonly AUTHFAILED: 3; readonly TIMEDOUT: 4; readonly ERROR: 5; readonly NOCONNECTION: 6; readonly AUTHNOTSUPPORTED: 7; readonly CONNECTIONCLOSED: 8; readonly CONNECTIONENDED: 9; readonly CONNECTIONAUTH: 10; }; export type SMTPErrorState = (typeof SMTPErrorStates)[keyof typeof SMTPErrorStates]; export declare class SMTPError extends Error { code: SMTPErrorState | null; smtp: unknown; previous: Error | null; protected constructor(message: string); static create(message: string, code: SMTPErrorState, error?: Error | null, smtp?: unknown): SMTPError; }