import { LEVEL_ENUM, Logic, Param, Process } from '..'; /** * 流程输入参数 */ export declare class ProcessProperty extends Param { /** * 概念类型 */ readonly level: LEVEL_ENUM; /** * 视图 */ readonly process: Process; /** * 默认值 * 按 JSON string 处理 * - string: 666 -> '666' * - string: true -> 'true' * - number: 666 -> 666 * - boolean: true -> true */ defaultValue: string; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); genCode(): string; /** * 查找schema 顶点被引用的逻辑顶点列表 */ getSchemaUsage(): Promise; /** * 从后端 JSON 生成规范的 ProcessProperty 对象 */ static from(source: any, process: Process | Logic): ProcessProperty; } export default ProcessProperty;