import { HttpErrorResponse } from '@angular/common/http'; import { Error, ErrorResponse } from '@mosaic-design/infosec-components/types'; import { ErrorType, ServerError } from '../types'; export declare function isHttpErrorResponse(error: ServerError): error is HttpErrorResponse; export declare function isServerError(error: ServerError): error is ErrorResponse; export declare function mapErrors(error: ErrorResponse | undefined): Error[]; export declare function mapErrorType(error: ErrorResponse | undefined): ErrorType | undefined; export declare function mapIsCopyDetailsButtonVisible(errorType: ErrorType | undefined, isDetailsVisible: boolean): boolean;