import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BundleCommunicationR4 } from '../model/bundleCommunicationR4'; import { BundleTaskR4 } from '../model/bundleTaskR4'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class SearchCommunityResourceR4Service { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * * * @param partOf Reference to the Task resource this Communication belongs to. * @param patient Search for Communication resources for a specified patient ID. You can use both \"patient\" and \"subject\" equivalently, but if you use both they must look to the same value. * @param subject Search for Communication resources for a specified subject. You can use both \"patient\" and \"subject\" equivalently, but if you use both they must look to the same value. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ communicationSearchCommunityResourceR4(partOf?: string, patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; communicationSearchCommunityResourceR4(partOf?: string, patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; communicationSearchCommunityResourceR4(partOf?: string, patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * * * @param code Search for “community-resource” type of tasks only. This corresponds to Community Resource Tasks and is used to refine to only such Tasks. If not specified, all valid Task resources/subresources are returned. * @param encounter Reference to the encounter that the Task belongs to. * @param patient Search for Task resources for a specified patient ID. You can use both \"patient\" and \"subject\", but if you use both they must look to the same value. * @param subject Search for Task resources for a specified subject. You can use both \"patient\" and \"subject\", but if you use both they must look to the same value. * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ taskSearchCommunityResourceR4(code?: string, encounter?: string, patient?: string, subject?: string, observe?: 'body', reportProgress?: boolean): Observable; taskSearchCommunityResourceR4(code?: string, encounter?: string, patient?: string, subject?: string, observe?: 'response', reportProgress?: boolean): Observable>; taskSearchCommunityResourceR4(code?: string, encounter?: string, patient?: string, subject?: string, observe?: 'events', reportProgress?: boolean): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }