import type { PinDefinition, PinMap } from '../pin.js'; import type { DiagramComponentConfiguration, Model } from '../index.js'; import { fillArgumentMap } from '@cloudpss/expression/definitions'; export { fillArgumentMap }; /** 获取引脚默认值,修复现有的引脚,填充缺失的引脚,删除未定义的引脚 */ export declare function fillPinMap(definition: readonly PinDefinition[] | undefined, pins?: PinMap | null): PinMap; /** 填充元件默认值字段 */ type FillableDiagramComponentConfiguration = Pick; /** 填充元件默认值 */ export declare function fillDiagramComponent>(definition: Model, component?: T): T & FillableDiagramComponentConfiguration; //# sourceMappingURL=component.d.ts.map