import type { App } from 'vue'; import { Slots } from 'vue'; import { FC, VueNode } from "../typings"; import { Component } from '@vue/runtime-core'; export { default as PropTypes } from 'ant-design-vue/es/_util/vue-types'; export { default as isImg } from "./isImg"; export { default as isUrl } from "./isUrl"; export { default as isNil } from "./isNil"; /** * 从属性或插槽获取组件,没有时返回默认组件 * @param name 属性或插槽名称 * @param props 属性 * @param slots 插槽 * @param def 默认值 * @param args 渲染函数和插槽的参数 */ declare const getRenderComponent:
(name: string, props: P, slots: Slots, def?: VueNode, args?: {
propsArgs?: any[] | undefined;
slotArg?: any;
} | undefined) => any;
export declare const PropRenderType: {
type: (FunctionConstructor | BooleanConstructor | StringConstructor | ObjectConstructor)[];
default: () => undefined;
};
declare const withInstall: >(comp: FC >) => FC >;
export { withInstall, withFCInstall, getRenderComponent };