var _a = require('electron'), contextBridge = _a.contextBridge, ipcRenderer = _a.ipcRenderer;
contextBridge.exposeInMainWorld('electron', {
    queryDatabase: function (query) { return ipcRenderer.invoke('query-database', query); }, // window.electron.hworld is a string ("Hello world")
});
