const { contextBridge, ipcRenderer } = require("electron/renderer");

contextBridge.exposeInMainWorld("notesDesktop", {
  exportArchive: (format) => ipcRenderer.invoke("notes:export", format),
  importArchive: () => ipcRenderer.invoke("notes:import"),
});
