import { TypeAuthError } from './helpers/types'; export declare function generateError(errType: number, err: any, log?: boolean): any; export declare class AuthError { static GENERAL_ERROR: number; static UNAUTHORISED: number; static TRY_REFRESH_TOKEN: number; static isErrorFromAuth: (err: any) => err is TypeAuthError; }