import type { ArgumentValue } from '@cloudpss/expression/definitions'; import type { LiteralUnion } from 'type-fest'; import type { PinDefinition } from './pin.js'; declare const _InputType: readonly ["constant", "variable"]; /** * 表示参数允许的输入类型 * * - constant: 接受字面量和常量表达式 * - variable: 接受字面量和变量值 */ export declare const InputType: readonly InputType[]; /** * 表示参数允许的输入类型 * * - constant: 接受字面量和常量表达式 * - variable: 接受字面量和变量值 */ export type InputType = LiteralUnion<(typeof _InputType)[number], string>; declare module '@cloudpss/expression/definitions' { /** @inheritdoc */ interface ParameterBase { /** SimStudio */ /** 参数输入类型 */ input?: InputType; } /** 表示值为引脚的参数定义 */ interface PinLikeParameter extends ParameterBase<'pinLike', string>, Pick { } /** @inheritdoc */ interface ParameterMap { /** 表示值为引脚的参数定义 */ pinLike: PinLikeParameter; } } export type { PinLikeParameter } from '@cloudpss/expression/definitions'; //# sourceMappingURL=parameter.d.ts.map