import { contextBridge, ipcRenderer } from 'electron';

contextBridge.exposeInMainWorld('vojoElectron', {
  platform: process.platform,
  openExternal: (url: string): Promise<void> => ipcRenderer.invoke('vojo:open-external', url),
});
