import { Token } from './types'; /** * Forgiving tokenizer for LogQL. * * - Recognises `${name}` as `Variable`; a stray `$` becomes `Dollar` so the * completion provider can surface variables before the user finishes typing. * - Tracks bracket nesting so a `|` inside `(...)`, `[...]`, `"..."` or `${...}` * does NOT become a top-level pipe; this lets us split search / analyze segments * reliably. * - Never throws: invalid characters yield `Error` tokens. */ export declare function tokenize(input: string): Token[]; /** Convenience: tokens without whitespace; preserves original `start/end`. */ export declare function nonWhitespace(tokens: Token[]): Token[];