import { PluginBase } from '@electron-forge/plugin-base'; import { ForgeMultiHookMap, StartResult } from '@electron-forge/shared-types'; import { VitePluginConfig } from './Config'; export default class VitePlugin extends PluginBase { private static alreadyStarted; name: string; private isProd; private projectDir; private baseDir; private configGeneratorCache; private watchers; private servers; init: (dir: string) => void; private setDirectories; private get configGenerator(); getHooks: () => ForgeMultiHookMap; startLogic: () => Promise; build: (watch?: boolean) => Promise; buildRenderer: () => Promise; launchRendererDevServers: () => Promise; exitHandler: (options: { cleanup?: boolean; exit?: boolean; }, err?: Error) => void; } export { VitePlugin };