import { ImageResult, PlatformService } from "../PlatformService"; import { logger } from "../../utils/logger"; export class ElectronPlatformService implements PlatformService { async readFile(_path: string): Promise { throw new Error("Not implemented"); } async writeFile(_path: string, _content: string): Promise { throw new Error("Not implemented"); } async deleteFile(_path: string): Promise { throw new Error("Not implemented"); } async listFiles(_directory: string): Promise { throw new Error("Not implemented"); } async takePicture(): Promise { logger.error("takePicture not implemented in Electron platform"); throw new Error("Not implemented"); } async pickImage(): Promise { logger.error("pickImage not implemented in Electron platform"); throw new Error("Not implemented"); } isCapacitor(): boolean { return false; } isElectron(): boolean { return true; } isPyWebView(): boolean { return false; } isWeb(): boolean { return false; } async handleDeepLink(_url: string): Promise { logger.error("handleDeepLink not implemented in Electron platform"); throw new Error("Not implemented"); } }