import { type SyntaxNode, type StructureProperty, type Argument, type NewComposite, type SelectMembers } from '../concepts'; /** * 父链上存在的参数名字 * @returns */ export declare function getAncestorExistingParamNames(baseNode: SyntaxNode): Set; /** * 父链上存在的返回值名字 * @returns */ export declare function getAncestorExistingReturnNames(baseNode: SyntaxNode): Set; interface NewAnonymousParam { keyword: string; propertyDef: StructureProperty; newAnonymous: Argument; } /** * 获取New结构的左侧属性 * @param param * @returns */ export declare function getLeftByNewAnonymousParam(param: NewAnonymousParam): { property: import("../concepts").Identifier; index: number; }; /** * 通过左侧属性index获取New结构的右侧表达式 * @param param * @param param1 * @returns */ export declare function getRightFromNewCompositeByLeftIndex({ newComposite, propertyIndex, }: { newComposite: NewComposite; propertyIndex: number; }): SelectMembers; /** * 是否是流程逻辑匿名参数 * @param {*} node */ export declare function isProcessV2LogicParam(node: SyntaxNode): boolean; /** * 通过右侧表达式,删除流程逻辑参数 */ export declare function deleteProcessV2LogicParamByRightExpression(target: SyntaxNode): void; export declare const businessComponentTagPrefixRegex: RegExp; /** * 消费数组中第一个符合条件的元素,并返回该元素 * @param array * @param fn * @returns */ export declare function consumeFind(array: Array, fn: (item: T) => boolean): T; export {}; //# sourceMappingURL=utils.d.ts.map