import { Observable } from 'rxjs'; import { ElectronStore as ElectronStoreBase, ElectronStoreOptions, JsonValue } from './types'; declare const Base: any; export declare type ElectronStore = ElectronStoreBase & { events$: Observable; changes$: Observable>; }; export declare type StoreEvent = IStoreChangeEvent | IStoreClearedEvent; export declare type IStoreChangeEvent = { type: 'CHANGE'; key: keyof T | string; path: string; from: JsonValue | undefined; to: JsonValue | undefined; }; export declare type IStoreClearedEvent = { type: 'CLEARED'; }; export declare function create(options?: ElectronStoreOptions): ElectronStore; export declare class Store extends Base { private _events$; readonly events$: Observable>; readonly changes$: Observable>; constructor(options?: ElectronStoreOptions); set(key: K, value: T[K]): void; delete(key: keyof T | string): void; clear(): void; } export {};