import { PromptTemplate } from '@langchain/core/prompts'; import { LangGraphRunnableConfig } from '@langchain/langgraph'; import { IGraphNode } from '../../../graphs'; import { LLMProvider } from '../../../types'; import { DbQueryState } from '../state'; export declare class ClassifyChangeNode implements IGraphNode { private readonly llm; prompt: PromptTemplate\nYou are given the original description of a SQL query and a new description that includes user feedback.\nYour task is to classify the level of change required to transform the original query into the new one.\n\nClassify as one of:\n- **minor**: Small tweaks such as changing a filter value, adjusting a limit, adding/removing a single condition, or renaming an alias.\n- **major**: Structural changes like adding/removing joins, changing grouping logic, adding subqueries, or significantly altering the WHERE clause.\n- **rewrite**: The intent of the query has fundamentally changed, requiring a completely new query from scratch.\n\n\n\n{originalDescription}\n\n\n\n{newDescription}\n\n\n\nReturn ONLY one of: minor, major, rewrite\nDo not include any other text, explanation, or formatting.\n">, any>; constructor(llm: LLMProvider); execute(state: DbQueryState, config: LangGraphRunnableConfig): Promise; private parseChangeType; }