UNPKG

devkit-base-components

Version:

Devkit Base Components is a Vue plugin offering a collection of reusable, headless components designed to streamline your Vue.js development workflow. Built for flexibility and maintainability, this library gives you complete control over styling and beha

14 lines (13 loc) 426 B
import { Table } from 'dexie'; export declare class CacheHelper { private readonly table; constructor(cacheTable: Table<{ key: string; value: string | boolean | number; }>); private getValue; private setValue; setLocale<TAllowedLocales extends string[]>(locale: TAllowedLocales[number]): Promise<void>; getLocale(): Promise<string>; setIsDark(isDark: boolean): Promise<void>; }