import { NormalObject } from "@vunk/shared/types"; import { PropType } from "vue"; import { Func } from '@vunk/core'; export declare const props: { /** * 组件示例合集 * - key: filepath 相对 demoRoot 的路径 * - value: 示例对象 * @link https://github.com/element-plus/element-plus/blob/dev/docs/.vitepress/vitepress/components/vp-demo.vue */ demos: { type: ObjectConstructor; required: true; }; /** * 当前示例的路径 (省略后缀名) */ path: { type: StringConstructor; required: true; }; /** * md.render 后的组件代码 */ source: { type: StringConstructor; required: true; }; /** * 组件源码 */ rawSource: { type: StringConstructor; default: string; }; /** * @description jsonstring * - key: filepath 相对 demoRoot 的路径 * - value: 对应的 md.render 后的文件代码 */ subsources: { type: StringConstructor; default: string; }; /** * @description 示例描述(md.render) */ description: { type: StringConstructor; default: string; }; callback: { type: PropType>; default: undefined; }; };