import { PromptTemplate } from '@langchain/core/prompts'; import { LangGraphRunnableConfig } from '@langchain/langgraph'; import { IGraphNode } from '../../../graphs'; import { LLMProvider } from '../../../types'; import { DbSchemaHelperService } from '../services'; import { DbQueryState } from '../state'; import { DbQueryConfig } from '../types'; export declare class GenerateDescriptionNode implements IGraphNode { private readonly llm; private readonly config; private readonly schemaHelper; private readonly checks?; constructor(llm: LLMProvider, config: DbQueryConfig, schemaHelper: DbSchemaHelperService, checks?: string[] | undefined); prompt: PromptTemplate\nYou are an AI assistant that describes what a SQL query does in plain english.\nAnalyze the actual query below and write a concise, bulleted summary of the data it retrieves and any filters/conditions it applies.\nWrite in plain english. No SQL, no technical jargon, no table/column names.\n\n\n\n{prompt}\n\n\n\n{sql}\n\n\n\n{schema}\n\n\n{checks}\n\n\nReturn a short bulleted list where each bullet is one condition, filter, or piece of data the query retrieves.\n- Use plain, non-technical language a business user would understand.\n- Do NOT mention tables, columns, joins, CTEs, enums, or any DB concepts.\n- Keep each bullet to one line.\n- Do not add any preamble, heading, or closing text — just the bullets.\n">, any>; execute(state: DbQueryState, config: LangGraphRunnableConfig): Promise; }