import type { BaseNode } from '../common'; import type { LogicItem } from '../concepts/LogicItem__'; import type { SyntaxNode } from '../concepts/utils/types'; import type { ConceptMeta, PropertyDescriptorInput, PropertyDescriptor as NaslPropertyDescriptor } from './constant'; export * from './utils'; export * from './constant'; export declare function concept(nodeTitle: string): (target: any) => void; export declare function setBaseHandler(metaMap: ConceptMeta, key: string, params?: PropertyDescriptorInput): NaslPropertyDescriptor; /** * NASL上声明的属性 * @param params * @returns */ export declare function property(params?: PropertyDescriptorInput): (target: SyntaxNode | LogicItem | BaseNode, key: string) => void; /** * 实例化的白名单属性 * @param params * @returns */ export declare function whiteProperty(params?: PropertyDescriptorInput): (target: SyntaxNode | LogicItem | BaseNode, key: string) => void; /** * 该属性排除于 JSON 中 */ export declare function excludedInJSON(keys?: Array): (target: any, key: string | number | symbol) => void; /** * 表示该方法对应一个用户行为 */ export declare function action(name: string): (target: any, key: string | number | symbol, descriptor: PropertyDescriptor) => PropertyDescriptor; /** * 表示该方法对应一个用户行为 * @TODO: 目前暂时跟以前的统一不起来 */ export declare function operation(name: string): (target: any, key: string | number | symbol) => void; /** * 表示上级对象,处理循环问题 */ export declare function circular(): (target: any, key: string | number | symbol) => void; //# sourceMappingURL=index.d.ts.map