import { IpcMain, IpcMainEvent } from "electron"; import { Action, ExecuteActionOptions, Result } from "@tmorin/ceb-messaging-core"; export declare function executeAction(ipcMain: IpcMain, channel: string, executeLocally: () => Promise, action: A, options?: Partial): Promise; export declare function createIpcListener(channel: string, executeLocally: (action: A, options: Partial) => Promise, executeLocallyAndForget: (action: A) => any): (event: IpcMainEvent, ...args: any[]) => void;