import { VariableDefine } from '@easy-coder/sdk/variable';
import { FlowData } from '../manager/type';

export type VariableFrom = 'params' | 'custom' | `node_${string}`;
export interface FlowVariableDesc {
    flowVariable: Record<string, VariableDefine.Object>;
    canEditIds: string[];
    showDefaultIds: string[];
    defaultValue: Record<string, any>;
    variableFrom: Record<string, VariableFrom>;
}
export default function getFlowVariable(flow: FlowData<{}>): FlowVariableDesc;
