/** * ## Cache * This module makes it easy to cache media such as images and videos locally * on your kiosk to improve performance and support offline functionality. * * @packageDocumentation */ export declare class Cache { /** * Returns the current cache size. * @example * ```javascript * eflyn.cache.getSize(); * ``` */ getSize(): Promise; /** * Clear all cached files. * @example * ```javascript * eflyn.cache.clear(); * ``` */ clear(): Promise; /** * Cache the file located at a particular URL. * @example * ```javascript * eflyn.cache.url(url); * ``` */ url(url: string): Promise; getLocalCacheUrl(url: string): Promise; }