import { ExtractPropTypes, PropType } from 'vue'; import { FlowRegistry, FlowMetadata } from '@farris/flow-devkit'; export type DesignerMode = 'full' | 'canvas'; export type BackgroundVariant = 'dots' | 'lines'; export declare const flowDesignerProps: { /** 设计器模式 */ mode: { type: PropType; default: string; }; /** 流程自定义内容 */ flowRegistry: { type: PropType; }; /** 流程元数据 */ flowMetadata: { type: PropType; }; /** 画布背景 */ backgroundVariant: { type: PropType; default: string; }; /** 是否显示工具栏,`canvas`模式下默认隐藏 */ showToolbar: { type: BooleanConstructor; default: undefined; }; /** 是否显示流程的属性面板,`canvas`模式下默认隐藏 */ showFlowPropertyPanel: { type: BooleanConstructor; default: undefined; }; }; export type FlowDesignerProps = ExtractPropTypes;