import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; import { OpenApi, UserConfig as UserConfig$1 } from "@hey-api/openapi-ts"; //#region src/types/plugin.d.ts type HeyAPIPluginOutputOptions = UserConfig$1["output"] & { /** * The path to the output file generated by the plugin. * * @remarks * If using the default value, the file can be imported from "powerlines:api". 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\}/api" */ path?: string; }; type HeyAPIPluginOptions = Omit & { /** * The path to the Hey API schema file. * * @remarks * This can be a string path, URL, HeyAPI3 object, Buffer, or Readable stream. * * @defaultValue "\{root\}/schema.yaml" */ schema?: UserConfig$1["input"]; /** * The output details of the Hey API generation */ output?: HeyAPIPluginOutputOptions; }; type HeyAPIPluginUserConfig = UserConfig & { heyApi?: HeyAPIPluginOptions; }; type HeyAPIPluginResolvedConfig = ResolvedConfig & { heyApi: Omit & { schema: HeyAPIPluginOptions["schema"] | OpenApi.V3_0_X; }; }; type HeyAPIPluginContext = PluginContext; //#endregion export { HeyAPIPluginContext, HeyAPIPluginOptions, HeyAPIPluginOutputOptions, HeyAPIPluginResolvedConfig, HeyAPIPluginUserConfig }; //# sourceMappingURL=plugin.d.cts.map