/** * 代码项接口 */ export interface CodeItem { filename: string; code: string; } /** * 组件 Props 定义接口 */ export interface PropDefinition { name: string; type: string; required?: boolean; default?: string; description?: string; } /** * 生成组件文档的 markdown 模板 * @param componentName 组件名称 * @param codeList 组件文件列表(包含文件名和源代码) * @param exampleVuePath example.vue 文件路径 * @param props 组件的 Props 定义列表 * @param isRemUnit 是否使用 rem 单位, true 时 100px = 1rem * @returns markdown 模板内容 */ export declare function generateComponentDoc(componentName: string, codeList: CodeItem[], exampleVuePath: string, props?: PropDefinition[], isRemUnit?: boolean): string; //# sourceMappingURL=genCompDoc.d.ts.map