import { Observable } from 'rxjs'; import { CommonHttpRequestService } from './common-http-request.service'; import { ClientService } from './client.service'; import { IFormatedResponse } from '../interfaces/IFormatedResponse'; import * as i0 from "@angular/core"; export declare class AppService { private commonHttpRequestService; private clientService; private currentController?; constructor(commonHttpRequestService: CommonHttpRequestService, clientService: ClientService); /** 🧩 Cooperative cancellation (AbortController ~ CancellationTokenSource) */ private createSignal; /** 🛑 Public method to cancel all pending requests */ cancelPendingRequests(): void; get(url: string, cacheRequest?: boolean, signal?: AbortSignal | null): Observable<{ ok: true; status: 200; body: IFormatedResponse; }>; getSkipInterceptor(url: string, cacheRequest?: boolean): Observable; /** ✅ POST with normalized IFormatedResponse wrapper */ post(url: string, payload: any, signal?: AbortSignal | null): Observable<{ ok: true; status: 200; body: IFormatedResponse; }>; /** 🧱 Error normalization (so frontend always gets consistent shape) */ private normalizeError; postSkipInterceptor(url: string, payload: any): Observable; getFullUrl(url: string): Observable; postFullUrl(url: string, payload: any): Observable; blobPost(url: string, payload: any): Observable; blobPostSkipInterceptor(url: string, payload: any): Observable; readExcel(file: File): Promise; generateUuid(): string; showNotification(title: string, options: any): void; formatHttpError(error: any): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }