import React from "react"; export declare enum customNodeType { Start = "1", LLM = "2", ReplyMessage = "3", If = "4", Code = "5", Vector = "6", Table = "7", Loader = "8", Variable = "9", HTTP = "10", Sub = "11", End = "12", Knowledge = "13", IntentionRecognition = "14", Tools = "15", VariableSave = "21", Loop = "30", LoopBody = "31", LoopEnd = "32", SearchUsers = "28", Agent = "29" } export declare const templateMap: { "1": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { branches: ({ trigger_type: number; next_nodes: any[]; branch_id: string; config: any; input: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; items: any; properties: { nickname: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; chat_time: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; message_type: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; content: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; open_time?: undefined; }; }; }; }; output: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; items: any; properties: { nickname: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; chat_time: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; message_type: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; content: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; open_time?: undefined; }; }; }; }; } | { trigger_type: number; next_nodes: any[]; branch_id: string; config: any; input: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; items: any; properties: { nickname: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; open_time: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; chat_time?: undefined; message_type?: undefined; content?: undefined; }; }; }; }; output: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; items: any; properties: { nickname: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; open_time: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; chat_time?: undefined; message_type?: undefined; content?: undefined; }; }; }; }; })[]; }; next_nodes: any[]; input: any; output: any; }; }; "4": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { max_execute_num: number; branches: { branch_id: string; branch_type: string; next_nodes: any[]; parameters: { id: string; version: string; type: string; structure: any; }; }[]; }; next_nodes: any[]; input: any; output: any; }; }; "11": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { sub_flow_id: string; }; next_nodes: any[]; input: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: any; description: any; required: string[]; value: any; items: any; properties: { input: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; }; }; }; }; output: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: any; description: any; required: any[]; value: any; items: any; properties: { output: { type: string; key: string; sort: number; title: string; description: string; required: any; value: { type: string; const_value: any; expression_value: { type: string; value: string; name: string; args: any; }[]; }; items: any; properties: any; }; }; }; }; }; }; v1: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { sub_flow_id: string; }; next_nodes: any[]; input: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: any; description: any; required: string[]; value: any; items: any; properties: { input: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; }; }; }; }; output: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: any; description: any; required: any[]; value: any; items: any; properties: { output_v2: { type: string; key: string; sort: number; title: string; description: string; required: any; value: { type: string; const_value: any; expression_value: { type: string; value: string; name: string; args: any; }[]; }; items: any; properties: any; }; }; }; }; }; }; }; "30": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { type: string; condition: { id: string; version: string; type: string; structure: any; }; count: { id: string; version: string; type: string; structure: any; }; array: { id: string; version: string; type: string; structure: any; }; max_loop_count: { id: string; version: string; type: string; structure: any; }; }; next_nodes: any[]; input: any; output: any; }; }; "32": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: {}; next_nodes: any[]; input: any; output: any; }; }; "31": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: {}; next_nodes: any[]; input: any; output: any; }; }; "21": { v0: { node_id: string; name: string; description: string; node_type: number; meta: any[]; params: { variables: { form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: any; required: string[]; value: any; items: any; properties: { variable_name: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; variable_type: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; items: any; properties: any; }; }; }; }; page: any; }; }; next_nodes: any[]; input: any; output: any; }; }; "2": { v0: { node_id: string; debug: boolean; name: string; description: string; node_type: number; meta: any[]; params: { model: string; system_prompt: { id: string; version: string; type: string; structure: { type: string; const_value: any; expression_value: any; }; }; user_prompt: { id: string; version: string; type: string; structure: { type: string; const_value: any; expression_value: any; }; }; model_config: { auto_memory: boolean; max_record: number; temperature: number; }; tools: any[]; option_tools: any[]; knowledge_config: { operator: string; knowledge_list: { knowledge_code: string; knowledge_type: number; business_id: string; name: string; description: string; }[]; limit: number; score: number; }; messages: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: { role: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; content: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; }; }; properties: any; }; }; }; next_nodes: any[]; input: any; output: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: { use_tools: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: { type: string; key: string; sort: number; title: string; description: string; required: any[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: { tool_name: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; success: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; error_message: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; arguments: { type: string; key: string; sort: number; title: string; description: string; required: any[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; call_result: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; elapsed_time: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; }; }; properties: any; }; text: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; }; }; }; }; system_output: any; }; }; "15": { v0: { node_id: string; debug: boolean; name: string; description: string; node_type: number; meta: any[]; params: { tool_id: string; mode: string; custom_system_input: { widget: any; form: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: any; description: any; required: any[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; }; }; async: boolean; model: string; model_config: { auto_memory: boolean; max_record: number; temperature: number; }; user_prompt: { id: string; version: string; type: string; structure: { type: string; const_value: any; expression_value: any; }; }; }; next_nodes: any[]; input: { widget: any; form: any; }; output: any; system_output: any; }; }; }; export declare const nodeSchemaMap: { "1": { schema: { label: string; icon: React.JSX.Element; color: string; id: customNodeType; desc: string; handle: { withSourceHandle: boolean; withTargetHandle: boolean; }; changeable: { nodeType: boolean; }; style: { width: string; }; }; component: () => React.JSX.Element; }; "11": { schema: { label: string; icon: React.JSX.Element; color: string; id: customNodeType; desc: string; handle: { withSourceHandle: boolean; withTargetHandle: boolean; }; style: { width: string; }; }; component: () => React.JSX.Element; }; }; export default nodeSchemaMap;