import type { ConfigurationOptions } from '../components/Config/types.ts'; import type { ScopeName } from '../grammars/index.ts'; /** * Attempts to load a grammar for a given scope name. * * If the default loader is not found, but the language is configured, * the grammar will be loaded from the `tm-grammars` package. */ export declare function getGrammar(scopeName: ScopeName, languages?: ConfigurationOptions['languages']): Promise;