mirror of
https://github.com/actualbudget/actual.git
synced 2026-05-10 16:26:43 -05:00
17 lines
380 B
TypeScript
17 lines
380 B
TypeScript
import { Cache } from '@algolia/cache-common';
|
|
|
|
export declare type BrowserLocalStorageOptions = {
|
|
/**
|
|
* The cache key.
|
|
*/
|
|
readonly key: string;
|
|
/**
|
|
* The native local storage implementation.
|
|
*/
|
|
readonly localStorage?: Storage;
|
|
};
|
|
|
|
export declare function createBrowserLocalStorageCache(options: BrowserLocalStorageOptions): Cache;
|
|
|
|
export { }
|