import { PromptTemplate } from '@langchain/core/prompts'; import { IVisualizer } from '../types'; import { LLMProvider } from '../../../types'; import { AnyObject } from '@loopback/repository'; import { VisualizationGraphState } from '../state'; import z from 'zod'; export declare class LineVisualizer implements IVisualizer { private readonly llm; name: string; context?: string | undefined; description: string; renderPrompt: PromptTemplate\nYou are an expert data visualization assistant. Your task is to create a line chart config based on the provided SQL query, it's description and user prompt. Follow these steps:\n1. Analyze the SQL query results to understand the data structure.\n2. Identify the x-axis column (typically time or sequential data) and y-axis column (values) for the line chart.\n3. Determine if there are multiple series to be plotted (multiple lines) with combination of multiple columns, or single series based on single column.\n4. Create a configuration object for the line chart using the identified columns.\n5. Return the line chart configuration object.\n\n\n\n{sql}\n\n\n{description}\n\n\n{userPrompt}\n\n">, any>; schema: z.AnyZodObject; constructor(llm: LLMProvider); getConfig(state: VisualizationGraphState): Promise; }