import type { LSPServerConfig, RootFunction } from './types'; export declare const SYMBOL_KIND_MAP: Record; export declare const SEVERITY_MAP: Record; export declare const DEFAULT_MAX_REFERENCES = 200; export declare const DEFAULT_MAX_DIAGNOSTICS = 200; /** * NearestRoot helper - mirrors OpenCode core's NearestRoot function. * Creates a RootFunction that walks up directories looking for root markers. */ export declare function NearestRoot(includePatterns: string[], excludePatterns?: string[]): RootFunction; /** * Built-in LSP servers - mirrors OpenCode core LSPServer namespace. * User configuration from opencode.json lsp section takes precedence and is * merged on top of these: user settings override command/extensions/env, while * root patterns are always preserved from built-in. Servers can be removed by * setting `"disabled": true` in the user config. */ export declare const BUILTIN_SERVERS: Record>; export declare const LSP_INSTALL_HINTS: Record; /** * Maps file extensions to LSP language IDs. * Mirrors OpenCode core's LANGUAGE_EXTENSIONS constant. */ export declare const LANGUAGE_EXTENSIONS: Record;