import { HttpClient } from '@angular/common/http'; import { MtnaLogger } from '@mtna/core-angular'; import { RdsMngDataProduct } from '@rds/rds-metadata-ts'; import { RdsApiService } from '@rds/shared-api'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * Represents * */ export declare class RdsCacheService { protected apiService: RdsApiService; protected http: HttpClient; protected logger: MtnaLogger; /** base url for the service */ protected get CACHE_URL(): string; /** url with ID of the selected catalog */ protected get CATALOG_ID_URL(): string; /** url with ID of the selected data product */ protected get DATA_PRODUCT_URL(): string; constructor(apiService: RdsApiService, http: HttpClient, logger: MtnaLogger); /** * Administrative end point to expire the cache of a particular data product and flag it as not needing to be cached. */ disableDataProductCache(): Observable; /** * Administrative end point to expire the cache of a particular data product and flag it as needing to be cached. * By default data products will be cached, * so this is only necessary to re-enable data products that have previously had their caching disabled. */ enableDataProductCache(): Observable; /** * Administrative end point to manually force an expiration of all the cached files of specific data product. */ expireDataProductCache(): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }