import { AST, IComponent } from "../type";
export type CreateComponent = (component: IComponent | (new (...arg: any[]) => IComponent), attrs?: Record<string, string | undefined>, childrens?: Array<AST.Node>) => AST.Component;
/**
 * 创建组件节点（一般适用于动态的Render，在SFC静态编译时应避免采用该方法，使用Element类型在运行时进行分流）
 * @param component 组件
 * @param attrs 属性
 * @param childrens 子集
 * @returns
 */
export declare let createComponent: CreateComponent;
