/** * Manage Validation Error * Used to check the initial configurations */ export declare class ValidationError { static ERROR_INVALID_CONF: number; static ERROR_INVALID_SESSION: number; static ERROR_INVALID_SESSION_TYPE: number; static ERROR_INVALID_SESSION_AUTH_TOKEN: number; static ERROR_INVALID_SESSION_CLIENT_ID: number; static ERROR_INVALID_SESSION_REFRESH_TOKEN_CALLBACK: number; static ERROR_INVALID_PORTAL: number; static ERROR_INVALID_LOCALE: number; static ERROR_INVALID_TRANSLATIONS: number; static ERROR_INVALID_THEME: number; static ERROR_INVALID_ROUTER: number; static ERROR_INVALID_PROVIDERS: number; static ERROR_INVALID_HANDLE_ANONYMOUS_ACTION: number; static ERROR_INVALID_NOTIFICATIONS: number; static ERROR_INVALID_NOTIFICATIONS_WEBSOCKET: number; static ERROR_INVALID_NOTIFICATIONS_WEBSOCKET_DISABLE_TOAST_MESSAGE: number; static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING: number; static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING_DISABLE_TOAST_MESSAGE: number; static ERROR_INVALID_NOTIFICATIONS_WEB_PUSH_MESSAGING_APPLICATION_SERVER_KEY: number; static defaultErrorMessageMap: { [x: number]: string; }; errorCode: any; errorData: any; errorMessage: any; constructor(errorCode: any, errorData: any, errorMessage?: string); } /** * Manage Validation Warnings * Used to check the initial configurations */ export declare class ValidationWarnings { static WARNING_SESSION_REFRESH_TOKEN_CALLBACK_NOT_FOUND: number; static WARNING_LOCALE_FALLBACK: number; static WARNING_ROUTER_FALLBACK: number; static WARNING_HANDLE_ANONYMOUS_ACTION_FALLBACK: number; static defaultErrorMessageMap: { [x: number]: string; }; warningCode: any; warningData: any; warningMessage: any; constructor(warningCode: any, warningData: any, warningMessage?: string); } /** * /** * Manage Validation Error/Warnings * of the initial configuration */ export declare class ValidationResult { errors: any[]; warnings: any[]; scope: string; constructor(scope?: string); /** * Add an error * @param errorCode * @param errorData */ addError(errorCode: any, errorData: any): any[]; /** * Add a warning * @param errorCode * @param errorData */ addWarnings(warningCode: any, warningData: any): any[]; /** * Check if contains errors */ hasErrors(): boolean; /** * Check if contains warnings */ hasWarnings(): boolean; /** * Emit in console all the errors */ emitErrors(): void; /** * Emit in console all the warnings */ emitWarnings(): void; /** * Emit in console errors/warnings */ emit(): void; } /** * Check if v is a func * @param v */ export declare function isFunc(v: any): boolean; //# sourceMappingURL=errors.d.ts.map