import { ParserPlugin } from '@babel/parser'; import { NodePath } from '@babel/traverse'; import * as t from '@babel/types'; export declare const pluginsConfig: ParserPlugin[]; export declare const getAst: (content: string) => import("@babel/parser").ParseResult; export type NodeFun = t.Expression | t.FunctionDeclaration | t.TSDeclareFunction | t.ClassDeclaration; export declare function getVarInit(node: NodeFun, path: NodePath): NodeFun; /** 使用 ts 判断*/ export declare function getTSNode(node: any): any; /** 转 首字母大写 */ export declare const getToUpperCase: (valus: string) => string; export declare const toPascalCase: (str?: string) => string; export declare const getReactLazy: (path: string) => t.CallExpression; export declare const getJSX: (name: string) => t.JSXElement; /**创建模板*/ export declare const createTemplateExpression: (value: string) => import("@babel/types").Expression; /**创建一个 ast 对象*/ export declare const createObjectProperty: (key: string, value: t.Expression) => t.ObjectProperty; export declare const createSpreadElement: (key: string) => t.SpreadElement; /** * 判断值是否相等 * **/ export declare const isCheckStringOrIdentifierValue: (node: t.ObjectProperty, value: string) => boolean; /**获取值*/ export declare const getStringOrIdentifierValue: (node: t.ObjectProperty) => string | false;