export declare class HttpClientTestingModule { } export declare abstract class HttpTestingController { abstract expectNone(url: string, description?: string): void; abstract expectNone(params: RequestMatch, description?: string): void; abstract expectNone(matchFn: ((req: HttpRequest) => boolean), description?: string): void; abstract expectNone(match: string | RequestMatch | ((req: HttpRequest) => boolean), description?: string): void; abstract expectOne(url: string, description?: string): TestRequest; abstract expectOne(params: RequestMatch, description?: string): TestRequest; abstract expectOne(matchFn: ((req: HttpRequest) => boolean), description?: string): TestRequest; abstract expectOne(match: string | RequestMatch | ((req: HttpRequest) => boolean), description?: string): TestRequest; abstract match(match: string | RequestMatch | ((req: HttpRequest) => boolean)): TestRequest[]; abstract verify(opts?: { ignoreCancelled?: boolean; }): void; } export interface RequestMatch { method?: string; url?: string; } export declare class TestRequest { get cancelled(): boolean; request: HttpRequest; constructor(request: HttpRequest, observer: Observer>); error(error: ErrorEvent, opts?: { headers?: HttpHeaders | { [name: string]: string | string[]; }; status?: number; statusText?: string; }): void; event(event: HttpEvent): void; flush(body: ArrayBuffer | Blob | string | number | Object | (string | number | Object | null)[] | null, opts?: { headers?: HttpHeaders | { [name: string]: string | string[]; }; status?: number; statusText?: string; }): void; }