import { type WebContents } from 'electron'; export declare const send: void>(channel: string) => (...args: Parameters) => void; export declare const on: void>(channel: string) => (handler: T) => Electron.IpcMain; export declare const invoke: unknown>(channel: string) => (...args: Parameters) => Promise>; export declare const handle: unknown>(channel: string) => (handler: ((...args: Parameters) => ReturnType) | ((...args: Parameters) => Promise>)) => void; export declare const handleWithSender: unknown>(channel: string) => (handler: ((sender: WebContents, ...args: Parameters) => ReturnType) | ((sender: WebContents, ...args: Parameters) => Promise>)) => void; //# sourceMappingURL=rendererToMain.d.ts.map