import { Observable } from "rxjs"; import { DurationUnit } from "../common-types"; import { EventsService } from "./events.service"; import * as i0 from "@angular/core"; export declare class CacheService { protected events: EventsService; get userChanged(): Observable; readonly ignore: Observable; readonly permanent: Observable; private caches; constructor(events: EventsService); expiresIn(amount?: number, unit?: DurationUnit): Observable; expiresAt(when: Date): Observable; use(key: string, valueCb: () => T, expires?: Observable): T; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }