import * as ts from 'typescript'; import { ConfigItemType, RangeValue, RangeNumber } from '../types'; export declare const createMapSetter: (mapId: string, key: string, valId: string) => ts.ExpressionStatement; export declare const createReturnBlock: (id: string) => ts.ReturnStatement; export declare const createSetterFunc: (mapId: string, key: string, returnId: string, type?: ConfigItemType, extra?: RangeValue | RangeNumber) => ts.ArrowFunction; export declare const createFlatMap: (id: string, obj: any) => ts.VariableDeclaration; export declare const createExport: (declaration: ts.VariableDeclaration) => ts.VariableStatement; export declare const isLeaf: (obj: any) => boolean; export declare const createObjectUpdate: (obj: any, list?: ts.ObjectLiteralElementLike[]) => ts.ObjectLiteralElementLike[]; export declare const createConfig: (obj: any) => ts.VariableDeclaration; export declare const createFuncType: (type: ConfigItemType, extra?: RangeValue | RangeNumber) => ts.FunctionTypeNode; export declare const createUpdaterInterface: (obj: any) => ts.InterfaceDeclaration; export declare const createSource: (obj: any, original: any) => ts.SourceFile; export declare const print: (source: ts.SourceFile) => string; export declare const exec: (obj: any, original: any) => string;