import { PluginContext, ResolvedConfig, UserConfig } from "powerlines"; import { Application, ProjectReflection, TypeDocOptions } from "typedoc"; //#region src/types/plugin.d.ts interface GenerateDocsOptions { frontmatter?: Record; outputPath?: string; project: ProjectReflection; } interface TypeDocPluginOptions extends Partial> { /** * The output path for the generated documentation. * * @defaultValue "docs/generated/api-reference" */ outputPath?: string; /** * The base URL for the documentation site. * * @defaultValue "/docs/" */ basePath?: string; /** * Options to be passed to the TypeDoc generator. * * @remarks * These options will be override any other values passed to the TypeDoc generator. */ override?: Partial; } interface TypeDocPluginUserConfig extends UserConfig { /** * Options for the TypeDoc plugin. */ typedoc: TypeDocPluginOptions; } interface TypeDocPluginResolvedConfig extends ResolvedConfig { /** * Options for the TypeDoc plugin. */ typedoc: TypeDocOptions & { outputPath: string; baseUrl: string; override?: Partial; }; } type TypeDocPluginContext = PluginContext & { /** * The initialized TypeDoc application. */ typedoc: Application; }; //#endregion export { GenerateDocsOptions, TypeDocPluginContext, TypeDocPluginOptions, TypeDocPluginResolvedConfig, TypeDocPluginUserConfig }; //# sourceMappingURL=plugin.d.cts.map