import { ChatFlow } from '../../database/entities/ChatFlow'; import { IMcpServerConfig } from '../../Interface'; /** * Parse the mcpServerConfig JSON string from a ChatFlow entity */ declare function parseMcpConfig(chatflow: ChatFlow): IMcpServerConfig | null; declare const _default: { getMcpServerConfig: (chatflowId: string, workspaceId: string) => Promise; createMcpServerConfig: (chatflowId: string, workspaceId: string, body: { description: string; toolName: string; }) => Promise; updateMcpServerConfig: (chatflowId: string, workspaceId: string, body: { description?: string; toolName?: string; enabled?: boolean; }) => Promise; deleteMcpServerConfig: (chatflowId: string, workspaceId: string) => Promise; refreshMcpToken: (chatflowId: string, workspaceId: string) => Promise; getChatflowByIdAndVerifyToken: (chatflowId: string, token: string) => Promise; parseMcpConfig: typeof parseMcpConfig; }; export default _default;