import { Observable } from 'rxjs'; import { HttpBackend } from './backend'; import { HttpRequest } from './request'; import { HttpEvent } from './response'; import * as i0 from "@angular/core"; /** * Uses `fetch` to send requests to a backend server. * * This `FetchBackend` requires the support of the * [Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) which is available on all * supported browsers and on Node.js v18 or later. * * @see {@link HttpHandler} * * @publicApi */ export declare class FetchBackend implements HttpBackend { private readonly fetchImpl; private readonly ngZone; handle(request: HttpRequest): Observable>; private doRequest; private parseBody; private createRequestInit; private concatChunks; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Abstract class to provide a mocked implementation of `fetch()` */ export declare abstract class FetchFactory { abstract fetch: typeof fetch; }