import lsp from 'vscode-languageserver'; import type { CstNode } from 'chevrotain'; import type { SymbolTable } from '../java/symbol-table.js'; export declare const SEMANTIC_TOKEN_TYPES: readonly ["namespace", "type", "class", "enum", "interface", "struct", "typeParameter", "parameter", "variable", "property", "enumMember", "function", "method", "keyword", "modifier", "comment", "string", "number", "operator", "decorator"]; export declare const SEMANTIC_TOKEN_MODIFIERS: readonly ["declaration", "definition", "readonly", "static", "deprecated", "abstract", "async", "modification", "documentation", "defaultLibrary"]; export declare function getSemanticTokensLegend(): lsp.SemanticTokensLegend; /** * Compute semantic tokens for a parsed Java file. * When a SymbolTable is provided, identifiers are classified contextually. */ export declare function computeSemanticTokens(cst: CstNode, table?: SymbolTable): lsp.SemanticTokens; //# sourceMappingURL=semantic-tokens.d.ts.map