1 | import { StorageStrategy } from '../core/interfaces/storageStrategy';
|
2 | import { Observable, Subject } from 'rxjs';
|
3 | import { StrategyCacheService } from '../core/strategyCache';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class InMemoryStorageStrategy implements StorageStrategy<any> {
|
6 | protected cache: StrategyCacheService;
|
7 | static readonly strategyName: string;
|
8 | readonly keyChanges: Subject<string>;
|
9 | isAvailable: boolean;
|
10 | readonly name: string;
|
11 | constructor(cache: StrategyCacheService);
|
12 | get(key: string): Observable<any>;
|
13 | set(key: string, value: any): Observable<any>;
|
14 | del(key: string): Observable<void>;
|
15 | clear(): Observable<void>;
|
16 | static ɵfac: i0.ɵɵFactoryDeclaration<InMemoryStorageStrategy, never>;
|
17 | static ɵprov: i0.ɵɵInjectableDeclaration<InMemoryStorageStrategy>;
|
18 | }
|