import { ExecuteFunction, GeneratorConfig, InferEngineOptions } from "@power-plant/core"; import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; type PowerPlantPluginOptions = GeneratorConfig; type PowerPlantExecuteOptions = InferEngineOptions> & TOptions; type PowerPlantPluginUserConfig = UserConfig & { powerplant?: PowerPlantPluginOptions; }; type PowerPlantPluginResolvedConfig = ResolvedConfig & { powerplant: PowerPlantPluginOptions; }; type PowerPlantPluginContext = PowerPlantPluginResolvedConfig> = PluginContext & { powerplant: { execute: ExecuteFunction; /** * Options passed to {@link ExecuteFunction} during `prepare`. * * @remarks * Other plugins may mutate this before the Power Plant `prepare` hook runs * (e.g. to supply generator-specific options or an `input`/`inputPath`). */ options: PowerPlantExecuteOptions; }; }; export { PowerPlantExecuteOptions, PowerPlantPluginContext, PowerPlantPluginOptions, PowerPlantPluginResolvedConfig, PowerPlantPluginUserConfig }; //# sourceMappingURL=plugin.d.mts.map