import * as Esprima from 'esprima'; export declare const createAbstractSyntaxTree: (code: string) => Esprima.Program; export declare const generateCode: (tree: Esprima.Program) => string; export declare const replaceFunctionCalls: (code: string, currentName: string, newName: string) => string; export declare const replaceChildFunctionCalls: (code: string, searchName: string, oldName: string, newName: string) => string; export declare const scanTreeForFunction: (code: string, nodeName: string) => number;