import { OnInit, OnChanges } from '@angular/core'; /** */ export interface IErrorApi { headers?: object; message?: string; ok?: boolean; status?: number; _body?: string; statusText?: string; type?: number; url?: string; } export declare class ApiErrorComponent implements OnInit, OnChanges { /** An error response passed by the API or the application */ error: IErrorApi; /** An error response passed by the API or the application */ message: string; /** Whether or not to show all the error details passed by the API. If false will only show the error.msg */ showDetails: boolean; /** Array of keys in API error response */ errorOfKeys: string[]; errorMessage: string; /** API response keys to ignore */ private ignoreProps; constructor(); ngOnInit(): void; ngOnChanges(): void; createError(): void; /** * Hide alert message */ closeAlert(): void; }