import { HttpContext, HttpErrorResponse, HttpHeaders, HttpParams } from "@angular/common/http"; export interface FoundryRequestOptions { headers?: HttpHeaders | { [header: string]: string | Array; }; context?: HttpContext; observe?: 'body' | 'events' | 'response'; params?: HttpParams | { [param: string]: string | number | boolean | ReadonlyArray; }; body?: any; reportProgress?: boolean; responseType?: 'arraybuffer' | 'blob' | 'json' | 'text'; withCredentials?: boolean; showSuccessNotification?: boolean; successNotificationTitle?: string; showErrorNotification?: boolean; errorNotificationTitle?: string; updateTabChannel?: string; skipLoader?: boolean; skipAuth?: boolean; skipAuthRefresh?: boolean; successDataParser?: (data: any) => Type; customErrorHandler?: (error: HttpErrorResponse) => void; }