import { HttpErrorResponse } from '@angular/common/http'; import { Injector, Type } from '@angular/core'; import { Validation } from '@ngx-validate/core'; import { Observable } from 'rxjs'; import { ConfirmationIcons } from '../tokens'; export interface RootParams { httpErrorConfig?: HttpErrorConfig; validation?: Partial; confirmationIcons?: Partial; } export declare type ErrorScreenErrorCodes = 401 | 403 | 404 | 500; export interface HttpErrorConfig { skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[]; errorScreen?: { component: Type; forWhichErrors?: ErrorScreenErrorCodes[]; hideCloseIcon?: boolean; }; } export declare type HttpErrorHandler = (injector: Injector, httpError: HttpErrorResponse) => Observable; export declare type LocaleDirection = 'ltr' | 'rtl';