mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-05-25 12:00:59 +08:00
17 lines
396 B
TypeScript
17 lines
396 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 { }
|