1 | import { StorageStrategy } from '../interfaces/storageStrategy';
|
2 | import { Observable } from 'rxjs';
|
3 | import { StorageService } from '../interfaces/storageService';
|
4 | declare class AsyncStorage implements StorageService {
|
5 | protected strategy: StorageStrategy<any>;
|
6 | constructor(strategy: StorageStrategy<any>);
|
7 | retrieve(key: string): Observable<any>;
|
8 | store(key: string, value: any): Observable<any>;
|
9 | clear(key?: string): Observable<void>;
|
10 | getStrategyName(): string;
|
11 | observe(key: string): Observable<any>;
|
12 | }
|
13 | export { AsyncStorage };
|