export declare const LIST_SUBSCRIPTIONS = "\n  SELECT * FROM lt_agent_subscriptions\n  WHERE agent_id = $1\n  ORDER BY created_at\n";
export declare const GET_SUBSCRIPTION = "\n  SELECT * FROM lt_agent_subscriptions WHERE id = $1\n";
export declare const INSERT_SUBSCRIPTION = "\n  INSERT INTO lt_agent_subscriptions\n    (agent_id, topic, filter, reaction_type, workflow_type, pipeline_id, mcp_prompt,\n     input_mapping, execute_as, enabled, server_id, tool_name)\n  VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)\n  RETURNING *\n";
export declare const UPDATE_SUBSCRIPTION = "\n  UPDATE lt_agent_subscriptions SET\n    topic = COALESCE($2, topic),\n    filter = COALESCE($3, filter),\n    reaction_type = COALESCE($4, reaction_type),\n    workflow_type = COALESCE($5, workflow_type),\n    pipeline_id = COALESCE($6, pipeline_id),\n    mcp_prompt = COALESCE($7, mcp_prompt),\n    input_mapping = COALESCE($8, input_mapping),\n    execute_as = COALESCE($9, execute_as),\n    enabled = COALESCE($10, enabled),\n    server_id = COALESCE($11, server_id),\n    tool_name = COALESCE($12, tool_name)\n  WHERE id = $1\n  RETURNING *\n";
export declare const DELETE_SUBSCRIPTION = "\n  DELETE FROM lt_agent_subscriptions WHERE id = $1\n";
export declare const SEED_SUBSCRIPTION = "\n  INSERT INTO lt_agent_subscriptions\n    (agent_id, topic, filter, reaction_type, workflow_type, pipeline_id, mcp_prompt,\n     input_mapping, execute_as, enabled, server_id, tool_name)\n  VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, true, $10, $11)\n  ON CONFLICT (agent_id, topic) DO NOTHING\n";
export declare const LIST_ACTIVE_SUBSCRIPTIONS = "\n  SELECT s.*, a.id AS agent_name, a.user_id AS agent_user_id\n  FROM lt_agent_subscriptions s\n  JOIN lt_agents a ON s.agent_id = a.id\n  WHERE s.enabled = true AND a.status = 'active'\n  ORDER BY s.created_at\n";
