import ConfigStore from 'configstore'; import type { LiteralUnion } from 'type-fest'; export interface Store, K extends keyof O = keyof O> extends Omit { all(): Record, any>; delete(key: LiteralUnion): void; get(key: LiteralUnion): Key extends K ? O[K] : any; has(key: LiteralUnion): void; set(key: LiteralUnion, value: Key extends K ? O[K] : any): any; } declare const store: ConfigStore; export default store;