import { type PromVisualQuery } from './types'; /** * Parses a PromQL query into a visual query model. * * It traverses the tree and uses sort of state machine to update the query model. * The query model is modified during the traversal and sent to each handler as context. */ export declare function buildVisualQueryFromString(expr: string): Omit; interface ParsingError { text: string; from?: number; to?: number; parentType?: string; } interface Context { query: PromVisualQuery; errors: ParsingError[]; replacements?: Record; } export {};