import { AbstractStorageService } from "@bitwarden/common/platform/abstractions/storage.service"; export class ElectronRendererStorageService implements AbstractStorageService { get(key: string): Promise { return ipc.platform.storage.get(key); } has(key: string): Promise { return ipc.platform.storage.has(key); } save(key: string, obj: any): Promise { return ipc.platform.storage.save(key, obj); } remove(key: string): Promise { return ipc.platform.storage.remove(key); } }