import { ASTPath, CallExpression, JSCodeshift, MemberExpression, ObjectExpression } from 'jscodeshift'; import { RegisterAPI } from '../types/transformer'; /** * Returns AST for ObjectExpression containing all the key-value pairs as properties * @param properties Key-Value pairs that needs to form the ObjectExpression * @param j JSCodeshift core * @returns ObjectExpression containing all the properties */ export declare const getRegisterPropsAST: (properties: { name: string; value: string; }[], j: JSCodeshift) => ObjectExpression; /** * Returns AST for Flex Customisation API * @param j JSCodeshift core * @param registerAPI Customisation Register API * @param flexVariable Flex instance variable * @returns Flex Customisation API AST */ export declare const flexCustomizationAST: (j: JSCodeshift, registerAPI: RegisterAPI, flexVariable: string) => MemberExpression; /** * Adds a comment AST node to the given AST Path * @param j JSCodeshift core * @param path AST Path * @param comment Comment text * @param leading true/false */ export declare const addComment: (j: JSCodeshift, path: ASTPath, comment: string, leading?: boolean) => void;