import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; import { CapnpcOptions } from "@stryke/capnp/types"; //#region src/types/plugin.d.ts type CapnpPluginOptions = Partial> & { /** * The path to the Cap'n Proto schema file(s). * * @defaultValue "\{root\}/schemas/*.capnp" */ schema?: string | URL; /** * The path to the output file generated by the plugin. * * @remarks * If using the default value, the file can be imported from "powerlines:capnp/schema-name". This field allows the use of the "\{builtinsPath\}" token to refer to the built-in Powerlines plugins directory - the value will be replaced with the correct file path by the plugin. * * @defaultValue "\{builtinsPath\}/capnp" */ outputPath?: string; }; type CapnpPluginUserConfig = UserConfig & { capnp?: Omit & Required>; }; type CapnpPluginResolvedConfig = ResolvedConfig & { capnp: Omit & Required>; }; type CapnpPluginContext = PluginContext; //#endregion export { CapnpPluginContext, CapnpPluginOptions, CapnpPluginResolvedConfig, CapnpPluginUserConfig }; //# sourceMappingURL=plugin.d.mts.map