CityBEM-CityLayers-SaeedRay.../node_modules/@electron-forge/plugin-base/dist/Plugin.d.ts

12 lines
516 B
TypeScript

import { ElectronProcess, ForgeConfig, ForgeHookFn, IForgePlugin, StartOptions } from '@electron-forge/shared-types';
export { StartOptions };
export default abstract class Plugin<C> implements IForgePlugin {
config: C;
abstract name: string;
__isElectronForgePlugin: true;
constructor(config: C);
init(_dir: string, _config: ForgeConfig): void;
getHook(_hookName: string): ForgeHookFn | null;
startLogic(_startOpts: StartOptions): Promise<ElectronProcess | string | string[] | false>;
}