import type { Tree } from '@lezer/common'; import type { FilterFieldStatementTokenType, FilterFieldTree, FilterFieldValueNode } from '../../types/tree-nodes.js'; /** * Get the current token and token type for the given cursor position. * @internal */ export declare function getCurrentToken({ tree, convertedTree, cursorPosition, doc, }: { tree: Tree; convertedTree: FilterFieldTree; cursorPosition: number; doc: string; }): { currentToken: FilterFieldValueNode; currentTokenType?: FilterFieldStatementTokenType; };