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 BarVisualizer implements IVisualizer { private readonly llm; name: string; description: string; renderPrompt: PromptTemplate\nYou are an expert data visualization assistant. Your task is to create a bar 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 category column (x-axis) and value column (y-axis) for the bar chart.\n3. Create a configuration object for the bar chart using the identified columns.\n4. Return the bar chart configuration object.\n\n\n\n{sql}\n\n\n{description}\n\n\n{userPrompt}\n\n">, any>; context?: string | undefined; schema: z.AnyZodObject; constructor(llm: LLMProvider); getConfig(state: VisualizationGraphState): Promise; }