import { HttpErrorResponse, HttpEventType } from '@angular/common/http';
export interface SimplifiedHttpErrorResponse extends Record<string, unknown> {
    url: string | null;
    message: string;
    name: string;
    status: number;
    statusText: string;
    headers: Record<string, string[]>;
    error: any;
    errorMessage: string;
    ok: boolean;
    type: HttpEventType.Response | HttpEventType.ResponseHeader;
}
export declare function SimplifyHttpErrorResponse(event: HttpErrorResponse): SimplifiedHttpErrorResponse;
export declare function ExtractContextFromError(error: unknown): Record<string, Record<string, unknown>>;
export declare function ExtractExtraFromError(error: unknown): {};
export declare function ExtractTagsFromError(error: unknown): {};
export declare function ExtractError(error: unknown): string | HttpErrorResponse | Error;
export declare function PrintError(errorCandidate: unknown): void;
