import { TranslatorState, TranslatorGenerator } from '@lcap/nasl-translator'; import type EntityProperty from './EntityProperty__'; import type StructureProperty from './StructureProperty__'; import { Diagnostic } from '@lcap/nasl-types'; import type ProcessV2 from './ProcessV2__'; import type Logic from './Logic__'; import type Module from './Module__'; import type Connector from './Connector__'; import type View from './View__'; import type Frontend from './Frontend__'; import type ProcessElement from './ProcessElement__'; import type Process from './Process__'; import BaseNode from '../common/BaseNode'; import type TypeAnnotation from './TypeAnnotation__'; import type DefaultValue from './DefaultValue__'; /** * 输出参数 */ export declare class Return extends BaseNode { /** 类名 */ static readonly ConceptName: string; /** * 是否为抽象类 * 抽象类不能产生 concept: string */ static isAbstract: boolean; /** 继承链 */ static readonly inheritanceChain: string[]; /** * 产品概念 */ readonly concept: 'Return'; /** * 输出参数名称 */ name: string; /** * 输出参数描述 */ description?: string; /** * 类型 */ typeAnnotation?: TypeAnnotation; /** * 默认值 */ defaultValue?: DefaultValue; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); static from(source: any, parentNode?: any, parentKey?: string): Return; /** * 设置输出参数名称 */ setName(name: string): void; /** * 设置输出参数描述 */ setDescription(description: string): void; /** * 祖先 Logic */ get logic(): Logic; /** * 祖先 Module */ get module(): Module; /** * 祖先 Connector */ get connector(): Connector; /** * 祖先 View */ get view(): View; /** * 祖先 Frontend */ get frontend(): Frontend; /** * 祖先 ProcessElement */ get processElement(): ProcessElement; /** * 祖先 Process */ get process(): Process; /** * 祖先 ProcessV2 */ get processV2(): ProcessV2; static createProtoTypeOnly(source: Partial): Return; useComponent: { type: 's-member-identifier-select' | 's-enum-select' | 's-schema-select' | 's-datatype-select' | 's-options-select'; attrs?: any; }; /** * 自动补全的属性列表 */ completionChildren: Array; __aStructureError: Diagnostic.Diagnostic | undefined; toJS(state?: TranslatorState): string; toEmbeddedTS(state?: import("@lcap/nasl-types/out/translator").TranslatorState): TranslatorGenerator; toNaturalTS(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; toTextualNASL(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; isEnum(): boolean; toEmbeddedTSInProcess(state?: import("@lcap/nasl-types/out/translator").TranslatorState): TranslatorGenerator; /** * 设置数据类型 * @param typeAnnotation 类型标注对象 */ setDataType(typeAnnotation: TypeAnnotation): Promise; /** * 设置数据类型 * @param typeAnnotation 类型唯一标识 */ setDataType(typeKey: string): Promise; static getDefaultOptions(): {}; /** * 是否可编辑 * */ get readonly(): boolean; get __isVirtual(): boolean | Boolean; isSame(compareNode: Return | Partial | null): boolean; } export default Return; //# sourceMappingURL=Return__.d.ts.map