export type TreeSitterLanguageName = 'bash' | 'c' | 'cpp' | 'c_sharp' | 'css' | 'go' | 'html' | 'java' | 'javascript' | 'json' | 'kotlin' | 'powershell' | 'python' | 'ruby' | 'rust' | 'scala' | 'typescript' | 'tsx' | 'vue' | 'json' | 'yaml'; export interface TreeSitterLanguageInfo { /** Grammar name */ name: TreeSitterLanguageName; /** Associated extensions */ extensions: string[]; /** * The expected location of the WASM binary. Each target platform (node, * browser) should transform this value as needed. The values provided here * are relative to the root of the repository. */ wasmPath: string; /** * The location of where the tree-sitter CLI will build the WASM file. * See "build_tree_sitter_wasm.ts" script. */ nodeModulesPath?: string; } /*! * The GitLab Language Server (@gitlab-org/gitlab-lsp) project includes the following binary distributions of tree-sitter grammars: * * tree-sitter-go.wasm: * Copyright (c) 2014 Max Brunsfeld * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-go/blob/master/LICENSE * tree-sitter-java.wasm: * Copyright (c) 2017 Ayman Nadeem * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-java/blob/master/LICENSE * tree-sitter-javascript.wasm: * Copyright (c) 2014 Max Brunsfeld * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-javascript/blob/master/LICENSE * tree-sitter-python.wasm: * Copyright (c) 2016 Max Brunsfeld * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-python/blob/master/LICENSE * tree-sitter-ruby.wasm: * Copyright (c) 2016 Rob Rix * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-ruby/blob/master/LICENSE * tree-sitter-typescript: * Copyright (c) 2017 GitHub * Licensed under The MIT License (MIT) - https://github.com/tree-sitter/tree-sitter-typescript/blob/master/LICENSE * tree-sitter-kotlin.wasm: * Copyright (c) 2019 fwcd * Licensed under The MIT License (MIT) - https://github.com/fwcd/tree-sitter-kotlin/blob/master/LICENSE * tree-sitter-rust.wasm: * Copyright (c) 2019 fwcd * Licensed under The MIT License (MIT) - https://github.com/hydro-project/rust-sitter/blob/master/LICENSE * tree-sitter-vue.wasm: * Copyright (c) 2019 Ika * Licensed under The MIT License (MIT) -https://github.com/tree-sitter-grammars/tree-sitter-vue/blob/fork/LICENSE * tree-sitter-yaml.wasm: * Copyright (c) 2019 Ika * Licensed under The MIT License (MIT) - https://github.com/ikatyang/tree-sitter-yaml/blob/master/LICENSE */ export declare const COMMON_TREE_SITTER_LANGUAGES: ({ name: "c"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "cpp"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "c_sharp"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "css"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "go"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "java"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "javascript"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "python"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "ruby"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "scala"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "typescript"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "tsx"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "kotlin"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "powershell"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "rust"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "yaml"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "html"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "bash"; extensions: string[]; wasmPath: string; nodeModulesPath: string; } | { name: "json"; extensions: string[]; wasmPath: string; nodeModulesPath: string; })[];