src/vs/editor/standalone/browser/standaloneLanguages.ts/registerDeclarationProvider
export function registerDeclarationProvider(languageId: string, provider: modes.DeclarationProvider): IDisposable {
	return modes.DeclarationProviderRegistry.register(languageId, provider);
}