UNPKG

@el3um4s/ipc-for-electron-chokidar

Version:

Allow the renderer to use chokidar (Minimal and efficient cross-platform file watching library)

27 lines (26 loc) 891 B
import { Changed } from "./interfaces"; declare const renderer: { watchFolder: (options: { callback?: ((arg0: Changed) => void) | undefined; apiKey?: string | undefined; folderPath: string; nameWatcher: string; }) => Promise<Changed>; watchFile: (options: { callback?: ((arg0: Changed) => void) | undefined; apiKey?: string | undefined; folderPath: string; nameWatcher: string; }) => Promise<Changed>; on: { folderChanged: (options: { callback?: ((arg0: Changed) => void) | undefined; apiKey?: string | undefined; }) => Promise<Changed>; fileChanged: (options: { callback?: ((arg0: Changed) => void) | undefined; apiKey?: string | undefined; }) => Promise<Changed>; }; }; export default renderer;