UNPKG

narraleaf

Version:

Create your visual novel with Electron and React

11 lines (10 loc) 472 B
import { ChildProcess } from "child_process"; import { AppEventToken } from "../../main/electron/app/app"; export type SummonedProcess = { kill(): void; onClose(callback: (code: number) => void): AppEventToken; childProcesses: ChildProcess; }; export declare function summon(args: string[], process: NodeJS.Process): SummonedProcess; export declare function getMimeType(filePath: string): string; export declare function rest(p: string, sep?: string): string;